Commit e5dbaa9f authored by Juha-Pekka Heikkila's avatar Juha-Pekka Heikkila Committed by Mika Kahola
Browse files

drm/i915/display: On Xe2 always enable decompression with tile4

parent 449c2d59
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -948,6 +948,11 @@ static u32 skl_plane_ctl(const struct intel_crtc_state *crtc_state,
	if (DISPLAY_VER(dev_priv) == 13)
		plane_ctl |= adlp_plane_ctl_arb_slots(plane_state);

	if (GRAPHICS_VER(dev_priv) >= 20 &&
	    fb->modifier == I915_FORMAT_MOD_4_TILED) {
		plane_ctl |= PLANE_CTL_RENDER_DECOMPRESSION_ENABLE;
	}

	return plane_ctl;
}