drm_crtc_check_viewport(9)

drm_crtc_check_viewport9

Checks that a framebuffer is big enough for the crtc viewport

Usage

int drm_crtc_check_viewport(const struct drm_crtc * crtc, int x, int y, const struct drm_display_mode * mode, const struct drm_framebuffer * fb);

Arguments

crtc

CRTC that framebuffer will be displayed on

x

x panning

y

y panning

mode

mode that framebuffer will be displayed under

fb

framebuffer to check size of

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.