[Intel-gfx] [PATCH] drm/i915: Add comments for WaKeepPG1ActiveDueToDMCIssue

Mika Kuoppala mika.kuoppala at linux.intel.com
Mon Aug 14 10:41:54 UTC 2017


skl,kbl and cnl need to keep pg1 active unconditionally. We
already do this but the workaround name was missing, add it.

Cc: Imre Deak <imre.deak at intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>
---
 drivers/gpu/drm/i915/intel_runtime_pm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c
index e77e84a6fd2f..bc5bd86d663f 100644
--- a/drivers/gpu/drm/i915/intel_runtime_pm.c
+++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
@@ -2566,6 +2566,7 @@ static void skl_display_core_init(struct drm_i915_private *dev_priv,
 	mutex_lock(&power_domains->lock);
 
 	well = lookup_power_well(dev_priv, SKL_DISP_PW_1);
+	/* WaKeepPG1ActiveDueToDMCIssue:skl,kbl */
 	intel_power_well_enable(dev_priv, well);
 
 	well = lookup_power_well(dev_priv, SKL_DISP_PW_MISC_IO);
@@ -2741,6 +2742,7 @@ static void cnl_display_core_init(struct drm_i915_private *dev_priv, bool resume
 	 */
 	mutex_lock(&power_domains->lock);
 	well = lookup_power_well(dev_priv, SKL_DISP_PW_1);
+	/* WaKeepPG1ActiveDueToDMCIssue:cnl */
 	intel_power_well_enable(dev_priv, well);
 	mutex_unlock(&power_domains->lock);
 
-- 
2.11.0



More information about the Intel-gfx mailing list