]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: Update CU masking for GFX 9.4.3
authorMukul Joshi <mukul.joshi@amd.com>
Tue, 22 Aug 2023 15:35:25 +0000 (11:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 22:17:27 +0000 (18:17 -0400)
commitfc6efed2c728c9c10b058512fc9c1613f870a8e8
treeaea0560bc68a4a77e01f72a2bdd01eed20be00aa
parent0752e66e91fa86fa5481b04b22053363833ffb85
drm/amdkfd: Update CU masking for GFX 9.4.3

The CU mask passed from user-space will change based on
different spatial partitioning mode. As a result, update
CU masking code for GFX9.4.3 to work for all partitioning
modes.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c