Searched refs:fb_helper (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_fb_helper.c | 95 int drm_fb_helper_single_add_all_connectors(struct drm_fb_helper *fb_helper) in drm_fb_helper_single_add_all_connectors() argument 97 struct drm_device *dev = fb_helper->dev; in drm_fb_helper_single_add_all_connectors() 109 fb_helper->connector_info[fb_helper->connector_count++] = fb_helper_connector; in drm_fb_helper_single_add_all_connectors() 113 for (i = 0; i < fb_helper->connector_count; i++) { in drm_fb_helper_single_add_all_connectors() 114 kfree(fb_helper->connector_info[i]); in drm_fb_helper_single_add_all_connectors() 115 fb_helper->connector_info[i] = NULL; in drm_fb_helper_single_add_all_connectors() 117 fb_helper->connector_count = 0; in drm_fb_helper_single_add_all_connectors() 122 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 127 WARN_ON(!mutex_is_locked(&fb_helper->dev->mode_config.mutex)); in drm_fb_helper_add_one_connector() 128 if (fb_helper->connector_count + 1 > fb_helper->connector_info_alloc_count) { in drm_fb_helper_add_one_connector() [all …]
|
D | drm_fb_cma_helper.c | 34 struct drm_fb_helper fb_helper; member 40 return container_of(helper, struct drm_fbdev_cma, fb_helper); in to_fbdev_cma() 357 helper = &fbdev_cma->fb_helper; in drm_fbdev_cma_init() 400 if (fbdev_cma->fb_helper.fbdev) { in drm_fbdev_cma_fini() 404 info = fbdev_cma->fb_helper.fbdev; in drm_fbdev_cma_fini() 420 drm_fb_helper_fini(&fbdev_cma->fb_helper); in drm_fbdev_cma_fini() 434 drm_fb_helper_restore_fbdev_mode_unlocked(&fbdev_cma->fb_helper); in drm_fbdev_cma_restore_mode() 448 drm_fb_helper_hotplug_event(&fbdev_cma->fb_helper); in drm_fbdev_cma_hotplug_event()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 259 private->fb_helper = helper = &fbdev->drm_fb_helper; in exynos_drm_fbdev_init() 293 private->fb_helper = NULL; in exynos_drm_fbdev_init() 300 struct drm_fb_helper *fb_helper) in exynos_drm_fbdev_destroy() argument 302 struct exynos_drm_fbdev *exynos_fbd = to_exynos_fbdev(fb_helper); in exynos_drm_fbdev_destroy() 310 if (fb_helper->fb && fb_helper->fb->funcs) { in exynos_drm_fbdev_destroy() 311 fb = fb_helper->fb; in exynos_drm_fbdev_destroy() 319 if (fb_helper->fbdev) { in exynos_drm_fbdev_destroy() 323 info = fb_helper->fbdev; in exynos_drm_fbdev_destroy() 334 drm_fb_helper_fini(fb_helper); in exynos_drm_fbdev_destroy() 342 if (!private || !private->fb_helper) in exynos_drm_fbdev_fini() [all …]
|
D | exynos_drm_fb.c | 260 struct drm_fb_helper *fb_helper = private->fb_helper; in exynos_drm_output_poll_changed() local 262 if (fb_helper) in exynos_drm_output_poll_changed() 263 drm_fb_helper_hotplug_event(fb_helper); in exynos_drm_output_poll_changed()
|
D | exynos_drm_drv.h | 243 struct drm_fb_helper *fb_helper; member
|
/linux-4.1.27/include/drm/ |
D | drm_fb_helper.h | 96 bool (*initial_config)(struct drm_fb_helper *fb_helper, 138 bool drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper); 139 void drm_fb_helper_fill_var(struct fb_info *info, struct drm_fb_helper *fb_helper, 146 int drm_fb_helper_hotplug_event(struct drm_fb_helper *fb_helper); 147 int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel); 148 int drm_fb_helper_single_add_all_connectors(struct drm_fb_helper *fb_helper); 158 int drm_fb_helper_add_one_connector(struct drm_fb_helper *fb_helper, struct drm_connector *connecto… 159 int drm_fb_helper_remove_one_connector(struct drm_fb_helper *fb_helper,
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_fbdev.c | 50 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() 65 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_set_par() 68 mutex_unlock(&fb_helper->dev->struct_mutex); in intel_fbdev_set_par() 76 struct drm_fb_helper *fb_helper = info->par; in intel_fbdev_blank() local 78 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank() 91 mutex_lock(&fb_helper->dev->struct_mutex); in intel_fbdev_blank() 93 mutex_unlock(&fb_helper->dev->struct_mutex); in intel_fbdev_blank() 311 intel_fb_helper_crtc(struct drm_fb_helper *fb_helper, struct drm_crtc *crtc) in intel_fb_helper_crtc() argument 315 for (i = 0; i < fb_helper->crtc_count; i++) in intel_fb_helper_crtc() [all …]
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 163 struct drm_fb_helper *fb_helper = &private->fbdev_helper; in rockchip_drm_output_poll_changed() local 165 drm_fb_helper_hotplug_event(fb_helper); in rockchip_drm_output_poll_changed()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 68 struct drm_fb_helper *fb_helper = info->par; in radeon_fb_helper_set_par() local 71 for (i = 0; i < fb_helper->crtc_count; i++) { in radeon_fb_helper_set_par() 72 struct drm_crtc *crtc = fb_helper->crtc_info[i].mode_set.crtc; in radeon_fb_helper_set_par()
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
D | bochs_fbdev.c | 15 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()
|