Home
last modified time | relevance | path

Searched refs:fb_helper (Results 1 – 11 of 11) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/
Ddrm_fb_helper.c103 int drm_fb_helper_single_add_all_connectors(struct drm_fb_helper *fb_helper) in drm_fb_helper_single_add_all_connectors() argument
105 struct drm_device *dev = fb_helper->dev; in drm_fb_helper_single_add_all_connectors()
121 fb_helper->connector_info[fb_helper->connector_count++] = fb_helper_connector; in drm_fb_helper_single_add_all_connectors()
126 for (i = 0; i < fb_helper->connector_count; i++) { in drm_fb_helper_single_add_all_connectors()
127 kfree(fb_helper->connector_info[i]); in drm_fb_helper_single_add_all_connectors()
128 fb_helper->connector_info[i] = NULL; in drm_fb_helper_single_add_all_connectors()
130 fb_helper->connector_count = 0; in drm_fb_helper_single_add_all_connectors()
137 int drm_fb_helper_add_one_connector(struct drm_fb_helper *fb_helper, struct drm_connector *connecto… in drm_fb_helper_add_one_connector() argument
145 WARN_ON(!mutex_is_locked(&fb_helper->dev->mode_config.mutex)); in drm_fb_helper_add_one_connector()
146 if (fb_helper->connector_count + 1 > fb_helper->connector_info_alloc_count) { in drm_fb_helper_add_one_connector()
[all …]
Ddrm_fb_cma_helper.c34 struct drm_fb_helper fb_helper; member
40 return container_of(helper, struct drm_fbdev_cma, fb_helper); in to_fbdev_cma()
334 helper = &fbdev_cma->fb_helper; in drm_fbdev_cma_init()
377 drm_fb_helper_unregister_fbi(&fbdev_cma->fb_helper); in drm_fbdev_cma_fini()
378 drm_fb_helper_release_fbi(&fbdev_cma->fb_helper); in drm_fbdev_cma_fini()
385 drm_fb_helper_fini(&fbdev_cma->fb_helper); in drm_fbdev_cma_fini()
399 drm_fb_helper_restore_fbdev_mode_unlocked(&fbdev_cma->fb_helper); in drm_fbdev_cma_restore_mode()
413 drm_fb_helper_hotplug_event(&fbdev_cma->fb_helper); in drm_fbdev_cma_hotplug_event()
/linux-4.4.14/include/drm/
Ddrm_fb_helper.h96 bool (*initial_config)(struct drm_fb_helper *fb_helper,
164 int drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper);
166 struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper);
167 void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper);
168 void drm_fb_helper_release_fbi(struct drm_fb_helper *fb_helper);
169 void drm_fb_helper_fill_var(struct fb_info *info, struct drm_fb_helper *fb_helper,
174 void drm_fb_helper_unlink_fbi(struct drm_fb_helper *fb_helper);
195 void drm_fb_helper_set_suspend(struct drm_fb_helper *fb_helper, int state);
199 int drm_fb_helper_hotplug_event(struct drm_fb_helper *fb_helper);
200 int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel);
[all …]
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c234 private->fb_helper = helper = &fbdev->drm_fb_helper; in exynos_drm_fbdev_init()
265 private->fb_helper = NULL; in exynos_drm_fbdev_init()
272 struct drm_fb_helper *fb_helper) in exynos_drm_fbdev_destroy() argument
274 struct exynos_drm_fbdev *exynos_fbd = to_exynos_fbdev(fb_helper); in exynos_drm_fbdev_destroy()
282 if (fb_helper->fb && fb_helper->fb->funcs) { in exynos_drm_fbdev_destroy()
283 fb = fb_helper->fb; in exynos_drm_fbdev_destroy()
290 drm_fb_helper_unregister_fbi(fb_helper); in exynos_drm_fbdev_destroy()
291 drm_fb_helper_release_fbi(fb_helper); in exynos_drm_fbdev_destroy()
293 drm_fb_helper_fini(fb_helper); in exynos_drm_fbdev_destroy()
301 if (!private || !private->fb_helper) in exynos_drm_fbdev_fini()
[all …]
Dexynos_drm_fb.c212 struct drm_fb_helper *fb_helper = private->fb_helper; in exynos_drm_output_poll_changed() local
214 if (fb_helper) in exynos_drm_output_poll_changed()
215 drm_fb_helper_hotplug_event(fb_helper); in exynos_drm_output_poll_changed()
Dexynos_drm_drv.h182 struct drm_fb_helper *fb_helper; member
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_fbdev.c50 struct drm_fb_helper *fb_helper = info->par; in intel_fbdev_set_par() local
52 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_set_par()
58 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_set_par()
60 mutex_unlock(&fb_helper->dev->struct_mutex); in intel_fbdev_set_par()
68 struct drm_fb_helper *fb_helper = info->par; in intel_fbdev_blank() local
70 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank()
76 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_blank()
78 mutex_unlock(&fb_helper->dev->struct_mutex); in intel_fbdev_blank()
87 struct drm_fb_helper *fb_helper = info->par; in intel_fbdev_pan_display() local
89 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_pan_display()
[all …]
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c163 struct drm_fb_helper *fb_helper = &private->fbdev_helper; in rockchip_drm_output_poll_changed() local
165 if (fb_helper) in rockchip_drm_output_poll_changed()
166 drm_fb_helper_hotplug_event(fb_helper); in rockchip_drm_output_poll_changed()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_fb.c404 struct drm_fb_helper *fb_helper; in radeon_fbdev_restore_mode() local
410 fb_helper = &rfbdev->helper; in radeon_fbdev_restore_mode()
412 ret = drm_fb_helper_restore_fbdev_mode_unlocked(fb_helper); in radeon_fbdev_restore_mode()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c410 struct drm_fb_helper *fb_helper; in amdgpu_fbdev_restore_mode() local
416 fb_helper = &afbdev->helper; in amdgpu_fbdev_restore_mode()
418 ret = drm_fb_helper_restore_fbdev_mode_unlocked(fb_helper); in amdgpu_fbdev_restore_mode()
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_fbdev.c15 struct drm_fb_helper *fb_helper = info->par; in bochsfb_mmap() local
17 container_of(fb_helper, struct bochs_device, fb.helper); in bochsfb_mmap()