drm: fix syncobj null_fence_enable_signaling
authorChunming Zhou <david1.zhou@amd.com>
Thu, 30 Aug 2018 06:48:27 +0000 (14:48 +0800)
committerChristian König <easy2remember.chk@googlemail.com>
Thu, 6 Sep 2018 09:08:53 +0000 (11:08 +0200)
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/
drivers/gpu/drm/drm_syncobj.c

index 3a8837c496398c6a356f67dd521909f9a498f953..d17ed75ac7e2c3b017480b2710934fe44af52fac 100644 (file)
@@ -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);
 }