Lines Matching +full:send +full:- +full:flush +full:- +full:out +full:- +full:sequence

31  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
94 * backwards-compatibility reasons.
125 * The lock structure is a simple cache-line aligned integer. To avoid
146 char __user *date; /**< User-space buffer to hold date */
148 char __user *desc; /**< User-space buffer to hold desc */
162 int count; /**< Length of user-space structures */
201 _DRM_RESTRICTED = 0x01, /**< Cannot be mapped to user-virtual */
205 _DRM_WRITE_COMBINING = 0x10, /**< use write-combining if available */
227 void *handle; /**< User-space: "Handle" to pass to mmap() */
228 /**< Kernel-space: kernel-virtual address */
254 _DRM_STAT_COUNT, /**< Generic non-byte counter (1000/k) */
282 _DRM_LOCK_FLUSH = 0x04, /**< Flush this context's DMA queue first */
283 _DRM_LOCK_FLUSH_ALL = 0x08, /**< Flush all DMA queues first */
285 -- they will be used to support the
286 full-screen DGA-like mode. */
315 * been processed by the hardware --
326 _DRM_DMA_SMALLER_OK = 0x20, /**< Smaller-than-requested buffers OK */
327 _DRM_DMA_LARGER_OK = 0x40 /**< Larger-than-requested buffers OK */
345 _DRM_PCI_BUFFER_RO = 0x10 /**< Map PCI DMA buffer read-only */
389 void __user *virtual; /**< Mmap'd area in user-virtual */
403 int send_count; /**< Number of buffers to send */
405 int __user *send_sizes; /**< Lengths of data to send */
478 _DRM_VBLANK_ABSOLUTE = 0x0, /**< Wait for specific vblank sequence number */
480 /* bits 1-6 are reserved for high crtcs */
482 _DRM_VBLANK_EVENT = 0x4000000, /**< Send event instead of blocking */
486 _DRM_VBLANK_SIGNAL = 0x40000000 /**< Send signal instead of blocking, unsupported */
496 unsigned int sequence; member
502 unsigned int sequence; member
545 unsigned long size; /**< In bytes -- will round to page boundary */
558 unsigned long offset; /**< In bytes -- will round to page boundary */
586 unsigned long size; /**< In bytes -- will round to page boundary */
679 * PRIME buffers are exposed as dma-buf file descriptors.
717 * page-flips.
727 * Note that the cross-driver contract is to merely return a valid size;
821 * If the driver doesn't support atomic mode-setting, enabling this capability
822 * will fail with -EOPNOTSUPP.
825 * kernel version 4.2, this capability is always supported for atomic-capable
848 * This capability is always supported for atomic-capable drivers starting from
856 * Drivers for para-virtualized hardware (e.g. vmwgfx, qxl, virtio and
869 * cursor planes (i.e. non-virtualized drivers) will return
873 * This capability is always supported for atomic-capable virtualized
889 /** Flags.. only applicable for handle->fd */
939 * @deadline_nsec - fence deadline hint
959 * @deadline_nsec - fence deadline hint
1005 /* Query current scanout sequence number */
1009 __u64 sequence; /* return: most recent vblank sequence */ member
1010 __s64 sequence_ns; /* return: most recent time of first pixel out */
1013 /* Queue event to be delivered at specified sequence. Time stamp marks
1017 #define DRM_CRTC_SEQUENCE_RELATIVE 0x00000001 /* sequence is relative to current */
1018 #define DRM_CRTC_SEQUENCE_NEXT_ON_MISS 0x00000002 /* Use next sequence if we've missed */
1023 __u64 sequence; /* on input, target sequence. on output, actual sequence */ member
1060 * DRM_IOCTL_GEM_CLOSE - Close a GEM handle.
1062 * GEM handles are not reference-counted by the kernel. User-space is
1063 * responsible for managing their lifetime. For example, if user-space imports
1065 * handle is returned by both imports, and user-space needs to ensure
1113 * DRM_IOCTL_PRIME_HANDLE_TO_FD - Convert a GEM handle to a DMA-BUF FD.
1115 * User-space sets &drm_prime_handle.handle with the GEM handle to export and
1116 * &drm_prime_handle.flags, and gets back a DMA-BUF file descriptor in
1119 * The export can fail for any driver-specific reason, e.g. because export is
1122 * Support for exporting DMA-BUFs is advertised via &DRM_PRIME_CAP_EXPORT.
1126 * DRM_IOCTL_PRIME_FD_TO_HANDLE - Convert a DMA-BUF FD to a GEM handle.
1128 * User-space sets &drm_prime_handle.fd with a DMA-BUF file descriptor to
1132 * If an existing GEM handle refers to the memory object backing the DMA-BUF,
1133 * that GEM handle is returned. Therefore user-space which needs to handle
1134 * arbitrary DMA-BUFs must have a user-space lookup data structure to manually
1135 * reference-count duplicated GEM handles. For more information see
1138 * The import can fail for any driver-specific reason, e.g. because import is
1139 * only supported for DMA-BUFs allocated on this DRM device.
1141 * Support for importing DMA-BUFs is advertised via &DRM_PRIME_CAP_IMPORT.
1181 * DRM_IOCTL_MODE_RMFB - Remove a framebuffer.
1186 * Warning: removing a framebuffer currently in-use on an enabled plane will
1195 * DRM_IOCTL_MODE_CREATE_DUMB - Create a new dumb buffer object.
1199 * not suitable for hardware-accelerated rendering nor video decoding. KMS dumb
1206 * User-space is expected to create a KMS dumb buffer via this IOCTL, then add
1247 * DRM_IOCTL_MODE_GETFB2 - Get framebuffer metadata.
1249 * This queries metadata about a framebuffer. User-space fills
1259 * memory object. Planes are valid until one has a zero handle -- this can be
1267 * modifier. Otherwise, user-space must ignore &drm_mode_fb_cmd2.modifier.
1269 * To obtain DMA-BUF FDs for each plane without leaking GEM handles, user-space
1272 * double-close handles which are specified multiple times in the array.
1279 * DRM_IOCTL_MODE_CLOSEFB - Close a framebuffer.
1290 * This is useful to implement flicker-free transitions between two processes.
1292 * Depending on the threat model, user-space may want to ensure that the
1299 * DRM_IOCTL_SET_CLIENT_NAME - Attach a name to a drm_file
1304 * The call will fail if the name contains whitespaces or non-printable chars.
1320 * struct drm_event - Header for DRM events
1324 * This struct is a header for events written back to user-space on the DRM FD.
1329 * Event types 0 - 0x7fffffff are generic DRM events, 0x80000000 and
1339 * DRM_EVENT_VBLANK - vertical blanking event
1348 * DRM_EVENT_FLIP_COMPLETE - page-flip completion event
1350 * This event is sent in response to an atomic commit or legacy page-flip with
1357 * DRM_EVENT_CRTC_SEQUENCE - CRTC sequence event
1370 __u32 sequence; member
1374 /* Event delivered at sequence. Time stamp marks when the first pixel
1381 __u64 sequence; member