Skip to content
  • Xaver Hugl's avatar
    backends/drm: fix enabled+inactive check · 6d9d4c19
    Xaver Hugl authored
    When dpms disabled outputs get set active, they require a modeset. If after
    that they are set inactive again without resetting the pipelines first,
    they no longer require a modeset but still have the pending properties that
    would enable a crtc - but without a framebuffer set.
    
    To prevent this, first test the current setup as it is, and only then see
    if the pipelines would work if enabled again.
    6d9d4c19