drm/i915/execlists: Flush pending preemption events during reset
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 May 2018 18:33:54 +0000 (19:33 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 May 2018 19:20:38 +0000 (20:20 +0100)
commit63572937cebf5d229a87fb11b201864f7d0b8171
tree9a8fc31c2d0769289fef9b0cbf78672d4144ffe8
parent73377dbcc754f1e673b60f238c237c5e909f92b1
drm/i915/execlists: Flush pending preemption events during reset

Catch up with the inflight CSB events, after disabling the tasklet
before deciding which request was truly guilty of hanging the GPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
CC: Michel Thierry <michel.thierry@intel.com>
Cc: Jeff McGee <jeff.mcgee@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180516183355.10553-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c