Skip to content

Commit

Permalink
drm/i915: Drop WaIncreaseLatencyIPCEnabled/1140 for cnl
Browse files Browse the repository at this point in the history
Drop WaIncreaseLatencyIPCEnabled/Display w/a torvalds#1140 for
early cnl steppings. Also switch the kbl/cfl case to check
for IS_GEN9_BC() for brevity. It ends up being the same thing
because IPC is disabled on SKL due to w/a torvalds#477.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
  • Loading branch information
vsyrjala authored and intel-lab-lkp committed Jan 31, 2019
1 parent a5cfc03 commit 0f2824b
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 @@ -4696,9 +4696,7 @@ static void skl_compute_plane_wm(const struct intel_crtc_state *cstate,
* WaIncreaseLatencyIPCEnabled: kbl,cfl
* Display WA #1141: kbl,cfl
*/
if ((IS_KABYLAKE(dev_priv) || IS_COFFEELAKE(dev_priv) ||
IS_CNL_REVID(dev_priv, CNL_REVID_A0, CNL_REVID_B0)) &&
dev_priv->ipc_enabled)
if (IS_GEN9_BC(dev_priv) && dev_priv->ipc_enabled)
latency += 4;

if (skl_needs_memory_bw_wa(dev_priv) && wp->x_tiled)
Expand Down

0 comments on commit 0f2824b

Please sign in to comment.