diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c index 623c6e1788f..87f95f44598 100644 --- a/src/intel/dev/intel_device_info.c +++ b/src/intel/dev/intel_device_info.c @@ -433,6 +433,7 @@ static const struct intel_device_info intel_device_info_hsw_gt3 = { .max_tes_threads = 504, \ .max_gs_threads = 504, \ .max_wm_threads = 384, \ + .max_threads_per_psd = 64, \ .timestamp_frequency = 12500000, \ .max_constant_urb_size_kb = 32, \ .cs_prefetch_size = 512 @@ -542,6 +543,7 @@ static const struct intel_device_info intel_device_info_chv = { .max_gs_threads = 336, \ .max_tcs_threads = 336, \ .max_tes_threads = 336, \ + .max_threads_per_psd = 64, \ .max_cs_threads = 56, \ .timestamp_frequency = 12000000, \ .cs_prefetch_size = 512, \ @@ -828,6 +830,7 @@ static const struct intel_device_info intel_device_info_cfl_gt3 = { .max_gs_threads = 224, \ .max_tcs_threads = 224, \ .max_tes_threads = 364, \ + .max_threads_per_psd = 64, \ .max_cs_threads = 56, \ .cs_prefetch_size = 512 @@ -950,6 +953,7 @@ static const struct intel_device_info intel_device_info_ehl_2x4 = { .max_gs_threads = 336, \ .max_tcs_threads = 336, \ .max_tes_threads = 546, \ + .max_threads_per_psd = 64, \ .max_cs_threads = 112, /* threads per DSS */ \ .urb = { \ GFX12_URB_MIN_MAX_ENTRIES, \ diff --git a/src/intel/dev/intel_device_info.h b/src/intel/dev/intel_device_info.h index 3d9154a3de7..f9d33139380 100644 --- a/src/intel/dev/intel_device_info.h +++ b/src/intel/dev/intel_device_info.h @@ -268,6 +268,8 @@ struct intel_device_info */ unsigned max_wm_threads; + unsigned max_threads_per_psd; + /** * Maximum Compute Shader threads. * diff --git a/src/intel/dev/intel_device_info_test.c b/src/intel/dev/intel_device_info_test.c index 0a00c630069..13678234f2e 100644 --- a/src/intel/dev/intel_device_info_test.c +++ b/src/intel/dev/intel_device_info_test.c @@ -31,6 +31,7 @@ main(int argc, char *argv[]) assert(devinfo.cs_prefetch_size > 0); assert(devinfo.ver < 7 || devinfo.max_constant_urb_size_kb > 0); + assert(devinfo.ver < 8 || devinfo.max_threads_per_psd > 0); assert(devinfo.platform >= 1);