drm/i915: Only signal from interrupt when requested
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 27 Jun 2018 20:13:04 +0000 (21:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Jun 2018 19:56:35 +0000 (20:56 +0100)
commite3be4079ea91c8b7bcb97cf44889ec5663c55fb4
tree2d3a704eda86bec44d06f9f7ee0179e4dc5740d4
parent78796877c37cb2c3898c4bcd2a12238d83858287
drm/i915: Only signal from interrupt when requested

Avoid calling dma_fence_signal() from inside the interrupt if we haven't
enabled signaling on the request.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180627201304.15817-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/intel_ringbuffer.h