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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Dec 2022 16:41:12 +0000 (17:41 +0100)
commit7901de7aa833d9ecc7a63e28ccd1275fd2d965bb
tree337275cf56d594eea1eaf128683a5590a8054490
parente7bf1fe53817d0e69818b55ea3fa0dcfc14be3ac
drm/amdgpu: Enable Aldebaran devices to report CU Occupancy

commit b9ab82da8804ec22c7e91ffd9d56c7a3abff0c8e upstream.

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>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_aldebaran.c