diff options
author | Samuel Pitoiset <[email protected]> | 2020-02-27 08:47:54 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2020-03-03 08:17:00 +0100 |
commit | 33faef6a34023217b605ca11f519e0c1cd74b51b (patch) | |
tree | 69d3cc661165ee8e1ea750907bac6528c1047c5f /src/amd/common | |
parent | 9432eb3e9ce56e475d29bc59494c83815305aede (diff) |
ac: rename vgpr_alloc_granularity to wave64_vgpr_alloc_granularity
And update the value.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3975>
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/ac_gpu_info.c | 4 | ||||
-rw-r--r-- | src/amd/common/ac_gpu_info.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 45be8492d0f..353dfe91b81 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -729,7 +729,7 @@ bool ac_query_gpu_info(int fd, void *dev_p, info->min_vgpr_alloc = 4; info->max_vgpr_alloc = 256; - info->vgpr_alloc_granularity = info->chip_class >= GFX10 ? 8 : 4; + info->wave64_vgpr_alloc_granularity = 4; info->num_physical_wave64_vgprs_per_simd = info->chip_class >= GFX10 ? 512 : 256; info->num_simd_per_compute_unit = info->chip_class >= GFX10 ? 2 : 4; @@ -895,7 +895,7 @@ void ac_print_gpu_info(struct radeon_info *info) printf(" sgpr_alloc_granularity = %i\n", info->sgpr_alloc_granularity); printf(" min_vgpr_alloc = %i\n", info->min_vgpr_alloc); printf(" max_vgpr_alloc = %i\n", info->max_vgpr_alloc); - printf(" vgpr_alloc_granularity = %i\n", info->vgpr_alloc_granularity); + printf(" wave64_vgpr_alloc_granularity = %i\n", info->wave64_vgpr_alloc_granularity); printf("Render backend info:\n"); printf(" pa_sc_tile_steering_override = 0x%x\n", info->pa_sc_tile_steering_override); diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h index ce8c6e43c71..930a09bab29 100644 --- a/src/amd/common/ac_gpu_info.h +++ b/src/amd/common/ac_gpu_info.h @@ -167,7 +167,7 @@ struct radeon_info { uint32_t sgpr_alloc_granularity; uint32_t min_vgpr_alloc; uint32_t max_vgpr_alloc; - uint32_t vgpr_alloc_granularity; + uint32_t wave64_vgpr_alloc_granularity; /* Render backends (color + depth blocks). */ uint32_t r300_num_gb_pipes; |