• Daniel Vetter's avatar
    drm/i915: rip out intel_crtc->dpms_mode · 84bb65bd
    Daniel Vetter authored
    Afaict this has been used for two things:
    - To prevent the crtc enable code from being run twice. We have now
      intel_crtc->active to track this in a more precise way.
    - To ensure the code copes correctly with the unknown hw state after
      boot and resume. Thanks to the hw state readout and sanitize code we
      have now a better way to handle this.
    
    The only thing it still does is complicate our modeset state space.
    
    Having outlived its usefullness, let it just die.
    Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    84bb65bd
intel_drv.h 18.9 KB