• Rodrigo Vivi's avatar
    drm/i915: Also call frontbuffer flip when disabling planes. · 8be6ca85
    Rodrigo Vivi authored
    We also need to call the frontbuffer flip to trigger proper
    invalidations when disabling planes. Otherwise we will miss
    screen updates when disabling sprites or cursor.
    
    On core platforms where HW tracking also works, this issue
    is totally masked because HW tracking triggers PSR exit
    however on VLV/CHV that has only SW tracking we miss screen
    updates when disabling planes.
    
    It was caught with kms_psr_sink_crc sprite_plane_onoff
    and cursor_plane_onoff subtests running on VLV/CHV.
    
    This is probably a regression since I can also get this
    with the manual test case, but with so many changes on atomic
    modeset I couldn't track exactly when this was introduced.
    Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
    Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    8be6ca85
intel_display.c 430 KB