18cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/**************************************************************************** 28cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes **************************************************************************** 38cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 48cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** This header was automatically generated from a Linux kernel header 58cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** of the same name, to make information necessary for userspace to 68cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** call into the kernel available to libc. It contains only constants, 78cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** structures, and macros generated from the original header, and thus, 88cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** contains no copyrightable information. 98cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 108cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** To edit the content of this header, modify the corresponding 118cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** source file (e.g. under external/kernel-headers/original/) then 128cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** run bionic/libc/kernel/tools/update_all.py 138cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 148cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** Any manual change here will be lost the next time this script will 158cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** be run. You've been warned! 168cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 178cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes **************************************************************************** 188cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes ****************************************************************************/ 1949f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#ifndef _UAPI_VGEM_DRM_H_ 2049f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#define _UAPI_VGEM_DRM_H_ 2149f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#include "drm.h" 2249f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#ifdef __cplusplus 2349f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#endif 2449f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#define DRM_VGEM_FENCE_ATTACH 0x1 2549f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#define DRM_VGEM_FENCE_SIGNAL 0x2 2649f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#define DRM_IOCTL_VGEM_FENCE_ATTACH DRM_IOWR(DRM_COMMAND_BASE + DRM_VGEM_FENCE_ATTACH, struct drm_vgem_fence_attach) 2749f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#define DRM_IOCTL_VGEM_FENCE_SIGNAL DRM_IOW(DRM_COMMAND_BASE + DRM_VGEM_FENCE_SIGNAL, struct drm_vgem_fence_signal) 2849f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferrisstruct drm_vgem_fence_attach { 2949f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris __u32 handle; 3049f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris __u32 flags; 3149f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#define VGEM_FENCE_WRITE 0x1 3249f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris __u32 out_fence; 3349f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris __u32 pad; 348cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes}; 3549f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferrisstruct drm_vgem_fence_signal { 3649f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris __u32 fence; 3749f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris __u32 flags; 3849f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris}; 3949f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#ifdef __cplusplus 4049f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#endif 4149f525c47bd383cd6a87db8f067cddb3ab620d17Christopher Ferris#endif 42