diff options
author | Samuel Pitoiset <[email protected]> | 2020-03-02 11:53:16 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-06 08:22:02 +0000 |
commit | eeb09a01e7699cbcf1836b0aba288e0e3c8656ac (patch) | |
tree | e175dc02e31e5577292660dbcf28b6e1722c65c9 /src/amd | |
parent | b3ece36257dce867e996e2ca1060d3fabc4ea2de (diff) |
radv/rgp: report correct cu_mask info
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4023>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_rgp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_rgp.c b/src/amd/vulkan/radv_rgp.c index c356f53fa06..619ab8cfb08 100644 --- a/src/amd/vulkan/radv_rgp.c +++ b/src/amd/vulkan/radv_rgp.c @@ -392,9 +392,9 @@ radv_fill_sqtt_asic_info(struct radv_device *device, chunk->memory_chip_type = radv_vram_type_to_sqtt_memory_type(rad_info->vram_type); chunk->lds_granularity = rad_info->lds_granularity; - for (unsigned se = 0; se < 32; se++) { + for (unsigned se = 0; se < 4; se++) { for (unsigned sa = 0; sa < 2; sa++) { - chunk->cu_mask[se][sa] = 0; /* TODO */ + chunk->cu_mask[se][sa] = rad_info->cu_mask[se][sa]; } } } |