mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
iris: Enable Xe2 modifiers on all newer platforms
Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35776>
This commit is contained in:
parent
42c3585ea1
commit
e02a1bb173
1 changed files with 2 additions and 2 deletions
|
|
@ -134,11 +134,11 @@ modifier_is_supported(const struct intel_device_info *devinfo,
|
|||
return false;
|
||||
break;
|
||||
case I915_FORMAT_MOD_4_TILED_LNL_CCS:
|
||||
if (devinfo->platform != INTEL_PLATFORM_LNL)
|
||||
if (devinfo->ver < 20 || devinfo->has_local_mem)
|
||||
return false;
|
||||
break;
|
||||
case I915_FORMAT_MOD_4_TILED_BMG_CCS:
|
||||
if (devinfo->platform != INTEL_PLATFORM_BMG)
|
||||
if (devinfo->ver < 20 || !devinfo->has_local_mem)
|
||||
return false;
|
||||
break;
|
||||
case DRM_FORMAT_MOD_INVALID:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue