amdgpu/bo: update uses_secure_bos when importing buffers
Fixes: 90b98c0649 ("amd/tmz: move uses_secure_bos to radeon_winsys")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11449>
This commit is contained in:
committed by
Marge Bot
parent
1d64308fe9
commit
a693fbf64b
@@ -1544,6 +1544,7 @@ static struct pb_buffer *amdgpu_bo_from_handle(struct radeon_winsys *rws,
|
||||
* if it can be used for scanout.
|
||||
*/
|
||||
flags |= RADEON_FLAG_ENCRYPTED;
|
||||
*((bool*)&rws->uses_secure_bos) = true;
|
||||
}
|
||||
|
||||
/* Initialize the structure. */
|
||||
|
||||
Reference in New Issue
Block a user