drm/amdgpu/ras: document the reboot ras option
Subsystems (2)
PATCH 1/1 drm/amdgpu/ras: document the reboot ras option
We recently added it, but never documented it.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2 -1
@@ -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:
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20191008180915.31877-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Grodzovsky, Andrey
Reviewed-by Andrey GrodzovskyReviewed-by Andrey Grodzovsky <[email protected]>
Andrey
Quoted 15 lines · Alex Deucher
We recently added it, but never documented it.
Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +0
-0@@ -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.
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c static struct ras_manager *amdgpu_ras_find_obj(struct amdgpu_device *adev, · line 226
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +2
-1-* 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:
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx