drm/amdgpu: Add show_fdinfo() interface
authorRoy Sun <Roy.Sun@amd.com>
Mon, 26 Apr 2021 06:27:01 +0000 (14:27 +0800)
committerChristian König <christian.koenig@amd.com>
Wed, 5 May 2021 07:26:53 +0000 (09:26 +0200)
commit874442541133f78c78b6880b8cc495bab5c61704
tree045a4270ba8818a4d60a5b5da0a2c79a5dba8e1d
parent1774baa64f9395fa884ea9ed494bcb043f3b83f5
drm/amdgpu: Add show_fdinfo() interface

Tracking devices, process info and fence info using
/proc/pid/fdinfo

Signed-off-by: David M Nieto <David.Nieto@amd.com>
Signed-off-by: Roy Sun <Roy.Sun@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210426062701.39732-2-Roy.Sun@amd.com
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h