aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2022-01-13 14:47:52 +0800
committerLeo Liu <leo.liu@amd.com>2022-01-14 09:25:18 -0500
commitfa80f49df8c3355c754a908722a422c610b6110a (patch)
tree2a2482d4865756aee07dbadfa1d73cd2ca2be2c0
parent440e2d7a34de5c839c4d6d758b21b1bc359255d5 (diff)
downloadlibdrm-fa80f49df8c3355c754a908722a422c610b6110a.tar.gz
tests/amdgpu: Add VCN test support for Biege Goby
Added Beige Goby chip id in vcn test. Signed-off-by: Guchun Chen <guchun.chen@amd.com> Reviewed-By: Veerabadhran Gopalakrishnan <Veerabadhran.gopalakrishnan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com>
-rw-r--r--tests/amdgpu/vcn_tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/amdgpu/vcn_tests.c b/tests/amdgpu/vcn_tests.c
index 628b4910..15d573d3 100644
--- a/tests/amdgpu/vcn_tests.c
+++ b/tests/amdgpu/vcn_tests.c
@@ -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;