Discussion:
[Intel-gfx] linux-next: build failure after merge of the drm-misc tree
Stephen Rothwell
2018-12-06 02:32:19 UTC
Permalink
Hi all,

After merging the drm-misc tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpu/drm/v3d/v3d_gem.c: In function 'v3d_submit_tfu_ioctl':
drivers/gpu/drm/v3d/v3d_gem.c:719:3: error: too many arguments to function 'drm_syncobj_replace_fence'
drm_syncobj_replace_fence(sync_out, 0, sched_done_fence);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/v3d/v3d_gem.c:5:
include/drm/drm_syncobj.h:134:6: note: declared here
void drm_syncobj_replace_fence(struct drm_syncobj *syncobj,
^~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

0b258ed1a219 ("drm: revert "expand replace_fence to support timeline point v2"")

interacting with commit

1584f16ca96e ("drm/v3d: Add support for submitting jobs to the TFU")

I have used the drm-misc tree from next-20181205 for today.
--
Cheers,
Stephen Rothwell
Koenig, Christian
2018-12-07 12:37:19 UTC
Permalink
Hi Stephen,

yeah, that is a known problem. I missed the change during rebase of the
revert.

Please see patch "2312f9842854 drm/v3d: fix broken build" which is
already in drm-misc-next and fixes the issue.

Christian.
Post by Stephen Rothwell
Hi all,
After merging the drm-misc tree, today's linux-next build (x86_64
drivers/gpu/drm/v3d/v3d_gem.c:719:3: error: too many arguments to function 'drm_syncobj_replace_fence'
drm_syncobj_replace_fence(sync_out, 0, sched_done_fence);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/drm/drm_syncobj.h:134:6: note: declared here
void drm_syncobj_replace_fence(struct drm_syncobj *syncobj,
^~~~~~~~~~~~~~~~~~~~~~~~~
Caused by commit
0b258ed1a219 ("drm: revert "expand replace_fence to support timeline point v2"")
interacting with commit
1584f16ca96e ("drm/v3d: Add support for submitting jobs to the TFU")
I have used the drm-misc tree from next-20181205 for today.
Loading...