mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 23:20:08 +01:00
intel/dev: Update hwconfig => max_threads_per_psd for Xe2
Backport-to: 24.2 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30887>
This commit is contained in:
parent
588a65f29a
commit
3e4f73b3a0
1 changed files with 6 additions and 2 deletions
|
|
@ -217,9 +217,13 @@ apply_hwconfig_item(struct intel_device_info *devinfo,
|
|||
break;
|
||||
case INTEL_HWCONFIG_TOTAL_VS_THREADS_POCS:
|
||||
break; /* ignore */
|
||||
case INTEL_HWCONFIG_TOTAL_PS_THREADS:
|
||||
DEVINFO_HWCONFIG(max_threads_per_psd, item->val[0] / 2);
|
||||
case INTEL_HWCONFIG_TOTAL_PS_THREADS: {
|
||||
unsigned threads = item->val[0];
|
||||
if (devinfo->verx10 == 125)
|
||||
threads /= 2;
|
||||
DEVINFO_HWCONFIG(max_threads_per_psd, threads);
|
||||
break;
|
||||
}
|
||||
case INTEL_HWCONFIG_URB_SIZE_PER_SLICE_IN_KB:
|
||||
DEVINFO_HWCONFIG(urb.size, item->val[0]);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue