diff options
author | Daniel Stone <daniels@collabora.com> | 2018-05-18 14:47:04 +0100 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2018-06-28 00:27:36 +0800 |
commit | 548cb82538582f1b2badbc78df83c46899b6c694 (patch) | |
tree | 6a04818ab778358aa754dfd9a651ebfcafecc5cd /drivers/gpu/drm/mediatek/mtk_drm_fb.h | |
parent | 06ede493a9d755185ba8a97225ce1352fa5c310c (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_fb.h')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_drm_fb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_fb.h b/drivers/gpu/drm/mediatek/mtk_drm_fb.h index 9b2ae345a4e9..7f976b196a15 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_fb.h +++ b/drivers/gpu/drm/mediatek/mtk_drm_fb.h @@ -14,7 +14,6 @@ #ifndef MTK_DRM_FB_H #define MTK_DRM_FB_H -struct drm_gem_object *mtk_fb_get_gem_obj(struct drm_framebuffer *fb); int mtk_fb_wait(struct drm_framebuffer *fb); struct drm_framebuffer *mtk_drm_mode_fb_create(struct drm_device *dev, struct drm_file *file, |