Skip to content

Commit

Permalink
drm/i915/skl+: don't trust IPC value set by BIOS
Browse files Browse the repository at this point in the history
If KMS decide to disable IPC make sure we override IPC configuration set
by BIOS.

Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180824093225.12598-5-mahesh1.kumar@intel.com
  • Loading branch information
Mahesh Kumar authored and Rodrigo Vivi committed Sep 13, 2018
1 parent 86b5928 commit f361912
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/gpu/drm/i915/intel_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f361912

Please sign in to comment.