mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
isl: don't report I915_FORMAT_MOD_Y_TILED_CCS on Gfx8
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable Acked-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19852>
This commit is contained in:
parent
3964a77454
commit
0626b68c88
1 changed files with 4 additions and 2 deletions
|
|
@ -188,8 +188,10 @@ isl_drm_modifier_get_score(const struct intel_device_info *devinfo,
|
|||
|
||||
return 3;
|
||||
case I915_FORMAT_MOD_Y_TILED_CCS:
|
||||
/* Gfx12's CCS layout differs from Gfx9-11. */
|
||||
if (devinfo->ver >= 12)
|
||||
/* Not supported before Gfx9 and also Gfx12's CCS layout differs from
|
||||
* Gfx9-11.
|
||||
*/
|
||||
if (devinfo->ver <= 8 || devinfo->ver >= 12)
|
||||
return 0;
|
||||
|
||||
if (INTEL_DEBUG(DEBUG_NO_CCS))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue