]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdkfd: Surface files in Sysfs to allow users to get number of
authorRamesh Errabolu <Ramesh.Errabolu@amd.com>
Tue, 29 Sep 2020 17:15:13 +0000 (12:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Sep 2020 19:26:27 +0000 (15:26 -0400)
commitc9f9bb1af27e7fd5ec5e7d85e189aaf4a3b5e21a
tree8450b33c3f7b6eda43227491d455f7a5af015b4a
parent1d02854e99ebeb6e0d658849f031348885104c1c
drm/amd/amdkfd: Surface files in Sysfs to allow users to get number of
compute units that are in use.

[Why]
Allow user to know how many compute units (CU) are in use at any given
moment.

[How]
Surface files in Sysfs that allow user to determine the number of compute
units that are in use for a given process. One Sysfs file is used per
device.

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>
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c