Name

struct drm_plane_funcs — driver plane control functions

Synopsis

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);
};  

Members

update_plane

update the plane configuration

disable_plane

shut down the plane

destroy

clean up plane resources

reset

reset plane after state has been invalidated (e.g. resume)

set_property

called when a property is changed

atomic_duplicate_state

duplicate the atomic state for this plane

atomic_destroy_state

destroy an atomic state for this plane

atomic_set_property

set a property on an atomic state for this plane (do not call directly, use drm_atomic_plane_set_property)

atomic_get_property

get a property on an atomic state for this plane (do not call directly, use drm_atomic_plane_get_property)