summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom St Denis2019-05-24 15:21:54 +0200
committerAlex Deucher2019-05-24 19:46:49 +0200
commit74abc2210e105f0fffe59c35d2329201f1b4310e (patch)
tree71065ff2c0c3005567b61a0195999880b6738d6c
parentdrm/amd/doc: Add XGMI sysfs documentation (diff)
downloadkernel-qcow2-linux-74abc2210e105f0fffe59c35d2329201f1b4310e.tar.gz
kernel-qcow2-linux-74abc2210e105f0fffe59c35d2329201f1b4310e.tar.xz
kernel-qcow2-linux-74abc2210e105f0fffe59c35d2329201f1b4310e.zip
drm/amd/doc: Add RAS documentation to guide
Acked-by: Slava Abramov <slava.abramov@amd.com> Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--Documentation/gpu/amdgpu.rst11
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c4
2 files changed, 13 insertions, 2 deletions
diff --git a/Documentation/gpu/amdgpu.rst b/Documentation/gpu/amdgpu.rst
index cacfcfad2356..86138798128f 100644
--- a/Documentation/gpu/amdgpu.rst
+++ b/Documentation/gpu/amdgpu.rst
@@ -79,6 +79,17 @@ AMDGPU XGMI Support
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
:internal:
+AMDGPU RAS debugfs control interface
+====================================
+
+.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+ :doc: AMDGPU RAS debugfs control interface
+
+
+.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+ :internal:
+
+
GPU Power/Thermal Controls and Monitoring
=========================================
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index d5719b0fb82c..7c8a4aedf07c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -244,8 +244,8 @@ static int amdgpu_ras_debugfs_ctrl_parse_data(struct file *f,
return 0;
}
-/*
- * DOC: ras debugfs control interface
+/**
+ * DOC: AMDGPU RAS debugfs control interface
*
* It accepts struct ras_debug_if who has two members.
*