1/* 2 * Copyright (c) 2015 MediaTek Inc. 3 * 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. 7 * 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. 12 */ 13 14#ifndef MTK_DRM_FB_H 15#define MTK_DRM_FB_H 16 17struct drm_gem_object *mtk_fb_get_gem_obj(struct drm_framebuffer *fb); 18int mtk_fb_wait(struct drm_framebuffer *fb); 19struct drm_framebuffer *mtk_drm_mode_fb_create(struct drm_device *dev, 20 struct drm_file *file, 21 const struct drm_mode_fb_cmd2 *cmd); 22 23#endif /* MTK_DRM_FB_H */ 24