mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 16:30:10 +01:00
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>
This commit is contained in:
parent
87a68fe9e4
commit
4ac7d6bf5d
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue