aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMahesh Kumar <[email protected]>2018-08-24 15:02:24 +0530
committerRodrigo Vivi <[email protected]>2018-09-13 14:33:03 -0700
commitf361912aa9bfefbdf875b185fc93f2454d917b4a (patch)
tree8b8b95387faeda2c088fe58eb5cbc52171ca5710
parent86b592876cb6b277e5cb3c988fc5f748fdafa16f (diff)
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: Mahesh Kumar <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 09463e3d7948..ac8177032faf 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -6118,10 +6118,8 @@ void intel_enable_ipc(struct drm_i915_private *dev_priv)
u32 val;
/* Display WA #0477 WaDisableIPC: skl */
- if (IS_SKYLAKE(dev_priv)) {
+ if (IS_SKYLAKE(dev_priv))
dev_priv->ipc_enabled = false;
- return;
- }
val = I915_READ(DISP_ARB_CTL2);