mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 00:00:22 +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>
(cherry picked from commit 3e4f73b3a0)
This commit is contained in:
parent
41ae715026
commit
68dd5f4860
2 changed files with 7 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"description": "intel/dev: Update hwconfig => max_threads_per_psd for Xe2",
|
||||
"nominated": true,
|
||||
"nomination_type": 4,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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