drm_atomic_helper_update_legacy_modeset_state(9) update legacy modeset state

SYNOPSIS

void drm_atomic_helper_update_legacy_modeset_state(struct drm_device * dev, struct drm_atomic_state * old_state);

ARGUMENTS

dev

DRM device

old_state

atomic state object with old state structures

DESCRIPTION

This function updates all the various legacy modeset state pointers in connectors, encoders and crtcs. It also updates the timestamping constants used for precise vblank timestamps by calling drm_calc_timestamping_constants.

Drivers can use this for building their own atomic commit if they don't have a pure helper-based modeset implementation.

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