1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef __INTEL_FBDEV_FB_H__
7 #define __INTEL_FBDEV_FB_H__
8 
9 struct drm_fb_helper;
10 struct drm_fb_helper_surface_size;
11 struct drm_i915_gem_object;
12 struct drm_i915_private;
13 struct fb_info;
14 struct i915_vma;
15 
16 struct intel_framebuffer *intel_fbdev_fb_alloc(struct drm_fb_helper *helper,
17 					       struct drm_fb_helper_surface_size *sizes);
18 int intel_fbdev_fb_fill_info(struct drm_i915_private *i915, struct fb_info *info,
19 			     struct drm_i915_gem_object *obj, struct i915_vma *vma);
20 
21 #endif
22