]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/bxt, glk: Fix assert on conditions for DC9 enabling
authorImre Deak <imre.deak@intel.com>
Thu, 29 Jun 2017 15:37:00 +0000 (18:37 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 6 Jul 2017 13:29:25 +0000 (16:29 +0300)
commitda0eb1876a16a8a023041d09799829f573e4a66f
treecba164730e6d56816a6c805d3854ae3392f099e4
parent6c235e8d7523c5803984bec1e77859a8ea60635f
drm/i915/bxt, glk: Fix assert on conditions for DC9 enabling

What we want to assert based on the conditions required by Bspec is that
power well 2 is disabled, so no need to check for other power wells.
In addition we can only check if the driver's request is removed, the
actual state depends on whether the other request bits are set or not
(BIOS, KVMR, DEBUG). So check only the driver's request bit.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1498750622-14023-4-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c