drm/i915/gt: Always flush the submission queue on checking for idle
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Feb 2021 17:43:57 +0000 (17:43 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 18:31:59 +0000 (19:31 +0100)
commit2da21daa7d93817fa82f703c29adfcb5eed7f77d
treebbb48e3b016b157a969e138ec6b572bfcb274c18
parent985458d706bd86c16234bfc155535da2a64a9dde
drm/i915/gt: Always flush the submission queue on checking for idle

We check for idle during debug prints and other debugging actions.
Simplify the flow by not touching execlists state.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210205174358.28465-1-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gt/intel_engine_cs.c