• Daniel Vetter's avatar
    drm/i915: Sprinkle intel_edp_psr_update over crtc_enable/disable · 71b1c373
    Daniel Vetter authored
    My plan here is to split up set_base into a prepare step, which does
    the pinning, and a commit stage, which updates the hw state. Eventually
    we should be able to move the prepare step at the beginning of any
    atomic update. For now I only want to move the commit step into the
    crtc_enable callbacks.
    
    As a prep step sprinkle intel_edp_psr_update all over the place so
    that we don't have to concern ourselves with that in the commit step.
    
    v2: Rebase on top of Ville's enable/disable functions for all planes.
    
    v3: Rebase more.
    
    Reviewed-by: Akash Goel <akash.goel@intel.com> (v2)
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    71b1c373
intel_display.c 339 KB