drm_plane_helper_update — Transitional helper for plane update
int drm_plane_helper_update ( | 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); |
planeplane object to update
crtcowning CRTC of owning plane
fbframebuffer to flip onto plane
crtc_xx offset of primary plane on crtc
crtc_yy offset of primary plane on crtc
crtc_wwidth of primary plane rectangle on crtc
crtc_hheight of primary plane rectangle on crtc
src_x
x offset of fb for panning
src_y
y offset of fb for panning
src_w
width of source rectangle in fb
src_h
height of source rectangle in fb
Provides a default plane update handler using the atomic plane update functions. It is fully left to the driver to check plane constraints and handle corner-cases like a fully occluded or otherwise invisible plane.
This is useful for piecewise transitioning of a driver to the atomic helpers.