mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
ac/gpu_info: set num_tiles_pipes on gfx10+ too
Based on PAL. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6137>
This commit is contained in:
parent
9333a8570d
commit
15bd3f3712
1 changed files with 1 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ bool ac_query_gpu_info(int fd, void *dev_p,
|
|||
info->tcc_cache_line_size = 64;
|
||||
}
|
||||
info->gb_addr_config = amdinfo->gb_addr_cfg;
|
||||
if (info->chip_class == GFX9) {
|
||||
if (info->chip_class >= GFX9) {
|
||||
info->num_tile_pipes = 1 << G_0098F8_NUM_PIPES(amdinfo->gb_addr_cfg);
|
||||
info->pipe_interleave_bytes =
|
||||
256 << G_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(amdinfo->gb_addr_cfg);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue