drm/amdgpu: Enable Aldebaran devices to report CU Occupancy
authorRamesh Errabolu <Ramesh.Errabolu@amd.com>
Wed, 16 Nov 2022 16:46:08 +0000 (10:46 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Nov 2022 23:08:52 +0000 (18:08 -0500)
commitcff7d3b7df3aadf0c0f3c1fd3f6739a8540c3140
treee59ba6e9a292bcd8a5d4971d7a276e2f3771f139
parent86e8255f941e86e69de7b13a6f716adfc04b77b3
drm/amdgpu: Enable Aldebaran devices to report CU Occupancy

Allow user to know number of compute units (CU) that are in use at any
given moment. Enable access to the method kgd_gfx_v9_get_cu_occupancy
that computes CU occupancy.

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