struct drm_crtc_helper_funcs — helper operations for CRTCs
struct drm_crtc_helper_funcs { void (* dpms) (struct drm_crtc *crtc, int mode); void (* prepare) (struct drm_crtc *crtc); void (* commit) (struct drm_crtc *crtc); bool (* mode_fixup) (struct drm_crtc *crtc,const struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode); int (* mode_set) (struct drm_crtc *crtc, struct drm_display_mode *mode,struct drm_display_mode *adjusted_mode, int x, int y,struct drm_framebuffer *old_fb); void (* mode_set_nofb) (struct drm_crtc *crtc); int (* mode_set_base) (struct drm_crtc *crtc, int x, int y,struct drm_framebuffer *old_fb); int (* mode_set_base_atomic) (struct drm_crtc *crtc,struct drm_framebuffer *fb, int x, int y,enum mode_set_atomic); void (* load_lut) (struct drm_crtc *crtc); void (* disable) (struct drm_crtc *crtc); void (* enable) (struct drm_crtc *crtc); int (* atomic_check) (struct drm_crtc *crtc,struct drm_crtc_state *state); void (* atomic_begin) (struct drm_crtc *crtc); void (* atomic_flush) (struct drm_crtc *crtc); };
set power state
prepare the CRTC, called before mode_set
commit changes to CRTC, called after mode_set
try to fixup proposed mode for this CRTC
set this mode
set mode only (no scanout buffer attached)
update the scanout buffer
non-blocking mode set (used for kgdb support)
load color palette
disable CRTC when no longer in use
enable CRTC
check for validity of an atomic state
begin atomic update
flush atomic update