From a65350454993b29c53a00592a6d33ee5a04b28bb Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Tue, 6 Oct 2020 16:19:18 +0200 Subject: [PATCH] gallium: introduce PIPE_BIND_PROTECTED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resources using this flag will be encrypted (eg using TMZ on radeonsi). Reviewed-by: Marek Olšák Part-of: --- src/gallium/include/pipe/p_defines.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 6dbcf66910f..f7e8cf07339 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -501,6 +501,7 @@ enum pipe_flush_flags #define PIPE_BIND_SCANOUT (1 << 19) /* */ #define PIPE_BIND_SHARED (1 << 20) /* get_texture_handle ??? */ #define PIPE_BIND_LINEAR (1 << 21) +#define PIPE_BIND_PROTECTED (1 << 22) /* Resource will be protected/encrypted */ /**