xref: /linux/drivers/gpu/drm/i915/display/intel_fbdev_fb.h (revision 24b10e5f8e0d2bee1a10fc67011ea5d936c1a389)
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 drm_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