amd: bump AMD_MAX_SE and change the CU mask type to 16 bits

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525>
This commit is contained in:
Marek Olšák 2023-02-18 03:56:57 -05:00 committed by Marge Bot
parent 63b21e3066
commit 34c01cf718

View file

@ -39,7 +39,7 @@
extern "C" {
#endif
#define AMD_MAX_SE 8
#define AMD_MAX_SE 32
#define AMD_MAX_SA_PER_SE 2
struct amdgpu_gpu_info;
@ -210,7 +210,7 @@ struct radeon_info {
bool kernel_has_modifiers;
/* Shader cores. */
uint32_t cu_mask[AMD_MAX_SE][AMD_MAX_SA_PER_SE];
uint16_t cu_mask[AMD_MAX_SE][AMD_MAX_SA_PER_SE];
uint32_t r600_max_quad_pipes; /* wave size / 16 */
uint32_t max_good_cu_per_sa;
uint32_t min_good_cu_per_sa; /* min != max if SAs have different # of CUs */