Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

backend/drm: atomic improvements #2238

Merged
merged 5 commits into from
Jun 1, 2020
Merged

Commits on May 28, 2020

  1. backend/drm: rollback pending CRTC state on test commit

    A test commit doesn't apply the pending state.
    
    The CRTC state will be populated again if the compositor decides to
    perform a regular commit afterwards.
    emersion committed May 28, 2020
    Configuration menu
    Copy the full SHA
    89d40da View commit details
    Browse the repository at this point in the history
  2. backend/drm: make adaptive_sync atomic

    Stop using drmModeObjectSetProperty, set the property in the crtc_commit
    function instead.
    emersion committed May 28, 2020
    Configuration menu
    Copy the full SHA
    c971814 View commit details
    Browse the repository at this point in the history
  3. backend/drm: commit/rollback FBs in drm_crtc_commit

    We need to perform the FB bookkeeping on all commits, not just on
    page-flips.
    emersion committed May 28, 2020
    Configuration menu
    Copy the full SHA
    048a6da View commit details
    Browse the repository at this point in the history
  4. backend/drm: drop extra wlr_output_update_enabled call

    drm_connector_set_mode already takes care of keeping this up-to-date.
    emersion committed May 28, 2020
    Configuration menu
    Copy the full SHA
    e9e9569 View commit details
    Browse the repository at this point in the history
  5. backend/drm: always perform a CRTC commit in drm_connector_commit

    When the mode, status or buffer hasn't changed, drm_connector_commit was
    a no-op. Because of this individual changes to the gamma LUT or adaptive
    sync status were ignored (if committed without a buffer).
    
    Instead, perform a commit to apply the changes.
    emersion committed May 28, 2020
    Configuration menu
    Copy the full SHA
    fe91e79 View commit details
    Browse the repository at this point in the history