aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2019-10-08 18:08:30 +0000
committerAlex Deucher <[email protected]>2019-10-11 00:35:18 +0000
commit54e9ab2edb2576b58d905d2385a0cbfc0750c7e4 (patch)
treef76fd56f862ce442ff0e0d916b51d90a281a02f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/amdgpu/ras: fix typos in documentation (diff)
downloadkernel-54e9ab2edb2576b58d905d2385a0cbfc0750c7e4.tar.gz
kernel-54e9ab2edb2576b58d905d2385a0cbfc0750c7e4.zip
drm/amdgpu/ras: document the reboot ras option
We recently added it, but never documented it. Reviewed-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index c0d3edf77901..84d8c3342a81 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -215,11 +215,12 @@ static struct ras_manager *amdgpu_ras_find_obj(struct amdgpu_device *adev,
* value to the address.
*
* Second member: struct ras_debug_if::op.
- * It has three kinds of operations.
+ * It has four kinds of operations.
*
* - 0: disable RAS on the block. Take ::head as its data.
* - 1: enable RAS on the block. Take ::head as its data.
* - 2: inject errors on the block. Take ::inject as its data.
+ * - 3: reboot on unrecoverable error
*
* How to use the interface?
* programs: