]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Mon, 21 Nov 2022 21:41:51 +0000 (16:41 -0500)
commit13dd520e479a7baca1e08eaa2107731bb6f6f8ac
tree809c21365d908ffe6527477454fef175929deff8
parent12ee882fae49d5361f115f8db9a2bd768cdfe5c8
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_aldebaran.c