From ce1387b591f7f464450498407d5383bbfa56ccc3 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 27 May 2020 17:33:10 -0400 Subject: [PATCH] amdgpu: only enable security tests on raven family It's the only asic with support at the moment. Acked-by: Huang Rui Signed-off-by: Alex Deucher --- tests/amdgpu/security_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/amdgpu/security_tests.c b/tests/amdgpu/security_tests.c index 5c11ea0..9b39e16 100644 --- a/tests/amdgpu/security_tests.c +++ b/tests/amdgpu/security_tests.c @@ -428,7 +428,7 @@ CU_BOOL suite_security_tests_enable(void) &minor_version, &device_handle)) return CU_FALSE; - if (device_handle->info.family_id < AMDGPU_FAMILY_RV) { + if (device_handle->info.family_id != AMDGPU_FAMILY_RV) { printf("\n\nDon't support TMZ (trust memory zone), security suite disabled\n"); enable = CU_FALSE; } -- 2.7.4