Linux 4.9.243
[linux/fpc-iii.git] / drivers / gpu / drm / mediatek / mtk_drm_fb.h
blob9b2ae345a4e901fa80493a6610cb61233a501f86
1 /*
2 * Copyright (c) 2015 MediaTek Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef MTK_DRM_FB_H
15 #define MTK_DRM_FB_H
17 struct drm_gem_object *mtk_fb_get_gem_obj(struct drm_framebuffer *fb);
18 int mtk_fb_wait(struct drm_framebuffer *fb);
19 struct drm_framebuffer *mtk_drm_mode_fb_create(struct drm_device *dev,
20 struct drm_file *file,
21 const struct drm_mode_fb_cmd2 *cmd);
23 #endif /* MTK_DRM_FB_H */