test/amdgpu: Bob to Alice copy should be TMZ in secure bounce test
SDMA copy from Alice to Bob is in TMZ mode. Therefore SDMA copy back from Bob to Alice should be in TMZ mode too. Signed-off-by: Aaron Liu <aaron.liu@amd.com> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>main
parent
87a68fe9e4
commit
4ac7d6bf5d
|
@ -336,9 +336,9 @@ static void amdgpu_secure_bounce(void)
|
|||
goto Out_free_all;
|
||||
}
|
||||
|
||||
/* sDMA clear copy from Bob to Alice.
|
||||
/* sDMA TMZ copy from Bob to Alice.
|
||||
*/
|
||||
amdgpu_bo_lcopy(&sb_ctx, &alice, &bob, SECURE_BUFFER_SIZE, 0);
|
||||
amdgpu_bo_lcopy(&sb_ctx, &alice, &bob, SECURE_BUFFER_SIZE, 1);
|
||||
|
||||
/* Verify the contents of Alice.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue