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

#include <vmwgfx_drm.h>

Data Fields

uint32_t flags
 
uint32_t format
 
uint32_t mip_levels [DRM_VMW_MAX_SURFACE_FACES]
 
uint64_t size_addr
 
int32_t shareable
 
int32_t scanout
 

Detailed Description

DRM_VMW_UNREF_CONTEXT - Create a host context.

Frees a global context id, and queues a destroy host command for the host. Does not wait for host completion. The context ID can be used directly in the command stream and shows up as the same context ID on the host. DRM_VMW_CREATE_SURFACE - Create a host suface.

Allocates a device unique surface id, and queues a create surface command for the host. Does not wait for host completion. The surface ID can be used directly in the command stream and shows up as the same surface ID on the host. struct drm_wmv_surface_create_req

: Surface flags as understood by the host. : Surface format as understood by the host. : Number of mip levels for each face. An unused face should have 0 encoded. : Address of a user-space array of sruct drm_vmw_size cast to an uint64_t for 32-64 bit compatibility. The size of the array should equal the total number of mipmap levels. : Boolean whether other clients (as identified by file descriptors) may reference this surface. : Boolean whether the surface is intended to be used as a scanout.

Input data to the DRM_VMW_CREATE_SURFACE Ioctl. Output data from the DRM_VMW_REF_SURFACE Ioctl.

Definition at line 154 of file vmwgfx_drm.h.

Field Documentation

uint32_t flags

Definition at line 155 of file vmwgfx_drm.h.

Definition at line 156 of file vmwgfx_drm.h.

Definition at line 157 of file vmwgfx_drm.h.

int32_t scanout

Definition at line 160 of file vmwgfx_drm.h.

int32_t shareable

Definition at line 159 of file vmwgfx_drm.h.

uint64_t size_addr

Definition at line 158 of file vmwgfx_drm.h.


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