OSDN Git Service

drm/i915: Warn if we hit the timeout for wait-for-idle
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Aug 2018 10:50:59 +0000 (11:50 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Aug 2018 16:08:06 +0000 (17:08 +0100)
commitc1e63f6df3d3e9e4d0da67f6c8aabdfbe592371f
tree69c8dbad74a76053a16fa9ff9e11749b1b4c3074
parent1a260e1117a4ba5c39224fd00adcac78c84411b1
drm/i915: Warn if we hit the timeout for wait-for-idle

Hitting the timeout and finding that all engines are actually idle is
indicative of an interrupt delivery problem. This problem is an issue
that we need to fix, so make sure we log it and provide the GEM trace.

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