drm/i915: Disable DC states around GMBUS on GLK
authorVille Syrjälä <[email protected]>
Fri, 8 Dec 2017 21:37:36 +0000 (23:37 +0200)
committerJani Nikula <[email protected]>
Tue, 2 Jan 2018 11:45:06 +0000 (13:45 +0200)
Prevent the DMC from destroying GMBUS transfers on GLK. GMBUS
lives in PG1 so DC off is all we need.

Cc: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Dhinakaran Pandiyan <[email protected]>
(cherry picked from commit 156961ae7bdf6feb72778e8da83d321b273343fd)
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/intel_runtime_pm.c

index 8af286c63d3b6e9bd8e55b78f6de2fd814eaaf06..9bf46ab211cb7416801283975eb5570f10376600 100644 (file)
@@ -1786,6 +1786,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,
        GLK_DISPLAY_POWERWELL_2_POWER_DOMAINS |         \
        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 (                \