drm_atomic_helper_framebuffer_changed(9) check if framebuffer has changed

SYNOPSIS

bool drm_atomic_helper_framebuffer_changed(struct drm_device * dev, struct drm_atomic_state * old_state, struct drm_crtc * crtc);

ARGUMENTS

dev

DRM device

old_state

atomic state object with old state structures

crtc

DRM crtc

DESCRIPTION

Checks whether the framebuffer used for this CRTC changes as a result of the atomic update. This is useful for drivers which cannot use drm_atomic_helper_wait_for_vblanks and need to reimplement its functionality.

RETURNS

true if the framebuffer changed.

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

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT