summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_syncobj.c
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2018-08-30 09:48:27 +0300
committerChristian König <easy2remember.chk@googlemail.com>2018-09-06 12:08:53 +0300
commit94e4c5305a9b5a939bfba08039c1b383af7e453b (patch)
treeb8e31c2600e66a645f1819375172231dd4923e8d /drivers/gpu/drm/drm_syncobj.c
parent70109354fed232dfce8fb2c7cadf635acbe03e19 (diff)
downloadlinux-94e4c5305a9b5a939bfba08039c1b383af7e453b.tar.xz
drm: fix syncobj null_fence_enable_signaling
That is certainly totally nonsense. dma_fence_enable_sw_signaling() is the function who is calling this callback. Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Cc: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Christian König <christian.koenig@amd.com> Acked-by: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/246535/
Diffstat (limited to 'drivers/gpu/drm/drm_syncobj.c')
-rw-r--r--drivers/gpu/drm/drm_syncobj.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c
index 3a8837c49639..d17ed75ac7e2 100644
--- a/drivers/gpu/drm/drm_syncobj.c
+++ b/drivers/gpu/drm/drm_syncobj.c
@@ -184,7 +184,6 @@ static const char *drm_syncobj_null_fence_get_name(struct dma_fence *fence)
static bool drm_syncobj_null_fence_enable_signaling(struct dma_fence *fence)
{
- dma_fence_enable_sw_signaling(fence);
return !dma_fence_is_signaled(fence);
}