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 17 int mtk_fb_wait(struct drm_framebuffer *fb); 18 struct drm_framebuffer *mtk_drm_mode_fb_create(struct drm_device *dev, 19 struct drm_file *file, 20 const struct drm_mode_fb_cmd2 *cmd); 21 22 #endif /* MTK_DRM_FB_H */ 23