]> Git Repo - linux.git/commitdiff
drm/i915/mtl: Add support of Tile4 to MTL
authorStanislav Lisovskiy <[email protected]>
Tue, 20 Dec 2022 16:29:26 +0000 (18:29 +0200)
committerStanislav Lisovskiy <[email protected]>
Fri, 23 Dec 2022 14:15:55 +0000 (16:15 +0200)
We have some Tile4 tests now skipping, which were
supposed to be working. So lets make them work, by
adding display_ver 14 as supported.

v2: - Remove "14" for Tile 4 CCS formats, as they
      seem to be not supported by MTL(Juha-Pekka Heikkila)
    - For generic Tile 4, the opposite - lets use -1
      in order to make sure all the next gens support it by
      default(Juha-Pekka Heikkila)

Signed-off-by: Stanislav Lisovskiy <[email protected]>
Reviewed-by: Juha-Pekka Heikkila <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/display/intel_fb.c

index 63137ae5ab21779c862b8ec1c527b605da3925fc..93d0e46e54813e5f0db585813f1d90ec15841285 100644 (file)
@@ -174,7 +174,7 @@ static const struct intel_modifier_desc intel_modifiers[] = {
                .plane_caps = INTEL_PLANE_CAP_TILING_4 | INTEL_PLANE_CAP_CCS_RC,
        }, {
                .modifier = I915_FORMAT_MOD_4_TILED,
-               .display_ver = { 13, 13 },
+               .display_ver = { 13, -1 },
                .plane_caps = INTEL_PLANE_CAP_TILING_4,
        }, {
                .modifier = I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS,
This page took 0.065709 seconds and 4 git commands to generate.