]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdkfd: Fix CU occupancy for GFX 9.4.3
authorMukul Joshi <mukul.joshi@amd.com>
Fri, 20 Sep 2024 18:59:29 +0000 (14:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Sep 2024 16:56:07 +0000 (12:56 -0400)
commite45b011d2c4146442a388113657b70f0c7cad09b
tree5f5aa2bb01841b186950df248fc20f23f41a85ff
parent6ae9e1aba97e4cdaa31a0bfdc07497ad0e915c84
drm/amdkfd: Fix CU occupancy for GFX 9.4.3

Make CU occupancy calculations work on GFX 9.4.3 by
updating the logic to handle multiple XCCs correctly.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c