diff --git a/src/amd/common/ac_rgp.c b/src/amd/common/ac_rgp.c index bc4007033f3..3b37612c417 100644 --- a/src/amd/common/ac_rgp.c +++ b/src/amd/common/ac_rgp.c @@ -454,6 +454,10 @@ static void ac_fill_sqtt_asic_info(struct radeon_info *rad_info, chunk->l2_cache_size = rad_info->l2_cache_size; chunk->l1_cache_size = rad_info->l1_cache_size; chunk->lds_size = rad_info->lds_size_per_workgroup; + if (rad_info->chip_class >= GFX10) { + /* RGP expects the LDS size in CU mode. */ + chunk->lds_size /= 2; + } strncpy(chunk->gpu_name, rad_info->name, SQTT_GPU_NAME_MAX_SIZE - 1);