Skip to content

Commit f7e3885

Browse files
juhapekkajlahtine-intel
authored andcommitted
drm/i915/display: Fix BMG CCS modifiers
Let I915_FORMAT_MOD_4_TILED_BMG_CCS show up as supported modifier Fixes: 97c6efb ("drm/i915/display: Plane capability for 64k phys alignment") Signed-off-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maarten Lankhorst,,, <[email protected]> (cherry picked from commit c4d37c5) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent 741d73f commit f7e3885

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/i915/display/skl_universal_plane.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2453,6 +2453,9 @@ static u8 skl_get_plane_caps(struct drm_i915_private *i915,
24532453
if (gen12_plane_has_mc_ccs(i915, plane_id))
24542454
caps |= INTEL_PLANE_CAP_CCS_MC;
24552455

2456+
if (DISPLAY_VER(i915) >= 14 && IS_DGFX(i915))
2457+
caps |= INTEL_PLANE_CAP_NEED64K_PHYS;
2458+
24562459
return caps;
24572460
}
24582461

0 commit comments

Comments
 (0)