compositor-drm: Drop output from release_fb
authorDaniel Stone <daniels@collabora.com>
Tue, 4 Apr 2017 16:54:25 +0000 (17:54 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 7 Apr 2017 09:45:12 +0000 (12:45 +0300)
commit05a5ac2b8f5a7e702913f9cf78e79673a819f4ff
treee989d336564a64ae09d864b8c5e5ccac434b96f2
parent576f42effe1af94f1bf546b1b91ef85b309d0945
compositor-drm: Drop output from release_fb

We only need it for the GBM surface the FB was originally created
against; a mismatch here is very bad indeed, so no reason to pass it in
explictly every time rather than store it.

Following patches change drm_fb to be explicitly reference counted; in
order to reduce churn, rename drm_output_release_fb to drm_fb_unref
whilst changing its call signature here, even though it does not yet
actually perform reference counting.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Armin Krezović <krezovic.armin@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
libweston/compositor-drm.c