]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Stop dropping irq around resets
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Aug 2018 14:56:47 +0000 (15:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 6 Aug 2018 17:24:10 +0000 (18:24 +0100)
commita6476ebd4350d51146ef0492b4b06bc0d31e8827
tree6c7b7335ea38333af2e440a587f9801324c993a8
parent08e3e21a24d23db6a4adca90f7cb40d69e09d35c
drm/i915: Stop dropping irq around resets

A long time ago, we were afraid of handling interrupts and signaling
waiters during a reset, worrying that the confusion in request handling
would interfere with our attempts to process the reset in an orderly
fashion. Since then, we have isolated our irq-driven request handling by
virtue of the engine->timeline.lock and control of kthreads where
required, eliminating the danger of concurrently processing interrupts.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180806145647.13131-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c