hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/drm/drm_fb_cma_helper.h
....@@ -2,33 +2,10 @@
22 #ifndef __DRM_FB_CMA_HELPER_H__
33 #define __DRM_FB_CMA_HELPER_H__
44
5
-struct drm_fbdev_cma;
6
-struct drm_gem_cma_object;
5
+#include <linux/types.h>
76
8
-struct drm_fb_helper_surface_size;
9
-struct drm_framebuffer_funcs;
10
-struct drm_fb_helper_funcs;
117 struct drm_framebuffer;
12
-struct drm_fb_helper;
13
-struct drm_device;
14
-struct drm_file;
15
-struct drm_mode_fb_cmd2;
16
-struct drm_plane;
178 struct drm_plane_state;
18
-
19
-int drm_fb_cma_fbdev_init(struct drm_device *dev, unsigned int preferred_bpp,
20
- unsigned int max_conn_count);
21
-void drm_fb_cma_fbdev_fini(struct drm_device *dev);
22
-
23
-struct drm_fbdev_cma *drm_fbdev_cma_init(struct drm_device *dev,
24
- unsigned int preferred_bpp, unsigned int max_conn_count);
25
-void drm_fbdev_cma_fini(struct drm_fbdev_cma *fbdev_cma);
26
-
27
-void drm_fbdev_cma_restore_mode(struct drm_fbdev_cma *fbdev_cma);
28
-void drm_fbdev_cma_hotplug_event(struct drm_fbdev_cma *fbdev_cma);
29
-void drm_fbdev_cma_set_suspend(struct drm_fbdev_cma *fbdev_cma, bool state);
30
-void drm_fbdev_cma_set_suspend_unlocked(struct drm_fbdev_cma *fbdev_cma,
31
- bool state);
329
3310 struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb,
3411 unsigned int plane);