]> 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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 13 Feb 2018 07:35:03 +0000 (23:35 -0800)
commit6862d7d2726e28b7a9162eb22c93fe930bf52a90
treeb52c25fd68f0822e40029b3d014f7550850b9c3e
parent0c187d151e80531d32bcba76f28c36501917e1a6
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: e3243b59f2f2 ("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
(cherry picked from commit 74d00d28a15c8452f65de0a9477b52d95639cc63)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_engine_cs.c