drm_atomic_helper_update_legacy_modeset_state
Prev | Atomic Modeset Helper Functions Reference | Next

## Name

drm_atomic_helper_update_legacy_modeset_state — 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.

Prev | Up | Next
drm_atomic_helper_check | Home | drm_atomic_helper_commit_modeset_disables