• Rob Clark's avatar
    drm/omap: use flip-work helper · 5833bd2f
    Rob Clark authored
    And simplify how we hold a ref+pin to what is being scanned out by using
    fb refcnt'ing.  The previous logic pre-dated fb refcnt, and as a result
    was less straightforward than it could have been.  By holding a ref to
    the fb, we don't have to care about how many plane's there are and
    holding a ref to each color plane's bo.
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    5833bd2f
omap_plane.c 11.5 KB