drm/i915/execlists: Flush pending preemption events during reset
authorChris Wilson <[email protected]>
Wed, 16 May 2018 18:33:54 +0000 (19:33 +0100)
committerChris Wilson <[email protected]>
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 <[email protected]>
Cc: MichaƂ Winiarski <[email protected]>
CC: Michel Thierry <[email protected]>
Cc: Jeff McGee <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_lrc.c