mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
intel/dev: use generated WA helpers for Wa_22012575642
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Mark Janes <markjanes@swizzler.org> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21949>
This commit is contained in:
parent
9b1660c727
commit
de5ee891f0
1 changed files with 4 additions and 2 deletions
|
|
@ -937,8 +937,7 @@ static const struct intel_device_info intel_device_info_ehl_2x4 = {
|
|||
[MESA_SHADER_VERTEX] = 3576, \
|
||||
[MESA_SHADER_TESS_CTRL] = 1548, \
|
||||
[MESA_SHADER_TESS_EVAL] = 3576, \
|
||||
/* Wa_14013840143 */ \
|
||||
[MESA_SHADER_GEOMETRY] = 1536, \
|
||||
[MESA_SHADER_GEOMETRY] = 1548, \
|
||||
}
|
||||
|
||||
#define GFX12_HW_INFO \
|
||||
|
|
@ -1330,6 +1329,9 @@ intel_get_device_info_from_pci_id(int pci_id,
|
|||
intel_device_info_update_cs_workgroup_threads(devinfo);
|
||||
intel_device_info_init_was(devinfo);
|
||||
|
||||
if (intel_needs_workaround(devinfo, 22012575642))
|
||||
devinfo->urb.max_entries[MESA_SHADER_GEOMETRY] = 1536;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue