Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/
Ddrm_fb_helper.c231 __drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper, in __drm_fb_helper_restore_fbdev_mode_unlocked() argument
237 if (!drm_fbdev_emulation || !fb_helper) in __drm_fb_helper_restore_fbdev_mode_unlocked()
240 if (READ_ONCE(fb_helper->deferred_setup)) in __drm_fb_helper_restore_fbdev_mode_unlocked()
243 mutex_lock(&fb_helper->lock); in __drm_fb_helper_restore_fbdev_mode_unlocked()
250 ret = drm_client_modeset_commit_locked(&fb_helper->client); in __drm_fb_helper_restore_fbdev_mode_unlocked()
252 ret = drm_client_modeset_commit(&fb_helper->client); in __drm_fb_helper_restore_fbdev_mode_unlocked()
255 do_delayed = fb_helper->delayed_hotplug; in __drm_fb_helper_restore_fbdev_mode_unlocked()
257 fb_helper->delayed_hotplug = false; in __drm_fb_helper_restore_fbdev_mode_unlocked()
258 mutex_unlock(&fb_helper->lock); in __drm_fb_helper_restore_fbdev_mode_unlocked()
261 drm_fb_helper_hotplug_event(fb_helper); in __drm_fb_helper_restore_fbdev_mode_unlocked()
[all …]
Ddrm_modeset_helper.c203 drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 1); in drm_mode_config_helper_suspend()
206 drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0); in drm_mode_config_helper_suspend()
246 drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0); in drm_mode_config_helper_resume()
/Linux-v5.10/include/drm/
Ddrm_fb_helper.h225 int drm_fb_helper_restore_fbdev_mode_unlocked(struct drm_fb_helper *fb_helper);
227 struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper);
228 void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper);
230 struct drm_fb_helper *fb_helper,
255 void drm_fb_helper_set_suspend(struct drm_fb_helper *fb_helper, bool suspend);
256 void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper,
264 int drm_fb_helper_hotplug_event(struct drm_fb_helper *fb_helper);
265 int drm_fb_helper_initial_config(struct drm_fb_helper *fb_helper, int bpp_sel);
286 dev->fb_helper = helper; in drm_fb_helper_init()
294 helper->dev->fb_helper = NULL; in drm_fb_helper_fini()
[all …]
Ddrm_device.h330 struct drm_fb_helper *fb_helper; member
/Linux-v5.10/drivers/gpu/drm/gma500/
Dframebuffer.c43 struct drm_fb_helper *fb_helper = info->par; in psbfb_setcolreg() local
44 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_setcolreg()
80 struct drm_fb_helper *fb_helper = info->par; in psbfb_pan() local
81 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_pan()
148 struct drm_fb_helper *fb_helper = info->par; in psbfb_mmap() local
149 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_mmap()
301 static int psbfb_create(struct drm_fb_helper *fb_helper, in psbfb_create() argument
304 struct drm_device *dev = fb_helper->dev; in psbfb_create()
372 info = drm_fb_helper_alloc_fbi(fb_helper); in psbfb_create()
386 fb_helper->fb = fb; in psbfb_create()
[all …]
Daccel_2d.c229 struct drm_fb_helper *fb_helper = info->par; in psbfb_copyarea_accel() local
230 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_copyarea_accel()
313 struct drm_fb_helper *fb_helper = info->par; in psbfb_sync() local
314 struct drm_framebuffer *fb = fb_helper->fb; in psbfb_sync()
Dpsb_drv.h577 struct drm_fb_helper *fb_helper; member
/Linux-v5.10/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c177 private->fb_helper = helper = &fbdev->drm_fb_helper; in exynos_drm_fbdev_init()
201 private->fb_helper = NULL; in exynos_drm_fbdev_init()
208 struct drm_fb_helper *fb_helper) in exynos_drm_fbdev_destroy() argument
213 if (fb_helper->fb && fb_helper->fb->funcs) { in exynos_drm_fbdev_destroy()
214 fb = fb_helper->fb; in exynos_drm_fbdev_destroy()
219 drm_fb_helper_unregister_fbi(fb_helper); in exynos_drm_fbdev_destroy()
221 drm_fb_helper_fini(fb_helper); in exynos_drm_fbdev_destroy()
229 if (!private || !private->fb_helper) in exynos_drm_fbdev_fini()
232 fbdev = to_exynos_fbdev(private->fb_helper); in exynos_drm_fbdev_fini()
234 exynos_drm_fbdev_destroy(dev, private->fb_helper); in exynos_drm_fbdev_fini()
[all …]
Dexynos_drm_drv.h200 struct drm_fb_helper *fb_helper; member
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c52 struct drm_fb_helper *fb_helper = info->par; in amdgpufb_open() local
53 int ret = pm_runtime_get_sync(fb_helper->dev->dev); in amdgpufb_open()
55 pm_runtime_mark_last_busy(fb_helper->dev->dev); in amdgpufb_open()
56 pm_runtime_put_autosuspend(fb_helper->dev->dev); in amdgpufb_open()
65 struct drm_fb_helper *fb_helper = info->par; in amdgpufb_release() local
67 pm_runtime_mark_last_busy(fb_helper->dev->dev); in amdgpufb_release()
68 pm_runtime_put_autosuspend(fb_helper->dev->dev); in amdgpufb_release()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_fbdev.c61 struct drm_fb_helper *fb_helper = info->par; in intel_fbdev_set_par() local
63 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_set_par()
75 struct drm_fb_helper *fb_helper = info->par; in intel_fbdev_blank() local
77 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_blank()
90 struct drm_fb_helper *fb_helper = info->par; in intel_fbdev_pan_display() local
92 container_of(fb_helper, struct intel_fbdev, helper); in intel_fbdev_pan_display()
/Linux-v5.10/drivers/gpu/drm/vboxvideo/
Dvbox_mode.c137 if (fb1 == vbox->ddev.fb_helper->fb) in vbox_set_up_input_mapping()