commit | 576f42effe1af94f1bf546b1b91ef85b309d0945 | [log] [tgz] |
---|---|---|
author | Tomohito Esaki <etom@igel.co.jp> | Tue Apr 04 17:54:24 2017 +0100 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Fri Apr 07 12:45:12 2017 +0300 |
tree | 6ead89adae3754d18f1e9858c4610795952f6206 | |
parent | 0b70fa4b56068879efc6e388bbffe2a9731a366e [diff] |
compositor-drm: Refactor destroy drm_fb function The drm_fb destroy callback to mostly the same thing regardless of whether the buffer is a dumb buffer or gbm buffer. This patch refactors the common parts into a new function that can be called for both cases. [daniels: Rebased on top of fb->fd changes, cosmetic changes.] Signed-off-by: Tomohito Esaki <etom@igel.co.jp> Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>