Blame view
include/drm/drm_fb_cma_helper.h
1.76 KB
2e3b3c42f DRM: Add DRM KMS/... |
1 2 3 4 5 |
#ifndef __DRM_FB_CMA_HELPER_H__ #define __DRM_FB_CMA_HELPER_H__ struct drm_fbdev_cma; struct drm_gem_cma_object; |
199c77179 drm/fb-cma-helper... |
6 7 8 |
struct drm_fb_helper_surface_size; struct drm_framebuffer_funcs; struct drm_fb_helper_funcs; |
2e3b3c42f DRM: Add DRM KMS/... |
9 |
struct drm_framebuffer; |
199c77179 drm/fb-cma-helper... |
10 |
struct drm_fb_helper; |
2e3b3c42f DRM: Add DRM KMS/... |
11 12 13 |
struct drm_device; struct drm_file; struct drm_mode_fb_cmd2; |
199c77179 drm/fb-cma-helper... |
14 15 16 |
struct drm_fbdev_cma *drm_fbdev_cma_init_with_funcs(struct drm_device *dev, unsigned int preferred_bpp, unsigned int num_crtc, unsigned int max_conn_count, const struct drm_fb_helper_funcs *funcs); |
2e3b3c42f DRM: Add DRM KMS/... |
17 18 19 20 21 22 23 |
struct drm_fbdev_cma *drm_fbdev_cma_init(struct drm_device *dev, unsigned int preferred_bpp, unsigned int num_crtc, unsigned int max_conn_count); void drm_fbdev_cma_fini(struct drm_fbdev_cma *fbdev_cma); void drm_fbdev_cma_restore_mode(struct drm_fbdev_cma *fbdev_cma); void drm_fbdev_cma_hotplug_event(struct drm_fbdev_cma *fbdev_cma); |
917f42533 drm/fb_cma_helper... |
24 |
void drm_fbdev_cma_set_suspend(struct drm_fbdev_cma *fbdev_cma, int state); |
199c77179 drm/fb-cma-helper... |
25 26 |
int drm_fbdev_cma_create_with_funcs(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes, |
fdce18460 drm/fb-cma-helper... |
27 |
const struct drm_framebuffer_funcs *funcs); |
199c77179 drm/fb-cma-helper... |
28 29 30 31 |
void drm_fb_cma_destroy(struct drm_framebuffer *fb); int drm_fb_cma_create_handle(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int *handle); |
2e3b3c42f DRM: Add DRM KMS/... |
32 |
|
3995b3954 drm/fb-cma-helper... |
33 34 35 |
struct drm_framebuffer *drm_fb_cma_create_with_funcs(struct drm_device *dev, struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd, const struct drm_framebuffer_funcs *funcs); |
2e3b3c42f DRM: Add DRM KMS/... |
36 |
struct drm_framebuffer *drm_fb_cma_create(struct drm_device *dev, |
1eb83451b drm: Pass the use... |
37 |
struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd); |
2e3b3c42f DRM: Add DRM KMS/... |
38 39 40 |
struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb, unsigned int plane); |
6f646095e drm/cma: add debu... |
41 |
#ifdef CONFIG_DEBUG_FS |
80588a86a drm: fb: Add seq_... |
42 |
struct seq_file; |
6f646095e drm/cma: add debu... |
43 44 |
int drm_fb_cma_debugfs_show(struct seq_file *m, void *arg); #endif |
2e3b3c42f DRM: Add DRM KMS/... |
45 |
#endif |