]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Disable DC states around GMBUS on GLK
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 8 Dec 2017 21:37:36 +0000 (23:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 Dec 2017 12:22:48 +0000 (14:22 +0200)
Prevent the DMC from destroying GMBUS transfers on GLK. GMBUS
lives in PG1 so DC off is all we need.

Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171208213739.16388-1-ville.syrjala@linux.intel.com
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
drivers/gpu/drm/i915/intel_runtime_pm.c

index 96ab74f3d101c1b3673324704d4fed6b2ef09c2a..522e0a63090f8a470227d43cf17e63c5703f8abc 100644 (file)
@@ -1792,6 +1792,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,
        BIT_ULL(POWER_DOMAIN_GT_IRQ) |                  \
        BIT_ULL(POWER_DOMAIN_MODESET) |                 \
        BIT_ULL(POWER_DOMAIN_AUX_A) |                   \
+       BIT_ULL(POWER_DOMAIN_GMBUS) |                   \
        BIT_ULL(POWER_DOMAIN_INIT))
 
 #define CNL_DISPLAY_POWERWELL_2_POWER_DOMAINS (                \