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>main
parent
253e0383a3
commit
ce1387b591
|
@ -428,7 +428,7 @@ CU_BOOL suite_security_tests_enable(void)
|
||||||
&minor_version, &device_handle))
|
&minor_version, &device_handle))
|
||||||
return CU_FALSE;
|
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");
|
printf("\n\nDon't support TMZ (trust memory zone), security suite disabled\n");
|
||||||
enable = CU_FALSE;
|
enable = CU_FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue