Skip to contentSkip to conversation

drm/amdgpu/ras: document the reboot ras option

PATCH In review Alex Deucher 2 participants 2 messages Oct 8, 2019 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu/ras: document the reboot ras option

We recently added it, but never documented it.

---
 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
index c0d3edf77901..84d8c3342a81 100644
@@ -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

Reviewed-by Andrey Grodzovsky
#2 lore raw

Andrey

Quoted 15 lines · Alex Deucher

We recently added it, but never documented it.

---
  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
index c0d3edf77901..84d8c3342a81 100644
@@ -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