mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 09:10:12 +01:00
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> (cherry picked from commita693fbf64b)
This commit is contained in:
parent
517d22b3f7
commit
797a781ffe
2 changed files with 2 additions and 1 deletions
|
|
@ -58,7 +58,7 @@
|
|||
"description": "amdgpu/bo: update uses_secure_bos when importing buffers",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "90b98c06493f8a9759e5496d5ec91fb60edf7b92"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue