drm/i915/skl: Make the Misc I/O power well part of the PLLS domain
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 30 Apr 2015 15:39:20 +0000 (16:39 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:03:35 +0000 (13:03 +0200)
The specs tell us to ungate PG1 and Misc I/O at display init. We'll use
the PLLS power domain to ensure those two power wells are up.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_runtime_pm.c

index 64968d4ec62c9c4c01e92f977990bec70bb96277..bd7ad1d2d5f5c08dba7a46dbfbfc2d152a87ed91 100644 (file)
@@ -315,6 +315,7 @@ static void hsw_set_power_well(struct drm_i915_private *dev_priv,
        BIT(POWER_DOMAIN_INIT))
 #define SKL_DISPLAY_MISC_IO_POWER_DOMAINS (            \
        SKL_DISPLAY_POWERWELL_1_POWER_DOMAINS |         \
+       BIT(POWER_DOMAIN_PLLS) |                        \
        BIT(POWER_DOMAIN_INIT))
 #define SKL_DISPLAY_ALWAYS_ON_POWER_DOMAINS (          \
        (POWER_DOMAIN_MASK & ~(SKL_DISPLAY_POWERWELL_1_POWER_DOMAINS |  \