summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intel/dev/intel_hwconfig.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/intel/dev/intel_hwconfig.c b/src/intel/dev/intel_hwconfig.c
index d8ec93be207..7ec8ac387eb 100644
--- a/src/intel/dev/intel_hwconfig.c
+++ b/src/intel/dev/intel_hwconfig.c
@@ -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;