drm_plane_helper_check_update — Check plane update for validity
int drm_plane_helper_check_update ( | struct drm_plane * plane, |
| struct drm_crtc * crtc, | |
| struct drm_framebuffer * fb, | |
| struct drm_rect * src, | |
| struct drm_rect * dest, | |
| const struct drm_rect * clip, | |
| int min_scale, | |
| int max_scale, | |
| bool can_position, | |
| bool can_update_disabled, | |
bool * visible); |
planeplane object to update
crtcowning CRTC of owning plane
fbframebuffer to flip onto plane
srcsource coordinates in 16.16 fixed point
destinteger destination coordinates
clipinteger clipping coordinates
min_scale
minimum src:dest scaling factor in 16.16 fixed point
max_scale
maximum src:dest scaling factor in 16.16 fixed point
can_positionis it legal to position the plane such that it doesn't cover the entire crtc? This will generally only be false for primary planes.
can_update_disabledcan the plane be updated while the crtc is disabled?
visibleoutput parameter indicating whether plane is still visible after clipping