drm/i915: fix lookup_power_well for power wells without any domain
authorImre Deak <imre.deak@intel.com>
Wed, 4 Nov 2015 17:24:11 +0000 (19:24 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 17 Nov 2015 17:45:58 +0000 (19:45 +0200)
commitfc17f2274ebe4ef9d7e4a777af8b685f1dd1d584
tree593ad9291b4fc941f4aa62d7a36dc69ad6b307dd
parent56fcfd6333a8dddaf3a996c89a491ed4e814e5e8
drm/i915: fix lookup_power_well for power wells without any domain

The current lookup code wouldn't find a power well if it's not in any
power domain. There wasn't any power wells before but an upcoming patch
will detach the power domains from power well#1 and the MISC IO power
wells, so fix things up accordingly.

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/1446657859-9598-3-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c