Module: Mesa
Branch: main
Commit: d52c39a6cd95d5999ddb65d25ba47c50ead77598
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d52c39a6cd95d5999ddb65d25ba47c50ead77598

Author: Tapani Pälli <[email protected]>
Date:   Mon Oct 23 14:47:58 2023 +0300

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

Commit 7db1b94e07f 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 <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25861>

---

 src/intel/dev/intel_device_info.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intel/dev/intel_device_info.c 
b/src/intel/dev/intel_device_info.c
index e90824ef4fe..aa53136cc54 100644
--- a/src/intel/dev/intel_device_info.c
+++ b/src/intel/dev/intel_device_info.c
@@ -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;
 }
 

Reply via email to