From: Samuel Pitoiset Date: Mon, 2 Mar 2020 10:53:16 +0000 (+0100) Subject: radv/rgp: report correct cu_mask info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eeb09a01e7699cbcf1836b0aba288e0e3c8656ac;p=mesa.git radv/rgp: report correct cu_mask info Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- 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]; } } }