Skip to content
Snippets Groups Projects
Commit a53abeb7 authored by Nanley Chery's avatar Nanley Chery Committed by Marge Bot
Browse files

intel/isl: Add a score for I915_FORMAT_MOD_4_TILED


Enables the modifier in anv.

Cc: 22.1 <mesa-stable>
Reviewed-by: default avatarJordan Justen <jordan.l.justen@intel.com>
Part-of: <!14521>
parent ac441d09
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,12 @@ isl_drm_modifier_get_score(const struct intel_device_info *devinfo,
if (devinfo->verx10 >= 125)
return 0;
return 3;
case I915_FORMAT_MOD_4_TILED:
/* Gfx12.5 introduces Tile4. */
if (devinfo->verx10 < 125)
return 0;
return 3;
case I915_FORMAT_MOD_Y_TILED_CCS:
/* Gfx12's CCS layout differs from Gfx9-11. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment