From e8cb13d49908ffb2d39edc46c230430cd8b44033 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 31 Jul 2019 13:44:44 +1000 Subject: [PATCH] radv: add radv_secure_compile_type enum This will be used to identify information being passed between the parent and secure process during a secure compile. Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/radv_private.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 5b97b09c867..ea0b3305b3a 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -124,6 +124,17 @@ enum radv_mem_type { RADV_MEM_TYPE_COUNT }; +enum radv_secure_compile_type { + RADV_SC_TYPE_INIT_SUCCESS, + RADV_SC_TYPE_INIT_FAILURE, + RADV_SC_TYPE_COMPILE_PIPELINE, + RADV_SC_TYPE_COMPILE_PIPELINE_FINISHED, + RADV_SC_TYPE_READ_DISK_CACHE, + RADV_SC_TYPE_WRITE_DISK_CACHE, + RADV_SC_TYPE_DESTROY_DEVICE, + RADV_SC_TYPE_COUNT +}; + #define radv_printflike(a, b) __attribute__((__format__(__printf__, a, b))) static inline uint32_t -- 2.30.2