/src/sys/arch/arm/nvidia/ |
tegra_drm_fb.c | 53 struct tegra_fbdev *fbdev; local in function:tegra_drm_fb_init 56 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); 58 drm_fb_helper_prepare(ddev, &fbdev->helper, &tegra_fb_helper_funcs); 60 error = drm_fb_helper_init(ddev, &fbdev->helper, 1); 62 kmem_free(fbdev, sizeof(*fbdev)); 77 fbdev->helper.fb = 80 drm_fb_helper_single_add_all_connectors(&fbdev->helper); 84 drm_fb_helper_initial_config(&fbdev->helper, 32) [all...] |
/src/sys/arch/arm/rockchip/ |
rk_drm.c | 359 helper->fbdev = config_found(ddev->dev, &sfa, NULL, 361 if (helper->fbdev == NULL) { 378 struct rk_drm_fbdev *fbdev; local in function:rk_drm_load 421 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); 423 drm_fb_helper_prepare(ddev, &fbdev->helper, &rk_drm_fb_helper_funcs); 425 error = drm_fb_helper_init(ddev, &fbdev->helper, num_crtc); 429 fbdev->helper.fb = kmem_zalloc(sizeof(struct rk_drm_framebuffer), KM_SLEEP); 431 drm_fb_helper_single_add_all_connectors(&fbdev->helper); 433 drm_fb_helper_initial_config(&fbdev->helper, 32) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_fbcon.c | 248 if (drm->fbcon && drm->fbcon->helper.fbdev) { 249 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; 250 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; 260 if (drm->fbcon && drm->fbcon->helper.fbdev) { 261 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; 274 if (fbcon->helper.fbdev) 275 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; 295 struct fb_info *info = fbcon->helper.fbdev; 323 struct fb_info *info = fbcon->helper.fbdev; 424 helper->fbdev = config_found(dev->dev, &nfa, nouveau_fbcon_print [all...] |
/src/sys/arch/arm/sunxi/ |
sunxi_drm.c | 411 helper->fbdev = config_found(ddev->dev, &sfa, NULL, 413 if (helper->fbdev == NULL) { 430 struct sunxi_drm_fbdev *fbdev; local in function:sunxi_drm_load 468 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); 470 drm_fb_helper_prepare(ddev, &fbdev->helper, &sunxi_drm_fb_helper_funcs); 472 error = drm_fb_helper_init(ddev, &fbdev->helper, num_crtc); 476 fbdev->helper.fb = kmem_zalloc(sizeof(struct sunxi_drm_framebuffer), KM_SLEEP); 478 drm_fb_helper_single_add_all_connectors(&fbdev->helper); 482 drm_fb_helper_initial_config(&fbdev->helper, 32) [all...] |
/src/sys/arch/arm/ti/ |
ti_lcdc.c | 598 helper->fbdev = config_found(ddev->dev, &tfa, NULL, 600 if (helper->fbdev == NULL) { 616 struct tilcdc_fbdev *fbdev; local in function:tilcdc_load 640 fbdev = kmem_zalloc(sizeof(*fbdev), KM_SLEEP); 642 drm_fb_helper_prepare(ddev, &fbdev->helper, &tilcdc_fb_helper_funcs); 644 error = drm_fb_helper_init(ddev, &fbdev->helper, 1); 648 fbdev->helper.fb = kmem_zalloc(sizeof(struct tilcdc_framebuffer), 651 drm_fb_helper_single_add_all_connectors(&fbdev->helper); 655 drm_fb_helper_initial_config(&fbdev->helper, 32) [all...] |
/src/sys/arch/arm/imx/ |
imx51_ipuv3var.h | 102 device_t fbdev; member in struct:imx51_ipuv3_softc
|
imx51_ipuv3.c | 661 sc->fbdev = config_found(sc->dev, &ifb, imx51_ipuv3_print, CFARGS_NONE);
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_fbdev.c | 153 /* If the FB is too big, just don't use it since fbdev is not very 268 helper->fbdev = config_found(dev->dev, &ifa, NULL, 271 if (helper->fbdev == NULL) { 294 /* Our framebuffer is the entirety of fbdev's system memory */ 371 * fb, and if so, we re-use it for the fbdev configuration. 529 dev_priv->fbdev = ifbdev; 549 struct intel_fbdev *ifbdev = to_i915(dev)->fbdev; 569 struct intel_fbdev *ifbdev = dev_priv->fbdev; 585 struct intel_fbdev *ifbdev = fetch_and_zero(&dev_priv->fbdev); 593 /* Suspends/resumes fbdev processing of incoming HPD events. When resuming HP [all...] |
intel_dp_mst.c | 718 if (dev_priv->fbdev) 719 drm_fb_helper_add_one_connector(&dev_priv->fbdev->helper, 733 if (dev_priv->fbdev) 734 drm_fb_helper_remove_one_connector(&dev_priv->fbdev->helper,
|
/src/sys/external/bsd/drm2/i915drm/ |
intelfb.c | 173 struct intel_fbdev *const fbdev = container_of(helper, local in function:intelfb_drmfb_mmapfb 179 struct i915_vma *const vma = fbdev->vma;
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_fb_helper.c | 62 "Enable legacy fbdev emulation [default=true]"); 67 "Overallocation of the fbdev buffer (%) [default=" 72 * to keep leaking the fbdev physical address to the user-space program 73 * handling the fbdev buffer. 80 * considered as a broken and legacy behaviour from a modern fbdev device. 86 "Allow unsafe leaking fbdev physical smem address [default=false]"); 100 * DOC: fbdev helpers 102 * The fb helper functions are useful to provide an fbdev on top of a drm kernel 108 * should try out the generic fbdev emulation using drm_fbdev_generic_setup(). 112 * At runtime drivers should restore the fbdev console by usin [all...] |
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_fb_helper.h | 54 * struct drm_fb_helper_surface_size - describes fbdev size and scanout surface size 55 * @fb_width: fbdev width 56 * @fb_height: fbdev height 62 * Note that the scanout surface width/height may be larger than the fbdev 65 * to scanout). But the fbdev width/height is sized to the minimum width/ 80 * struct drm_fb_helper_funcs - driver callbacks for the fbdev emulation library 82 * Driver callbacks used by the fbdev emulation helper library. 88 * Driver callback to allocate and initialize the fbdev info structure. 90 * back the fbdev. 104 * struct drm_fb_helper - main structure to emulate fbdev on top of KM 140 device_t fbdev; member in struct:drm_fb_helper 142 struct fb_info *fbdev; member in struct:drm_fb_helper [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_fb.c | 278 helper->fbdev = config_found(adev->ddev->dev, &afa, NULL, 281 if (helper->fbdev == NULL) { 358 /* don't init fbdev on hw without DCE */ 362 /* don't init fbdev if there are no connectors */
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_fb.c | 279 helper->fbdev = config_found(rdev->ddev->dev, &rfa, NULL, 282 if (helper->fbdev == NULL) { 384 /* don't enable fbdev if no connectors */
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_debugfs.c | 1442 if (dev_priv->fbdev && dev_priv->fbdev->helper.fb) { 1443 fbdev_fb = to_intel_framebuffer(dev_priv->fbdev->helper.fb);
|
i915_drv.h | 1151 /* list of fbdev register on this device */ 1152 struct intel_fbdev *fbdev; member in struct:drm_i915_private
|