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 <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33764>
This commit is contained in:
Kenneth Graunke 2025-02-26 03:15:56 -08:00
parent 7ccc786acf
commit 20a229bc06

View file

@ -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 = { \