drm/amdgpu: correct the cu count for gfx v11
authorLikun Gao <Likun.Gao@amd.com>
Fri, 5 Jan 2024 09:33:34 +0000 (17:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Jan 2024 20:43:54 +0000 (15:43 -0500)
commitf4a94dbb6dc0bed10a5fc63718d00f1de45b12c0
tree5bfc5ebb7c84cde41b5adfccff71fe1471a9d47a
parent90bd01471d1c7f2d2db3c69259e247357991fe50
drm/amdgpu: correct the cu count for gfx v11

Correct the algorithm of active CU to skip disabled
sa for gfx v11.

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c