mtk_drm_fb.h 824 B

123456789101112131415161718192021222324
  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. #ifndef MTK_DRM_FB_H
  14. #define MTK_DRM_FB_H
  15. struct drm_gem_object *mtk_fb_get_gem_obj(struct drm_framebuffer *fb);
  16. int mtk_fb_wait(struct drm_framebuffer *fb);
  17. struct drm_framebuffer *mtk_drm_mode_fb_create(struct drm_device *dev,
  18. struct drm_file *file,
  19. const struct drm_mode_fb_cmd2 *cmd);
  20. #endif /* MTK_DRM_FB_H */