Home
last modified time | relevance | path

Searched refs:fbdev (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/sys/arch/arm/nvidia/
H A Dtegra_drm_fb.c53 struct tegra_fbdev *fbdev; in tegra_drm_fb_init() local
56 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); in tegra_drm_fb_init()
58 drm_fb_helper_prepare(ddev, &fbdev->helper, &tegra_fb_helper_funcs); in tegra_drm_fb_init()
60 error = drm_fb_helper_init(ddev, &fbdev->helper, 1); in tegra_drm_fb_init()
62 kmem_free(fbdev, sizeof(*fbdev)); in tegra_drm_fb_init()
77 fbdev->helper.fb = in tegra_drm_fb_init()
80 drm_fb_helper_single_add_all_connectors(&fbdev->helper); in tegra_drm_fb_init()
84 drm_fb_helper_initial_config(&fbdev->helper, 32); in tegra_drm_fb_init()
110 helper->fbdev = config_found(ddev->dev, &tfa, NULL, in tegra_fb_probe()
112 if (helper->fbdev == NULL) { in tegra_fb_probe()
/netbsd-src/sys/arch/arm/rockchip/
H A Drk_drm.c363 helper->fbdev = config_found(ddev->dev, &sfa, NULL, in rk_drm_fb_probe()
365 if (helper->fbdev == NULL) { in rk_drm_fb_probe()
382 struct rk_drm_fbdev *fbdev; in rk_drm_load() local
425 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); in rk_drm_load()
427 drm_fb_helper_prepare(ddev, &fbdev->helper, &rk_drm_fb_helper_funcs); in rk_drm_load()
429 error = drm_fb_helper_init(ddev, &fbdev->helper, num_crtc); in rk_drm_load()
433 fbdev->helper.fb = kmem_zalloc(sizeof(struct rk_drm_framebuffer), KM_SLEEP); in rk_drm_load()
435 drm_fb_helper_single_add_all_connectors(&fbdev->helper); in rk_drm_load()
437 drm_fb_helper_initial_config(&fbdev->helper, 32); in rk_drm_load()
446 kmem_free(fbdev, sizeof(*fbdev)); in rk_drm_load()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_drm.c415 helper->fbdev = config_found(ddev->dev, &sfa, NULL, in sunxi_drm_fb_probe()
417 if (helper->fbdev == NULL) { in sunxi_drm_fb_probe()
434 struct sunxi_drm_fbdev *fbdev; in sunxi_drm_load() local
472 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); in sunxi_drm_load()
474 drm_fb_helper_prepare(ddev, &fbdev->helper, &sunxi_drm_fb_helper_funcs); in sunxi_drm_load()
476 error = drm_fb_helper_init(ddev, &fbdev->helper, num_crtc); in sunxi_drm_load()
480 fbdev->helper.fb = kmem_zalloc(sizeof(struct sunxi_drm_framebuffer), KM_SLEEP); in sunxi_drm_load()
482 drm_fb_helper_single_add_all_connectors(&fbdev->helper); in sunxi_drm_load()
486 drm_fb_helper_initial_config(&fbdev->helper, 32); in sunxi_drm_load()
495 kmem_free(fbdev, sizeof(*fbdev)); in sunxi_drm_load()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_fbcon.c248 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_save_disable()
249 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
250 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
260 if (drm->fbcon && drm->fbcon->helper.fbdev) { in nouveau_fbcon_accel_restore()
261 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; in nouveau_fbcon_accel_restore()
274 if (fbcon->helper.fbdev) in nouveau_fbcon_accel_fini()
275 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_fini()
295 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_accel_init()
323 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_zfill()
424 helper->fbdev = config_found(dev->dev, &nfa, nouveau_fbcon_print, in nouveau_fbcon_create()
[all …]
/netbsd-src/sys/arch/arm/ti/
H A Dti_lcdc.c601 helper->fbdev = config_found(ddev->dev, &tfa, NULL, in tilcdc_fb_probe()
603 if (helper->fbdev == NULL) { in tilcdc_fb_probe()
619 struct tilcdc_fbdev *fbdev; in tilcdc_load() local
643 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); in tilcdc_load()
645 drm_fb_helper_prepare(ddev, &fbdev->helper, &tilcdc_fb_helper_funcs); in tilcdc_load()
647 error = drm_fb_helper_init(ddev, &fbdev->helper, 1); in tilcdc_load()
651 fbdev->helper.fb = kmem_zalloc(sizeof(struct tilcdc_framebuffer), in tilcdc_load()
654 drm_fb_helper_single_add_all_connectors(&fbdev->helper); in tilcdc_load()
658 drm_fb_helper_initial_config(&fbdev->helper, 32); in tilcdc_load()
663 kmem_free(fbdev, sizeof(*fbdev)); in tilcdc_load()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_fbdev.c268 helper->fbdev = config_found(dev->dev, &ifa, NULL, in intelfb_create()
271 if (helper->fbdev == NULL) { in intelfb_create()
529 dev_priv->fbdev = ifbdev; in intel_fbdev_init()
549 struct intel_fbdev *ifbdev = to_i915(dev)->fbdev; in intel_fbdev_initial_config_async()
569 struct intel_fbdev *ifbdev = dev_priv->fbdev; in intel_fbdev_unregister()
585 struct intel_fbdev *ifbdev = fetch_and_zero(&dev_priv->fbdev); in intel_fbdev_fini()
619 struct intel_fbdev *ifbdev = dev_priv->fbdev; in intel_fbdev_set_suspend()
625 info = ifbdev->helper.fbdev; in intel_fbdev_set_suspend()
672 struct intel_fbdev *ifbdev = to_i915(dev)->fbdev; in intel_fbdev_output_poll_changed()
691 struct intel_fbdev *ifbdev = to_i915(dev)->fbdev; in intel_fbdev_restore_mode()
H A Dintel_dp_mst.c718 if (dev_priv->fbdev) in intel_dp_register_mst_connector()
719 drm_fb_helper_add_one_connector(&dev_priv->fbdev->helper, in intel_dp_register_mst_connector()
733 if (dev_priv->fbdev) in intel_dp_destroy_mst_connector()
734 drm_fb_helper_remove_one_connector(&dev_priv->fbdev->helper, in intel_dp_destroy_mst_connector()
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_fb_helper.c391 fb_set_suspend(helper->fbdev, 0); in drm_fb_helper_resume_worker()
403 void *src = (char *)fb_helper->fbdev->screen_buffer + offset; in drm_fb_helper_dirty_blit_real()
558 fb_helper->fbdev = info; in drm_fb_helper_alloc_fbi()
584 int ret = -config_detach(fb_helper->fbdev, DETACH_FORCE); in drm_fb_helper_unregister_fbi()
588 if (fb_helper && fb_helper->fbdev) in drm_fb_helper_unregister_fbi()
589 unregister_framebuffer(fb_helper->fbdev); in drm_fb_helper_unregister_fbi()
618 info = fb_helper->fbdev; in drm_fb_helper_fini()
625 fb_helper->fbdev = NULL; in drm_fb_helper_fini()
864 if (fb_helper && fb_helper->fbdev) in drm_fb_helper_set_suspend()
865 fb_set_suspend(fb_helper->fbdev, suspend); in drm_fb_helper_set_suspend()
[all …]
H A DKconfig116 bool "Enable legacy fbdev support for your modesetting driver"
122 Choose this option if you have a need for the legacy fbdev
129 int "Overallocation of the fbdev buffer"
133 Defines the fbdev buffer overallocation in percent. Default
138 bool "Shamelessly allow leaking of fbdev physical address (DANGEROUS)"
143 use-cases to keep leaking the fbdev physical address to the
144 user-space program handling the fbdev buffer.
149 legacy behaviour from a modern fbdev device driver.
471 # Separate option because drm_panel_orientation_quirks.c is shared with fbdev
/netbsd-src/sys/external/bsd/drm2/i915drm/
H A Dintelfb.c173 struct intel_fbdev *const fbdev = container_of(helper, in intelfb_drmfb_mmapfb() local
179 struct i915_vma *const vma = fbdev->vma; in intelfb_drmfb_mmapfb()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_fb_helper.h140 device_t fbdev; member
142 struct fb_info *fbdev; member
/netbsd-src/sys/arch/arm/imx/
H A Dimx51_ipuv3var.h102 device_t fbdev; member
H A Dimx51_ipuv3.c661 sc->fbdev = config_found(sc->dev, &ifb, imx51_ipuv3_print, CFARGS_NONE); in imx51_ipuv3_attach_sub()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_fb.c278 helper->fbdev = config_found(adev->ddev->dev, &afa, NULL, in amdgpufb_create()
281 if (helper->fbdev == NULL) { in amdgpufb_create()
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_fb.c279 helper->fbdev = config_found(rdev->ddev->dev, &rfa, NULL, in radeonfb_create()
282 if (helper->fbdev == NULL) { in radeonfb_create()
/netbsd-src/external/mit/xorg/server/xorg-server/hw/xfree86/common/
H A DMakefile92 DRIVERS+= ati i810 ark cyrix siliconmotion via fbdev vesa \
/netbsd-src/external/mit/xorg/server/xorg-server.old/hw/xfree86/common/
H A DMakefile103 DRIVERS+= ati i810 ark cyrix siliconmotion via fbdev vesa \
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_debugfs.c1442 if (dev_priv->fbdev && dev_priv->fbdev->helper.fb) { in i915_gem_framebuffer_info()
1443 fbdev_fb = to_intel_framebuffer(dev_priv->fbdev->helper.fb); in i915_gem_framebuffer_info()
H A Di915_drv.h1152 struct intel_fbdev *fbdev; member