diff options
author | Amber Lin <Amber.Lin@amd.com> | 2020-01-30 00:08:05 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-06 15:04:38 -0500 |
commit | 6d220a7e7971ecabdf713554df44aca5640efb33 (patch) | |
tree | 3b096959a70db4f4b277d21b3ba4f27602816324 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 896dace8eca843100bef9b7482c3d6243b4601fb (diff) |
drm/amdkfd: Add queue information to sysfs
Provide compute queues information in sysfs under /sys/class/kfd/kfd/proc.
The format is /sys/class/kfd/kfd/proc/<pid>/queues/<queue id>/XX where
XX are size, type, and gpuid three files to represent queue size, queue
type, and the GPU this queue uses. <queue id> folder and files underneath
are generated when a queue is created. They are removed when the queue is
destroyed.
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions