drm/mtk: Move GEM BO to drm_framebuffer
authorDaniel Stone <daniels@collabora.com>
Fri, 18 May 2018 13:47:04 +0000 (14:47 +0100)
committerCK Hu <ck.hu@mediatek.com>
Wed, 27 Jun 2018 16:27:36 +0000 (00:27 +0800)
commit548cb82538582f1b2badbc78df83c46899b6c694
tree6a04818ab778358aa754dfd9a651ebfcafecc5cd
parent06ede493a9d755185ba8a97225ce1352fa5c310c
drm/mtk: Move GEM BO to drm_framebuffer

Since drm_framebuffer can now store GEM objects directly, place them
there rather than in our own subclass. As this makes the framebuffer
create_handle and destroy functions the same as the GEM framebuffer
helper, we can reuse those.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/mediatek/mtk_drm_fb.c
drivers/gpu/drm/mediatek/mtk_drm_fb.h
drivers/gpu/drm/mediatek/mtk_drm_plane.c