intel/dev: expand existing fix for all gfx12 with small EU count

Commit 7db1b94e07 added a fix for ADL-N but this issue has been
reproduced also on RPL-S and is likely common with all gfx12 variants
with a small EU count.

cc: mesa-stable

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25861>
This commit is contained in:
Tapani Pälli 2023-10-23 14:47:58 +03:00 committed by Marge Bot
parent 67450674c0
commit d52c39a6cd

View file

@ -1383,10 +1383,10 @@ intel_device_info_apply_workarounds(struct intel_device_info *devinfo)
/* Fixes issues with:
* dEQP-GLES31.functional.geometry_shading.layered.render_with_default_layer_cubemap
* when running on ADL-N platform.
* when running on GFX12 platforms with small EU count.
*/
const uint32_t eu_total = intel_device_info_eu_total(devinfo);
if (devinfo->platform == INTEL_PLATFORM_ADL && eu_total < 32)
if (devinfo->verx10 == 120 && eu_total <= 32)
devinfo->urb.max_entries[MESA_SHADER_GEOMETRY] = 1024;
}