XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_vmw_surface_create_req Struct Reference

#include <vmwgfx_drm.h>

Public Attributes

__u32 flags
 
__u32 format
 
__u32 mip_levels [DRM_VMW_MAX_SURFACE_FACES]
 
__u64 size_addr
 
__s32 shareable
 
__s32 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

@flags: Surface flags as understood by the host. @format: Surface format as understood by the host. @mip_levels: Number of mip levels for each face. An unused face should have 0 encoded. @size_addr: Address of a user-space array of sruct drm_vmw_size cast to an __u64 for 32-64 bit compatibility. The size of the array should equal the total number of mipmap levels. @shareable: Boolean whether other clients (as identified by file descriptors) may reference this surface. @scanout: 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.

Member Data Documentation

◆ flags

__u32 drm_vmw_surface_create_req::flags

◆ format

__u32 drm_vmw_surface_create_req::format

◆ mip_levels

__u32 drm_vmw_surface_create_req::mip_levels[DRM_VMW_MAX_SURFACE_FACES]

◆ scanout

__s32 drm_vmw_surface_create_req::scanout

◆ shareable

__s32 drm_vmw_surface_create_req::shareable

◆ size_addr

__u64 drm_vmw_surface_create_req::size_addr

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