[Intel-gfx] [PATCH 4/4] drm/i915: Extend WaDisableIPC to all platforms.
Rodrigo Vivi
rodrigo.vivi at intel.com
Thu Sep 28 18:51:48 UTC 2017
Although Bspec state this Workaround is only relevant for SKL:All.
The wa_database state this is needed for All platforms from SKL to CNL.
So let's pick the safest case.
Cc: Mahesh Kumar <mahesh1.kumar at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
drivers/gpu/drm/i915/intel_pm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index ede871b7982e..27f9d5ab2d23 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -5828,8 +5828,8 @@ void intel_enable_ipc(struct drm_i915_private *dev_priv)
{
u32 val;
- /* Display WA #0477 WaDisableIPC: skl */
- if (IS_SKYLAKE(dev_priv)) {
+ /* Display WA #0477 WaDisableIPC: skl,kbl,bxt,glk,cfl,cnl */
+ if (INTEL_GEN(dev_priv) <= 10) {
dev_priv->ipc_enabled = false;
return;
}
--
2.13.5
More information about the Intel-gfx
mailing list