]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6cc93e1183738aa183cee683d35f4a05f76dcf1e
treea269a17ae4b26775be3d82baa85d3e7ae1824ab1
parent0f08d90e056aa482d8f4815375e67add4af65fba
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