]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/i915/kbl: Reset secondary power well requests left on by DMC/KVMR
authorImre Deak <imre.deak@intel.com>
Fri, 15 Apr 2016 19:32:58 +0000 (22:32 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 18 Apr 2016 17:16:36 +0000 (20:16 +0300)
The workaround added in
commit c6782b76d31a ("drm/i915/gen9: Reset secondary power well
requests left on by DMC/KVMR")
needs to be applied on Kabylake too as shown by the corresponding
timeout errors about power well 1 and MISC IO power well disabling in
the latest CI run.

CC: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
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/1460748778-4484-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c

index 259f66f94854701e4d418e94567775a960044afe..1242fb5d3301b1a82e16b602acab1f2156c6c2a0 100644 (file)
@@ -709,7 +709,7 @@ static void skl_set_power_well(struct drm_i915_private *dev_priv,
                        DRM_DEBUG_KMS("Disabling %s\n", power_well->name);
                }
 
-               if (IS_SKYLAKE(dev_priv) || IS_BROXTON(dev_priv))
+               if (IS_GEN9(dev_priv))
                        gen9_sanitize_power_well_requests(dev_priv, power_well);
        }