Skip to contentSkip to conversation

tests/amdgpu: Add VCN test support for Biege Goby

PATCH In review Guchun Chen 3 participants 3 messages Jan 13, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/amdgpu: Add VCN test support for Biege Goby

Added Beige Goby chip id in vcn test, will open a MR to merge this on gitlab after review.

---
 tests/amdgpu/vcn_tests.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/amdgpu/vcn_tests.c +2 -1
index 628b4910..15d573d3 100644
@@ -142,7 +142,8 @@ CU_BOOL suite_vcn_tests_enable(void)
 	} else if (family_id == AMDGPU_FAMILY_NV) {
 		if (chip_id == (chip_rev + 0x28) ||
 		    chip_id == (chip_rev + 0x32) ||
-		    chip_id == (chip_rev + 0x3c)) {
+		    chip_id == (chip_rev + 0x3c) ||
+		    chip_id == (chip_rev + 0x46)) {
 			reg.data0 = 0x10;
 			reg.data1 = 0x11;
 			reg.cmd = 0xf;
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 26 lines · Guchun Chen

Added Beige Goby chip id in vcn test, will open a MR to merge this on gitlab after review.

---
 tests/amdgpu/vcn_tests.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/amdgpu/vcn_tests.c +2 -2
index 628b4910..15d573d3 100644
@@ -142,7 +142,8 @@ CU_BOOL suite_vcn_tests_enable(void)
        } else if (family_id == AMDGPU_FAMILY_NV) {
                if (chip_id == (chip_rev + 0x28) ||
                    chip_id == (chip_rev + 0x32) ||
-                   chip_id == (chip_rev + 0x3c)) {
+                   chip_id == (chip_rev + 0x3c) ||
+                   chip_id == (chip_rev + 0x46)) {
                        reg.data0 = 0x10;
                        reg.data1 = 0x11;
                        reg.cmd = 0xf;
--

2.17.1

Reviewed-by Acked-by Alex Deucher
#2 lore raw

[AMD Official Use Only]

-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Thursday, January 13, 2022 7:47 PM
To: Chen, Guchun <[email protected]>
Cc: amd-gfx list <[email protected]>; Deucher, Alexander <[email protected]>; Gopalakrishnan, Veerabadhran (Veera) <[email protected]>; Liu, Leo <[email protected]>
Subject: Re: [PATCH] tests/amdgpu: Add VCN test support for Biege Goby

Quoted 26 lines · Guchun Chen

Added Beige Goby chip id in vcn test, will open a MR to merge this on gitlab after review.

---
 tests/amdgpu/vcn_tests.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/amdgpu/vcn_tests.c index renamed from tests/amdgpu/vcn_tests.c +0 -0

628b4910..15d573d3 100644

tests/amdgpu/vcn_tests.c +2 -2
@@ -142,7 +142,8 @@ CU_BOOL suite_vcn_tests_enable(void)
        } else if (family_id == AMDGPU_FAMILY_NV) {
                if (chip_id == (chip_rev + 0x28) ||
                    chip_id == (chip_rev + 0x32) ||
-                   chip_id == (chip_rev + 0x3c)) {
+                   chip_id == (chip_rev + 0x3c) ||
+                   chip_id == (chip_rev + 0x46)) {
                        reg.data0 = 0x10;
                        reg.data1 = 0x11;
                        reg.cmd = 0xf;
--

2.17.1