• Rob Clark's avatar
    drm/msm: add kms->flush_commit() · 9f6b6564
    Rob Clark authored
    Add ->flush_commit(crtc_mask).  Currently a no-op, but kms backends
    should migrate writing flush registers to this hook, so we can decouple
    pushing updates to hardware, and flushing the updates.
    
    Once we add async commit support, the hw updates will be pushed down to
    the hw synchronously, but flushing the updates will be deferred until as
    close to vblank as possible, so that multiple updates can be combined in
    a single frame.
    Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
    Reviewed-by: default avatarSean Paul <sean@poorly.run>
    9f6b6564
mdp4_kms.c 14.3 KB