drm_helper_crtc_mode_set — mode_set implementation for atomic plane helpers
int drm_helper_crtc_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); |
crtcDRM CRTC
modeDRM display mode which userspace requested
adjusted_modeDRM display mode adjusted by ->mode_fixup callbacks
xx offset of the CRTC scanout area on the underlying framebuffer
yy offset of the CRTC scanout area on the underlying framebuffer
old_fbprevious framebuffer
This function implements a callback useable as the ->mode_set callback required by the crtc helpers. Besides the atomic plane helper functions for the primary plane the driver must also provide the ->mode_set_nofb callback to set up the crtc.
This is a transitional helper useful for converting drivers to the atomic interfaces.