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.