From 20a229bc067b1de2d87873b345f4b4b96710c5e8 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 26 Feb 2025 03:15:56 -0800 Subject: [PATCH] intel/dev: Set max_wm_threads to 0 in the Gfx9+ devinfo structs intel_device_info_init_common calculates this for Gfx9+ based on max_threads_per_psd and slice information. Mark it as zero in the structures to make clear that the value there isn't useful, and make it easier to diff binaries for the next commit's refactors. Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/dev/intel_device_info.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c index f9b045a8eb5..ec5e3b7fb69 100644 --- a/src/intel/dev/intel_device_info.c +++ b/src/intel/dev/intel_device_info.c @@ -539,6 +539,7 @@ static const struct intel_device_info intel_device_info_chv = { .max_gs_threads = 336, \ .max_tcs_threads = 336, \ .max_tes_threads = 336, \ + .max_wm_threads = 0, \ .max_threads_per_psd = 64, \ .max_cs_threads = 56, \ .timestamp_frequency = 12000000, \ @@ -829,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_wm_threads = 0, \ .max_threads_per_psd = 64, \ .max_cs_threads = 56 @@ -942,6 +944,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_wm_threads = 0, \ .max_threads_per_psd = 64, \ .max_cs_threads = 112, /* threads per DSS */ \ .urb = { \ @@ -1083,6 +1086,7 @@ static const struct intel_device_info intel_device_info_sg1 = { .max_gs_threads = 336, /* BSpec 46299 */ \ .max_tcs_threads = 336, /* BSpec 46300 */ \ .max_tes_threads = 546, /* BSpec 46298 */ \ + .max_wm_threads = 0, \ .max_threads_per_psd = 64, \ .max_cs_threads = 112, /* threads per DSS */ \ .urb = { \