[PATCH v2 libdrm 3/3] amdgpu: add umc ras inject test configuration

Guchun Chen guchun.chen at amd.com
Wed Aug 7 06:52:02 UTC 2019


Both umc single_correctable and multi_uncorrectable
inject types are added.

Change-Id: I779f2f4f59c69fb08fdc09b7adba5b36e3af20ce
Signed-off-by: Dennis Li <dennis.li at amd.com>
Signed-off-by: Guchun Chen <guchun.chen at amd.com>
---
 data/amdgpu_ras.json | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/data/amdgpu_ras.json b/data/amdgpu_ras.json
index 0863a182..26fd9465 100644
--- a/data/amdgpu_ras.json
+++ b/data/amdgpu_ras.json
@@ -1,6 +1,9 @@
 {
     "version": "0.0.1",
     "block": {
+        "umc": {
+            "index": 0
+        },
         "gfx": {
             "index": 2,
             "subblock": {
@@ -126,6 +129,20 @@
         "poison": 8
     },
     "tests": [
+        {
+            "name": "ras_umc.1.0",
+            "block": "umc",
+            "type": "single_correctable",
+            "address": 0,
+            "value": 0
+        },
+        {
+            "name": "ras_umc.1.0",
+            "block": "umc",
+            "type": "multi_uncorrectable",
+            "address": 0,
+            "value": 0
+        },
         {
             "name": "ras_gfx.2.1",
             "block": "gfx",
-- 
2.17.1



More information about the amd-gfx mailing list