]> 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)
commit8c37a284d3c425d332cd58b71eaf24ca4e69345c
treeec51374f55ad38b76053112fa8a5551451b42d20
parent4c2b07680312c9f79e27901d0a5b3778c9c7dbfd
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