mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
isl: Reuse Xe2 modifers on newer platforms
We will reuse LNL and BMG modifiers on newer platforms until new modifiers show up. 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
9533e7cdae
commit
42c3585ea1
1 changed files with 2 additions and 2 deletions
|
|
@ -292,7 +292,7 @@ isl_drm_modifier_get_score(const struct intel_device_info *devinfo,
|
|||
|
||||
return 5;
|
||||
case I915_FORMAT_MOD_4_TILED_LNL_CCS:
|
||||
if (devinfo->platform != INTEL_PLATFORM_LNL)
|
||||
if (devinfo->ver < 20 || devinfo->has_local_mem)
|
||||
return 0;
|
||||
|
||||
if (INTEL_DEBUG(DEBUG_NO_CCS))
|
||||
|
|
@ -300,7 +300,7 @@ isl_drm_modifier_get_score(const struct intel_device_info *devinfo,
|
|||
|
||||
return 4;
|
||||
case I915_FORMAT_MOD_4_TILED_BMG_CCS:
|
||||
if (devinfo->platform != INTEL_PLATFORM_BMG)
|
||||
if (devinfo->ver < 20 || !devinfo->has_local_mem)
|
||||
return 0;
|
||||
|
||||
if (INTEL_DEBUG(DEBUG_NO_CCS))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue