radv: add radv_secure_compile_type enum
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 31 Jul 2019 03:44:44 +0000 (13:44 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sat, 26 Oct 2019 02:04:12 +0000 (13:04 +1100)
This will be used to identify information being passed between the
parent and secure process during a secure compile.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_private.h

index 5b97b09c8675576c346a9110001c62f53048b8b7..ea0b3305b3a22d45335e1a6d7aeabea59a095a41 100644 (file)
@@ -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