1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef TTM_FENCE_USER_H 20 #define TTM_FENCE_USER_H 21 #ifndef _KERNEL 22 #include <stdint.h> 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #endif 25 #define TTM_FENCE_MAJOR 0 26 #define TTM_FENCE_MINOR 1 27 #define TTM_FENCE_PL 0 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define TTM_FENCE_DATE "080819" 30 struct ttm_fence_signaled_req { 31 uint32_t handle; 32 uint32_t fence_type; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 int32_t flush; 35 uint32_t pad64; 36 }; 37 struct ttm_fence_rep { 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 uint32_t signaled_types; 40 uint32_t fence_error; 41 }; 42 union ttm_fence_signaled_arg { 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 struct ttm_fence_signaled_req req; 45 struct ttm_fence_rep rep; 46 }; 47 #define TTM_FENCE_FINISH_MODE_LAZY (1 << 0) 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define TTM_FENCE_FINISH_MODE_NO_BLOCK (1 << 1) 50 struct ttm_fence_finish_req { 51 uint32_t handle; 52 uint32_t fence_type; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 uint32_t mode; 55 uint32_t pad64; 56 }; 57 union ttm_fence_finish_arg { 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 struct ttm_fence_finish_req req; 60 struct ttm_fence_rep rep; 61 }; 62 struct ttm_fence_unref_arg { 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 uint32_t handle; 65 uint32_t pad64; 66 }; 67 #define TTM_FENCE_SIGNALED 0x01 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 #define TTM_FENCE_FINISH 0x02 70 #define TTM_FENCE_UNREF 0x03 71 #endif 72 73