intel/isl: Add a score for I915_FORMAT_MOD_4_TILED
Enables the modifier in anv. Cc: 22.1 <mesa-stable> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14521>
This commit is contained in:
parent
ac441d0953
commit
a53abeb7fb
|
@ -159,6 +159,12 @@ isl_drm_modifier_get_score(const struct intel_device_info *devinfo,
|
||||||
if (devinfo->verx10 >= 125)
|
if (devinfo->verx10 >= 125)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
return 3;
|
||||||
|
case I915_FORMAT_MOD_4_TILED:
|
||||||
|
/* Gfx12.5 introduces Tile4. */
|
||||||
|
if (devinfo->verx10 < 125)
|
||||||
|
return 0;
|
||||||
|
|
||||||
return 3;
|
return 3;
|
||||||
case I915_FORMAT_MOD_Y_TILED_CCS:
|
case I915_FORMAT_MOD_Y_TILED_CCS:
|
||||||
/* Gfx12's CCS layout differs from Gfx9-11. */
|
/* Gfx12's CCS layout differs from Gfx9-11. */
|
||||||
|
|
Loading…
Reference in New Issue