aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorKumar, Mahesh <mahesh1.kumar@intel.com>2017-08-17 09:45:26 -0400
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-09-07 07:34:33 -0400
commitd86ba628ce4bfd83c987e4dab9d917cbb3622854 (patch)
tree8d68b86189abda5e47e66fcade9de099a03966ac /drivers/gpu/drm/i915/intel_pm.c
parent446e850c38d9092688df3f1e5d610f3bff2a4152 (diff)
drm/i915/cnl: Extend WM workaround with IPC for CNL
CNL:A & CNL:B have same workaround as KBL to increase wm level latency by 4us if IPC is enabled. Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170817134529.2839-6-mahesh1.kumar@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 629ad54e2797..f2911de69ea9 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -4492,7 +4492,8 @@ static int skl_compute_plane_wm(const struct drm_i915_private *dev_priv,
4492 } 4492 }
4493 4493
4494 /* Display WA #1141: kbl,cfl */ 4494 /* Display WA #1141: kbl,cfl */
4495 if ((IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv)) && 4495 if ((IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv) ||
4496 IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_B0)) &&
4496 dev_priv->ipc_enabled) 4497 dev_priv->ipc_enabled)
4497 latency += 4; 4498 latency += 4;
4498 4499