]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Track GPU memory utilization per process
authorMukul Joshi <mukul.joshi@amd.com>
Wed, 29 Apr 2020 00:59:55 +0000 (20:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:47:34 +0000 (16:47 -0400)
commit67cb314d9299559332b2e3403cc2a94b1bb99c1d
treef806e53bfb3d2ad86c741d5ea7515ced33c63e13
parentc892e531cc9b7488757c6e8b23add65e9de457a5
drm/amdkfd: Track GPU memory utilization per process

Track GPU VRAM usage on a per process basis and report it through
sysfs.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c