summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-05-27 17:33:10 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-10-15 13:47:05 -0400
commitce1387b591f7f464450498407d5383bbfa56ccc3 (patch)
tree37bd5bb4d6a5f4df9ddf25830b553d52f7504744
parent253e0383a38b689bd5170862dfec1e8ab83639f4 (diff)
downloadlibdrm-ce1387b591f7f464450498407d5383bbfa56ccc3.tar.gz
libdrm-ce1387b591f7f464450498407d5383bbfa56ccc3.tar.bz2
libdrm-ce1387b591f7f464450498407d5383bbfa56ccc3.zip
amdgpu: only enable security tests on raven family
It's the only asic with support at the moment. Acked-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--tests/amdgpu/security_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amdgpu/security_tests.c b/tests/amdgpu/security_tests.c
index 5c11ea03..9b39e167 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;
}