summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mediatek/mtk_drm_fb.h
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2018-05-18 14:47:04 +0100
committerDaniel Stone <daniels@collabora.com>2018-05-18 15:56:16 +0100
commit81a073d14c7a46f6e7282a5ffc24f112ac5429ed (patch)
tree3e7b8b05bd52ca255319ead8c63d0b75c3fc1762 /drivers/gpu/drm/mediatek/mtk_drm_fb.h
parentc734f496770801f97ae1a59607634b972b002cdf (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> Reviewed-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> Link: https://patchwork.freedesktop.org/patch/msgid/20180518134705.12533-2-daniels@collabora.com
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_fb.h')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_drm_fb.h1
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,