Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4023>
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];
}
}
}