]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't wake the device up to check if the engine is asleep
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 12 Feb 2018 09:39:28 +0000 (09:39 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 12 Feb 2018 10:59:01 +0000 (10:59 +0000)
commit85bb533a49054bf4d7289f9a9c0d32096d71e535
treec62b04e9873b34c1e93bc72a07e2091f467a1ff8
parent6a87ca9050888973b0cd41ba225a3a149f6f7214
drm/i915: Don't wake the device up to check if the engine is asleep

If the entire device is powered off, we can safely assume that the
engine is also asleep (and idle).

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: 935f8900f4a7 ("drm/i915: Hold a wakeref for probing the ring registers")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180212093928.6005-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_engine_cs.c