From: Timothy Arceri Date: Wed, 31 Jul 2019 03:44:44 +0000 (+1000) Subject: radv: add radv_secure_compile_type enum X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8cb13d49908ffb2d39edc46c230430cd8b44033;p=mesa.git 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 --- 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