ac/gpu_info: fix querying the maximum number of IBs per ring
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 24 Oct 2023 14:52:41 +0000 (16:52 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 24 Oct 2023 19:53:08 +0000 (19:53 +0000)
commit13cac671fd0d4292bba83cdd01f45be6a02ffec4
treecd1382f600a0174b900836522841f223aceeb86b
parent3bf1b7deba8267eac9a16807cc748e6c8a863a5f
ac/gpu_info: fix querying the maximum number of IBs per ring

The kernel uses 32-bit and Mesa was using 8-bit...

Fixes: 96345ae2ed3 ("ac/gpu_info: query the maximum number of IBs per submit from the kernel")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25867>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c