summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorRoy Sun <Roy.Sun@amd.com>2021-04-26 14:27:01 +0800
committerChristian König <christian.koenig@amd.com>2021-05-05 09:26:53 +0200
commit874442541133f78c78b6880b8cc495bab5c61704 (patch)
tree045a4270ba8818a4d60a5b5da0a2c79a5dba8e1d /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent1774baa64f9395fa884ea9ed494bcb043f3b83f5 (diff)
downloadlinux-stable-874442541133f78c78b6880b8cc495bab5c61704.tar.gz
linux-stable-874442541133f78c78b6880b8cc495bab5c61704.tar.bz2
linux-stable-874442541133f78c78b6880b8cc495bab5c61704.zip
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index dc3a69296321..380801b59b07 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -107,6 +107,7 @@
#include "amdgpu_gfxhub.h"
#include "amdgpu_df.h"
#include "amdgpu_smuio.h"
+#include "amdgpu_fdinfo.h"
#define MAX_GPU_INSTANCE 16