summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd
diff options
context:
space:
mode:
authorRamesh Errabolu <Ramesh.Errabolu@amd.com>2020-09-29 12:14:08 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-09-30 15:26:27 -0400
commit43a4bc828c5b156f08024fd0a966c5c2a3f09af1 (patch)
tree968e2cac96622ba0b78fdc826dfa1f6b2a450347 /drivers/gpu/drm/amd/amdkfd
parent39ad082459373facaa255b0791595d018597a164 (diff)
downloadlinux-43a4bc828c5b156f08024fd0a966c5c2a3f09af1.tar.bz2
drm/amd/amdgpu: Define and implement a function that collects number of
waves that are in flight. [Why] Allow user to know how many compute units (CU) are in use at any given moment. [How] Read registers of SQ that give number of waves that are in flight of various queues. Use this information to determine number of CU's in use. Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com> Reviewed-By: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd')
0 files changed, 0 insertions, 0 deletions