Skip to content
Snippets Groups Projects
Commit 421abe20 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Rodrigo Vivi
Browse files

drm/i915: Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled


In commit 5a7d202b, a logical AND was erroneously changed to an OR,
causing WaIncreaseLatencyIPCEnabled to be enabled unconditionally for
kabylake and coffeelake, even when IPC is disabled. Fix the logic so
that WaIncreaseLatencyIPCEnabled is only used when IPC is enabled.

Fixes: 5a7d202b ("drm/i915: Drop WaIncreaseLatencyIPCEnabled/1140 for cnl")
Cc: stable@vger.kernel.org # 5.3.x+
Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200430214654.51314-1-sultan@kerneltoast.com


(cherry picked from commit 690d22da)
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent fe5a7082
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment