Commit f361912a authored by Mahesh Kumar's avatar Mahesh Kumar Committed by Rodrigo Vivi

drm/i915/skl+: don't trust IPC value set by BIOS

If KMS decide to disable IPC make sure we override IPC configuration set
by BIOS.
Signed-off-by: default avatarMahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180824093225.12598-5-mahesh1.kumar@intel.com
parent 86b59287
...@@ -6118,10 +6118,8 @@ void intel_enable_ipc(struct drm_i915_private *dev_priv) ...@@ -6118,10 +6118,8 @@ void intel_enable_ipc(struct drm_i915_private *dev_priv)
u32 val; u32 val;
/* Display WA #0477 WaDisableIPC: skl */ /* Display WA #0477 WaDisableIPC: skl */
if (IS_SKYLAKE(dev_priv)) { if (IS_SKYLAKE(dev_priv))
dev_priv->ipc_enabled = false; dev_priv->ipc_enabled = false;
return;
}
val = I915_READ(DISP_ARB_CTL2); val = I915_READ(DISP_ARB_CTL2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment