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

#include <vc4_drm.h>

Public Attributes

__u32 size
 
__u32 flags
 
__u64 data
 
__u32 handle
 
__u32 pad
 

Detailed Description

struct drm_vc4_create_shader_bo - ioctl argument for creating VC4 shader BOs.

Since allowing a shader to be overwritten while it's also being executed from would allow privlege escalation, shaders must be created using this ioctl, and they can't be mmapped later.

Member Data Documentation

◆ data

__u64 drm_vc4_create_shader_bo::data

◆ flags

__u32 drm_vc4_create_shader_bo::flags

◆ handle

__u32 drm_vc4_create_shader_bo::handle

Returned GEM handle for the BO.

◆ pad

__u32 drm_vc4_create_shader_bo::pad

◆ size

__u32 drm_vc4_create_shader_bo::size

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