drm/i915/gen9: Make power well disabling synchronous
authorImre Deak <imre.deak@intel.com>
Fri, 1 Apr 2016 13:02:36 +0000 (16:02 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 15 Apr 2016 11:46:53 +0000 (14:46 +0300)
commit1d963afae1f427c97cbcf22ea905585339951c3b
treeda218401e16f9f9fa70249c2449755e44d5def46
parentc6782b76d31a5ecae8e5da8483fa1811c133458f
drm/i915/gen9: Make power well disabling synchronous

So far we only power well enabling was synchronous not disabling. Since
we don't exactly know how the firmware (both DMC and PCU) synchronizes
against the actual power well state during DC transitions, make the
disabling also synchronous.

CC: Mika Kuoppala <mika.kuoppala@linux.intel.com>
CC: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459515767-29228-6-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c