• Tomasz Figa's avatar
    drm/rockchip: Replace custom wait_for_vblanks with helper · 81c248f7
    Tomasz Figa authored
    Currently the driver uses a custom function to wait for flip to complete
    after an atomic commit. It was needed before because of two problems:
     - there is no hardware vblank counter, so the original helper would
       have a race condition with the vblank interrupt,
     - the driver didn't support unreferencing cursor framebuffers
       asynchronously to the commit, which was what the helper expected.
    Since both problems have been solved by previous patches, we can now
    make the driver use the generic helper and remove custom waiting code.
    Signed-off-by: default avatarTomasz Figa <tfiga@chromium.org>
    81c248f7
rockchip_drm_fb.c 6.31 KB