diff options
-rw-r--r-- | drivers/gpu/drm/i915/i915_sw_fence_work.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_sw_fence_work.c b/drivers/gpu/drm/i915/i915_sw_fence_work.c index d2e56b387993..be114acb7dc6 100644 --- a/drivers/gpu/drm/i915/i915_sw_fence_work.c +++ b/drivers/gpu/drm/i915/i915_sw_fence_work.c @@ -16,10 +16,14 @@ static void fence_complete(struct dma_fence_work *f) static void fence_work(struct work_struct *work) { struct dma_fence_work *f = container_of(work, typeof(*f), work); + bool fence_cookie; + + fence_cookie = dma_fence_begin_signalling(); f->ops->work(f); fence_complete(f); + dma_fence_end_signalling(fence_cookie); dma_fence_put(&f->dma); } |