]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: fix active rb and cu number for gfx12
authorLikun Gao <Likun.Gao@amd.com>
Mon, 8 Jan 2024 05:46:40 +0000 (13:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:11 +0000 (16:18 -0400)
commit044feb8e2aff101362d7afffa3444c771140728d
tree4143e54762d02a09be3629bc8a501cbf658b982e
parent56159fffaab5c42a8897eac0824c58af3b369914
drm/amdgpu: fix active rb and cu number for gfx12

Correct the algorithm of active CU and RB to bypass
the disabled SA for gfx12.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c