drm/omap: use flip-work helper
authorRob Clark <robdclark@gmail.com>
Wed, 7 Aug 2013 17:41:21 +0000 (13:41 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 19 Aug 2013 00:33:39 +0000 (10:33 +1000)
commit5833bd2fe1c7d9e2650a11a8785b848bbd0d0188
treea269a17ae4b26775be3d82baa85d3e7ae1824ab1
parenta464d618c715b7a850f7459754d9d155f5e60538
drm/omap: use flip-work helper

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: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/gpu/drm/omapdrm/omap_fb.c
drivers/gpu/drm/omapdrm/omap_plane.c