]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix incorrect active RB bitmap in setup RBs
authorTim Huang <tim.huang@amd.com>
Thu, 2 Jan 2025 10:20:18 +0000 (18:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Jan 2025 21:02:56 +0000 (16:02 -0500)
commit4a60c55b3b0f147acc95c350c11f2db4d4828d36
treece98dc8191e9687e4ff212ce662a9fef4d7fd5a2
parent62498e797aeb2bfa92a823ee1a8253f96d1cbe3f
drm/amdgpu: fix incorrect active RB bitmap in setup RBs

The RB bitmap width per SA may be 0x1 for some ASICs.
Use the actual bitmap of SA instead of 0x3 to determine
the active RB bitmap.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c