mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-28 00:10:30 +01:00
intel/isl: Disable I915_FORMAT_MOD_Y_TILED on XeHP+
XeHP lacks support for Y-tiling. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12132>
This commit is contained in:
parent
af40104e7d
commit
bd516c6581
1 changed files with 4 additions and 0 deletions
|
|
@ -150,6 +150,10 @@ isl_drm_modifier_get_score(const struct intel_device_info *devinfo,
|
|||
case I915_FORMAT_MOD_X_TILED:
|
||||
return 2;
|
||||
case I915_FORMAT_MOD_Y_TILED:
|
||||
/* Gfx12.5 doesn't have Y-tiling. */
|
||||
if (devinfo->verx10 >= 125)
|
||||
return 0;
|
||||
|
||||
return 3;
|
||||
case I915_FORMAT_MOD_Y_TILED_CCS:
|
||||
/* Gfx12's CCS layout differs from Gfx9-11. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue