commit | 5833bd2fe1c7d9e2650a11a8785b848bbd0d0188 | [log] [tgz] |
---|---|---|
author | Rob Clark <robdclark@gmail.com> | Wed Aug 07 13:41:21 2013 -0400 |
committer | Dave Airlie <airlied@redhat.com> | Mon Aug 19 10:33:39 2013 +1000 |
tree | a269a17ae4b26775be3d82baa85d3e7ae1824ab1 | |
parent | a464d618c715b7a850f7459754d9d155f5e60538 [diff] |
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>