drm/vgem: Remove unecessary dma_fence_ops
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2018 12:45:44 +0000 (14:45 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 17 Aug 2018 09:22:58 +0000 (11:22 +0200)
commit065e8c8ff0c7948bc6452f88f0acc488be206b5d
tree3fb1721ea2999a54a510a1cde8da39f5e3cf31cd
parent409254281fb0115d448e56c5a81f420cdeeb9209
drm/vgem: Remove unecessary dma_fence_ops

dma_fence_default_wait is the default now, same for the trivial
enable_signaling implementation.

Also remove the ->signaled callback, vgem can't peek ahead with a
fastpath, returning false is the default implementation.

v2: Protect the meaningful space! (Chris)

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Kees Cook <keescook@chromium.org>
Cc: Cihangir Akturk <cakturk@gmail.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180809124544.9250-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/vgem/vgem_fence.c