drm/i915: fix the power well ID for always on wells
authorImre Deak <imre.deak@intel.com>
Wed, 4 Nov 2015 17:24:10 +0000 (19:24 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 17 Nov 2015 17:38:55 +0000 (19:38 +0200)
commit56fcfd6333a8dddaf3a996c89a491ed4e814e5e8
treeac5a9060a03c4171c2e04048a201d03246ccd1bc
parente64e6bd0f46c78b53b236474f59bd1290b834c89
drm/i915: fix the power well ID for always on wells

lookup_power_well() expects uniq power well IDs, but atm we have
uninitialized IDs which would clash with those power wells with a 0
ID. This wasn't a problem so far since nothing looked up such a power
well, but an upcoming patch will (Misc IO for SKL), so fix this up on
platforms where this matters.

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