]> Git Repo - J-linux.git/commitdiff
drm/i915/display: Fix BMG CCS modifiers
authorJuha-Pekka Heikkila <[email protected]>
Mon, 2 Sep 2024 07:40:21 +0000 (10:40 +0300)
committerJoonas Lahtinen <[email protected]>
Wed, 11 Sep 2024 08:00:56 +0000 (11:00 +0300)
Let I915_FORMAT_MOD_4_TILED_BMG_CCS show up as supported modifier

Fixes: 97c6efb36497 ("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 c4d37c54c3739530f8585ccf064fb712913f8375)
Signed-off-by: Joonas Lahtinen <[email protected]>
drivers/gpu/drm/i915/display/skl_universal_plane.c

index 9452cad41d077baea2ee0e0af72b06fd24634e55..17d4c880ecc402a9aca80355c09bc49295c1862a 100644 (file)
@@ -2453,6 +2453,9 @@ static u8 skl_get_plane_caps(struct drm_i915_private *i915,
        if (gen12_plane_has_mc_ccs(i915, plane_id))
                caps |= INTEL_PLANE_CAP_CCS_MC;
 
+       if (DISPLAY_VER(i915) >= 14 && IS_DGFX(i915))
+               caps |= INTEL_PLANE_CAP_NEED64K_PHYS;
+
        return caps;
 }
 
This page took 0.134409 seconds and 4 git commands to generate.