struct drm_plane_funcs — driver plane control functions
struct drm_plane_funcs { int (* update_plane) (struct drm_plane *plane,struct drm_crtc *crtc, struct drm_framebuffer *fb,int crtc_x, int crtc_y,unsigned int crtc_w, unsigned int crtc_h,uint32_t src_x, uint32_t src_y,uint32_t src_w, uint32_t src_h); int (* disable_plane) (struct drm_plane *plane); void (* destroy) (struct drm_plane *plane); void (* reset) (struct drm_plane *plane); int (* set_property) (struct drm_plane *plane,struct drm_property *property, uint64_t val); struct drm_plane_state *(* atomic_duplicate_state) (struct drm_plane *plane); void (* atomic_destroy_state) (struct drm_plane *plane,struct drm_plane_state *state); int (* atomic_set_property) (struct drm_plane *plane,struct drm_plane_state *state,struct drm_property *property,uint64_t val); int (* atomic_get_property) (struct drm_plane *plane,const struct drm_plane_state *state,struct drm_property *property,uint64_t *val); };
update the plane configuration
shut down the plane
clean up plane resources
reset plane after state has been invalidated (e.g. resume)
called when a property is changed
duplicate the atomic state for this plane
destroy an atomic state for this plane
set a property on an atomic state for this plane
(do not call directly, use drm_atomic_plane_set_property
)
get a property on an atomic state for this plane
(do not call directly, use drm_atomic_plane_get_property
)