]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49d60bd9bf822ed0434a3f5afbb5d1336dab6ccd
treeec51374f55ad38b76053112fa8a5551451b42d20
parent5fd3b581b0f8e0f4d539d8cecf4fd42a4998b407
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