Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
drm_vmw_alloc_dmabuf_req Struct Reference

#include <vmwgfx_drm.h>

Data Fields

uint32_t size
 
uint32_t pad64
 

Detailed Description

DRM_VMW_ALLOC_DMABUF

Allocate a DMA buffer that is visible also to the host. NOTE: The buffer is identified by a handle and an offset, which are private to the guest, but useable in the command stream. The guest kernel may translate these and patch up the command stream accordingly. In the future, the offset may be zero at all times, or it may disappear from the interface before it is fixed.

The DMA buffer may stay user-space mapped in the guest at all times, and is thus suitable for sub-allocation.

DMA buffers are mapped using the mmap() syscall on the drm device. struct drm_vmw_alloc_dmabuf_req

: Required minimum size of the buffer.

Input data to the DRM_VMW_ALLOC_DMABUF Ioctl.

Definition at line 347 of file vmwgfx_drm.h.

Field Documentation

uint32_t pad64

Definition at line 349 of file vmwgfx_drm.h.

uint32_t size

Definition at line 348 of file vmwgfx_drm.h.


The documentation for this struct was generated from the following file: