|
XenevaOS
|
#include <vc4_drm.h>
Public Attributes | |
| __u32 | size |
| __u32 | flags |
| __u64 | data |
| __u32 | handle |
| __u32 | pad |
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.
| __u64 drm_vc4_create_shader_bo::data |
| __u32 drm_vc4_create_shader_bo::flags |
| __u32 drm_vc4_create_shader_bo::handle |
Returned GEM handle for the BO.
| __u32 drm_vc4_create_shader_bo::pad |
| __u32 drm_vc4_create_shader_bo::size |