drm/i915: Check the execlist queue for pending requests before declaring idle
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jul 2017 12:32:24 +0000 (13:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:45 +0000 (09:38 +0200)
commitd6edb6e3b63faae5cd96993e0977d3807bd87be6
tree10c4a514747b997474310475be2c1ae08c0ca948
parent5cce5e31a7295a3365813bafd59bae7fa049f6c0
drm/i915: Check the execlist queue for pending requests before declaring idle

Including a check against the execlist queue before calling the engine
idle and passing hangcheck.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170721123238.16428-6-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_engine_cs.c