drm/amd/amdgpu: Enable arcturus devices to access the method kgd_gfx_v9_get_cu_occupa...
authorRamesh Errabolu <Ramesh.Errabolu@amd.com>
Tue, 3 Nov 2020 00:15:03 +0000 (18:15 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Nov 2020 22:10:17 +0000 (17:10 -0500)
commitaeee2a48ec9239790b7c9a5c14dfb2a12554322f
treeec51374f55ad38b76053112fa8a5551451b42d20
parent94254fa045fb61ad927a2b704487674510974f1e
drm/amd/amdgpu: Enable arcturus devices to access the method kgd_gfx_v9_get_cu_occupancy that is already defined

[Why]
Allow user to know number of compute units (CU) that are in use at any
given moment.

[How]
Remove the keyword static for the method kgd_gfx_v9_get_cu_occupancy

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.h