Home
last modified time | relevance | path

Searched refs:fbdev_cma (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/
Ddrm_fb_cma_helper.c116 struct drm_fbdev_cma *fbdev_cma; in drm_fb_cma_fbdev_init() local
119 fbdev_cma = drm_fbdev_cma_init(dev, preferred_bpp, max_conn_count); in drm_fb_cma_fbdev_init()
120 if (IS_ERR(fbdev_cma)) in drm_fb_cma_fbdev_init()
121 return PTR_ERR(fbdev_cma); in drm_fb_cma_fbdev_init()
153 struct drm_fbdev_cma *fbdev_cma; in drm_fbdev_cma_init() local
157 fbdev_cma = kzalloc(sizeof(*fbdev_cma), GFP_KERNEL); in drm_fbdev_cma_init()
158 if (!fbdev_cma) in drm_fbdev_cma_init()
161 fb_helper = &fbdev_cma->fb_helper; in drm_fbdev_cma_init()
174 return fbdev_cma; in drm_fbdev_cma_init()
179 kfree(fbdev_cma); in drm_fbdev_cma_init()
[all …]
/Linux-v4.19/include/drm/
Ddrm_fb_cma_helper.h25 void drm_fbdev_cma_fini(struct drm_fbdev_cma *fbdev_cma);
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,