]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled
authorSultan Alsawaf <sultan@kerneltoast.com>
Thu, 30 Apr 2020 21:46:54 +0000 (14:46 -0700)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 May 2020 15:55:41 +0000 (18:55 +0300)
commitbbc80d232a7b9df8425e218bf40fbb88d9f2817e
tree114c0eaf3b948d1130a1afe67b831fcf261610ea
parentaa8fd2589cc0ca2e0ab98c86c5e85a95d7db61cd
drm/i915: Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled

In commit 80d5907556c9, 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: 80d5907556c9 ("drm/i915: Drop WaIncreaseLatencyIPCEnabled/1140 for cnl")
Cc: stable@vger.kernel.org # 5.3.x+
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200430214654.51314-1-sultan@kerneltoast.com
drivers/gpu/drm/i915/intel_pm.c