Skip to contentSkip to conversation

linux-next: build failure after merge of the drm-misc tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 6, 2018 – Dec 7, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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.

Am 06.12.18 um 03:32 schrieb Stephen Rothwell:

Quoted 16 lines

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

Quoted 8 lines

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.

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx