Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/video/fbdev/
Dbfin_adv7393fb.c116 static int dma_desc_list(struct adv7393fb_device *fbdev, u16 arg) in dma_desc_list() argument
119 fbdev->vb1 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
120 if (fbdev->vb1 == NULL) in dma_desc_list()
123 fbdev->av1 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
124 if (fbdev->av1 == NULL) in dma_desc_list()
127 fbdev->vb2 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
128 if (fbdev->vb2 == NULL) in dma_desc_list()
131 fbdev->av2 = l1_data_sram_zalloc(sizeof(struct dmasg)); in dma_desc_list()
132 if (fbdev->av2 == NULL) in dma_desc_list()
136 fbdev->vb1->next_desc_addr = fbdev->av1; in dma_desc_list()
[all …]
Dau1100fb.c108 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); in au1100fb_fb_blank() local
116 fbdev->regs->lcd_control |= LCD_CONTROL_GO; in au1100fb_fb_blank()
124 fbdev->regs->lcd_control &= ~LCD_CONTROL_GO; in au1100fb_fb_blank()
138 int au1100fb_setmode(struct au1100fb_device *fbdev) in au1100fb_setmode() argument
140 struct fb_info *info = &fbdev->info; in au1100fb_setmode()
144 if (!fbdev) in au1100fb_setmode()
148 if (panel_is_active(fbdev->panel) || panel_is_color(fbdev->panel)) { in au1100fb_setmode()
172 index = (fbdev->panel->control_base & LCD_CONTROL_SBPPF_MASK) >> LCD_CONTROL_SBPPF_BIT; in au1100fb_setmode()
188 info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \ in au1100fb_setmode()
192 fbdev->regs->lcd_control = fbdev->panel->control_base; in au1100fb_setmode()
[all …]
Docfb.c87 static inline u32 ocfb_readreg(struct ocfb_dev *fbdev, loff_t offset) in ocfb_readreg() argument
89 if (fbdev->little_endian) in ocfb_readreg()
90 return ioread32(fbdev->regs + offset); in ocfb_readreg()
92 return ioread32be(fbdev->regs + offset); in ocfb_readreg()
95 static void ocfb_writereg(struct ocfb_dev *fbdev, loff_t offset, u32 data) in ocfb_writereg() argument
97 if (fbdev->little_endian) in ocfb_writereg()
98 iowrite32(data, fbdev->regs + offset); in ocfb_writereg()
100 iowrite32be(data, fbdev->regs + offset); in ocfb_writereg()
103 static int ocfb_setupfb(struct ocfb_dev *fbdev) in ocfb_setupfb() argument
106 struct fb_var_screeninfo *var = &fbdev->info.var; in ocfb_setupfb()
[all …]
Dau1200fb.c700 static int au1200_setlocation (struct au1200fb_device *fbdev, int plane, in au1200_setlocation() argument
762 lcd->window[plane].winbuf1 = fbdev->fb_phys; in au1200_setlocation()
850 au1200_setlocation(fbdev, 0, win->w[0].xpos, win->w[0].ypos); in au1200_setpanel()
851 au1200_setlocation(fbdev, 1, win->w[1].xpos, win->w[1].ypos); in au1200_setpanel()
852 au1200_setlocation(fbdev, 2, win->w[2].xpos, win->w[2].ypos); in au1200_setpanel()
853 au1200_setlocation(fbdev, 3, win->w[3].xpos, win->w[3].ypos); in au1200_setpanel()
935 static void au1200_setmode(struct au1200fb_device *fbdev) in au1200_setmode() argument
937 int plane = fbdev->plane; in au1200_setmode()
944 au1200_setlocation(fbdev, plane, win->w[plane].xpos, win->w[plane].ypos); in au1200_setmode()
949 | LCD_WINCTRL2_BX_N(fbdev->fb_info->fix.line_length) in au1200_setmode()
[all …]
Dudlfb.c1371 static ssize_t metrics_bytes_rendered_show(struct device *fbdev, in metrics_bytes_rendered_show() argument
1373 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_bytes_rendered_show()
1379 static ssize_t metrics_bytes_identical_show(struct device *fbdev, in metrics_bytes_identical_show() argument
1381 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_bytes_identical_show()
1387 static ssize_t metrics_bytes_sent_show(struct device *fbdev, in metrics_bytes_sent_show() argument
1389 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_bytes_sent_show()
1395 static ssize_t metrics_cpu_kcycles_used_show(struct device *fbdev, in metrics_cpu_kcycles_used_show() argument
1397 struct fb_info *fb_info = dev_get_drvdata(fbdev); in metrics_cpu_kcycles_used_show()
1407 struct device *fbdev = container_of(kobj, struct device, kobj); in edid_show() local
1408 struct fb_info *fb_info = dev_get_drvdata(fbdev); in edid_show()
[all …]
Dbfin_adv7393fb.h306 static void bfin_config_ppi(struct adv7393fb_device *fbdev);
307 static int bfin_config_dma(struct adv7393fb_device *fbdev);
DKconfig2 # fbdev configuration
180 Common utility functions useful to fbdev drivers of VGA-based
345 See <http://www.linux-fbdev.org/> for information on framebuffer
1030 Because fbdev-2.6 requires that drivers must be able to
1077 Because fbdev-2.6 requires that drivers must be able to
1307 3.9.17 preview you can use both heads if you use SVGA over fbdev or
1308 the fbdev driver on first head and the fbdev driver on second head.
1489 Because fbdev-2.6 requires that drivers must be able to
1567 If you use any X server other than fbdev you should enable this
1793 source "drivers/video/fbdev/geode/Kconfig"
[all …]
/linux-4.4.14/drivers/video/fbdev/omap/
Domapfb_main.c121 static void omapfb_rqueue_lock(struct omapfb_device *fbdev) in omapfb_rqueue_lock() argument
123 mutex_lock(&fbdev->rqueue_mutex); in omapfb_rqueue_lock()
126 static void omapfb_rqueue_unlock(struct omapfb_device *fbdev) in omapfb_rqueue_unlock() argument
128 mutex_unlock(&fbdev->rqueue_mutex); in omapfb_rqueue_unlock()
142 static int ctrl_init(struct omapfb_device *fbdev) in ctrl_init() argument
150 fbdev->mem_desc.region[i].size = in ctrl_init()
152 fbdev->mem_desc.region_cnt = i; in ctrl_init()
155 if (!fbdev->mem_desc.region_cnt) { in ctrl_init()
156 struct lcd_panel *panel = fbdev->panel; in ctrl_init()
164 fbdev->mem_desc.region_cnt = 1; in ctrl_init()
[all …]
Dlcdc.c72 struct omapfb_device *fbdev; member
146 dev_err(lcdc.fbdev->dev, "timeout waiting for FRAME DONE\n"); in disable_controller()
157 dev_err(lcdc.fbdev->dev, in reset_controller()
166 dev_err(lcdc.fbdev->dev, in reset_controller()
184 struct omapfb_plane_struct *plane = lcdc.fbdev->fb_info[0]->par; in setup_lcd_dma()
185 struct fb_var_screeninfo *var = &lcdc.fbdev->fb_info[0]->var; in setup_lcd_dma()
217 dev_dbg(lcdc.fbdev->dev, in setup_lcd_dma()
296 struct fb_var_screeninfo *var = &lcdc.fbdev->fb_info[0]->var; in omap_lcdc_setup_plane()
297 struct lcd_panel *panel = lcdc.fbdev->panel; in omap_lcdc_setup_plane()
310 dev_dbg(lcdc.fbdev->dev, in omap_lcdc_setup_plane()
[all …]
Dhwa742.c131 struct omapfb_device *fbdev; member
187 dev_dbg(hwa742.fbdev->dev, "hwa742: enabled pixel doubling\n"); in set_format_regs()
192 dev_dbg(hwa742.fbdev->dev, "hwa742: disabled pixel doubling\n"); in set_format_regs()
352 int scr_width = hwa742.fbdev->panel->x_res; in send_frame_handler()
353 int scr_height = hwa742.fbdev->panel->y_res; in send_frame_handler()
356 dev_dbg(hwa742.fbdev->dev, "x %d y %d w %d h %d scr_width %d " in send_frame_handler()
501 dev_dbg(hwa742.fbdev->dev, "invalid update mode\n"); in hwa742_update_window_async()
508 dev_dbg(hwa742.fbdev->dev, "invalid window flag\n"); in hwa742_update_window_async()
575 dev_dbg(hwa742.fbdev->dev, "update_mode %d\n", hwa742.update_mode); in hwa742_bind_client()
577 omapfb_notify_clients(hwa742.fbdev, OMAPFB_EVENT_READY); in hwa742_bind_client()
[all …]
Dsossi.c80 struct omapfb_device *fbdev; member
226 dev_dbg(sossi.fbdev->dev, "Using TW0 = %d, TW1 = %d, div = %d\n", in _set_timing()
415 dev_dbg(sossi.fbdev->dev, in sossi_setup_tearsync()
442 dev_dbg(sossi.fbdev->dev, "tearsync %d line %d\n", enable, line); in sossi_enable_tearsync()
571 static int sossi_init(struct omapfb_device *fbdev) in sossi_init() argument
580 dev_err(fbdev->dev, "can't ioremap SoSSI\n"); in sossi_init()
584 sossi.fbdev = fbdev; in sossi_init()
587 dpll1out_ck = clk_get(fbdev->dev, "ck_dpll1out"); in sossi_init()
589 dev_err(fbdev->dev, "can't get DPLL1OUT clock\n"); in sossi_init()
600 fck = clk_get(fbdev->dev, "ck_sossi"); in sossi_init()
[all …]
Domapfb.h92 struct omapfb_device *fbdev);
124 int (*init) (struct omapfb_device *fbdev);
158 int (*init) (struct omapfb_device *fbdev,
205 struct omapfb_device *fbdev; member
234 extern void omapfb_write_first_pixel(struct omapfb_device *fbdev, u16 pixval);
235 extern void omapfb_notify_clients(struct omapfb_device *fbdev,
Dlcd_mipid.c58 struct omapfb_device *fbdev; member
300 omapfb_write_first_pixel(md->fbdev, test_values[i]); in mipid_run_test()
474 struct omapfb_device *fbdev) in mipid_init() argument
478 md->fbdev = fbdev; in mipid_init()
Dlcd_inn1510.c31 struct omapfb_device *fbdev) in innovator1510_panel_init() argument
Dlcd_htcherald.c35 struct omapfb_device *fbdev) in htcherald_panel_init() argument
Dlcd_palmz71.c30 struct omapfb_device *fbdev) in palmz71_panel_init() argument
Dlcd_palmtt.c36 struct omapfb_device *fbdev) in palmtt_panel_init() argument
Dlcd_palmte.c29 struct omapfb_device *fbdev) in palmte_panel_init() argument
Dlcd_osk.c33 static int osk_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) in osk_panel_init() argument
Dlcd_inn1610.c31 struct omapfb_device *fbdev) in innovator1610_panel_init() argument
Dlcd_h3.c31 static int h3_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) in h3_panel_init() argument
Dlcd_ams_delta.c116 struct omapfb_device *fbdev) in ams_delta_panel_init() argument
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_fbdev.c49 struct omap_fbdev *fbdev = container_of(work, struct omap_fbdev, work); in pan_worker() local
50 struct fb_info *fbi = fbdev->base.fbdev; in pan_worker()
55 omap_gem_roll(fbdev->bo, fbi->var.yoffset * npages); in pan_worker()
62 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_pan_display() local
67 if (!fbdev->ywrap_enabled) in omap_fbdev_pan_display()
71 pan_worker(&fbdev->work); in omap_fbdev_pan_display()
74 queue_work(priv->wq, &fbdev->work); in omap_fbdev_pan_display()
105 struct omap_fbdev *fbdev = to_omap_fbdev(helper); in omap_fbdev_create() local
132 fbdev->ywrap_enabled = priv->has_dmm && ywrap_enabled; in omap_fbdev_create()
133 if (fbdev->ywrap_enabled) { in omap_fbdev_create()
[all …]
Domap_debugfs.c62 omap_framebuffer_describe(priv->fbdev->fb, m); in fb_show()
66 if (fb == priv->fbdev->fb) in fb_show()
Domap_drv.c58 if (priv->fbdev) in omap_fb_output_poll_changed()
59 drm_fb_helper_hotplug_event(priv->fbdev); in omap_fb_output_poll_changed()
694 priv->fbdev = omap_fbdev_init(dev); in dev_load()
695 if (!priv->fbdev) { in dev_load()
716 if (priv->fbdev) in dev_unload()
782 if (priv->fbdev) { in dev_lastclose()
783 ret = drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev); in dev_lastclose()
Domap_drv.h90 struct drm_fb_helper *fbdev; member
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_fbdev.c63 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_mmap() local
64 struct drm_gem_object *drm_obj = fbdev->bo; in msm_fbdev_mmap()
83 struct msm_fbdev *fbdev = to_msm_fbdev(helper); in msm_fbdev_create() local
108 fbdev->bo = msm_gem_new(dev, size, MSM_BO_SCANOUT | in msm_fbdev_create()
111 if (IS_ERR(fbdev->bo)) { in msm_fbdev_create()
112 ret = PTR_ERR(fbdev->bo); in msm_fbdev_create()
113 fbdev->bo = NULL; in msm_fbdev_create()
118 fb = msm_framebuffer_init(dev, &mode_cmd, &fbdev->bo); in msm_fbdev_create()
124 drm_gem_object_unreference(fbdev->bo); in msm_fbdev_create()
136 ret = msm_gem_get_iova_locked(fbdev->bo, 0, &paddr); in msm_fbdev_create()
[all …]
Dmsm_drv.c25 if (priv->fbdev) in msm_fb_output_poll_changed()
26 drm_fb_helper_hotplug_event(priv->fbdev); in msm_fb_output_poll_changed()
58 static bool fbdev = true; variable
59 MODULE_PARM_DESC(fbdev, "Enable fbdev compat layer");
60 module_param(fbdev, bool, 0600);
425 if (fbdev) in msm_load()
426 priv->fbdev = msm_fbdev_init(dev); in msm_load()
493 if (priv->fbdev) in msm_lastclose()
494 drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev); in msm_lastclose()
594 if (priv->fbdev) { in msm_fb_show()
[all …]
DNOTES77 the downstream android fbdev driver), bitfield sizes, etc. My current
85 parse logged register reads/writes (both from downstream android fbdev
Dmsm_drv.h106 struct drm_fb_helper *fbdev; member
/linux-4.4.14/drivers/gpu/drm/tegra/
Dfb.c200 struct tegra_fbdev *fbdev = to_tegra_fbdev(helper); in tegra_fbdev_probe() local
234 fbdev->fb = tegra_fb_alloc(drm, &cmd, &bo, 1); in tegra_fbdev_probe()
235 if (IS_ERR(fbdev->fb)) { in tegra_fbdev_probe()
236 err = PTR_ERR(fbdev->fb); in tegra_fbdev_probe()
243 fb = &fbdev->fb->base; in tegra_fbdev_probe()
245 helper->fbdev = info; in tegra_fbdev_probe()
289 struct tegra_fbdev *fbdev; in tegra_fbdev_create() local
291 fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL); in tegra_fbdev_create()
292 if (!fbdev) { in tegra_fbdev_create()
297 drm_fb_helper_prepare(drm, &fbdev->base, &tegra_fb_helper_funcs); in tegra_fbdev_create()
[all …]
DKconfig20 bool "Enable legacy fbdev support"
27 Choose this option if you have a need for the legacy fbdev support.
Ddrm.h50 struct tegra_fbdev *fbdev; member
277 void tegra_fbdev_restore_mode(struct tegra_fbdev *fbdev);
Ddrm.c172 goto fbdev; in tegra_drm_load()
201 fbdev: in tegra_drm_load()
266 tegra_fbdev_restore_mode(tegra->fbdev); in tegra_drm_lastclose()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c60 static int omapfb_fb_init(struct omapfb2_device *fbdev, struct fb_info *fbi);
61 static int omapfb_get_recommended_bpp(struct omapfb2_device *fbdev,
1230 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_blank() local
1238 omapfb_lock(fbdev); in omapfb_blank()
1240 d = get_display_data(fbdev, display); in omapfb_blank()
1252 omapfb_start_auto_update(fbdev, display); in omapfb_blank()
1266 omapfb_stop_auto_update(fbdev, display); in omapfb_blank()
1277 omapfb_unlock(fbdev); in omapfb_blank()
1314 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_free_fbmem() local
1334 dma_free_attrs(fbdev->dev, rg->size, rg->token, rg->dma_handle, in omapfb_free_fbmem()
[all …]
Domapfb.h75 struct omapfb2_device *fbdev; member
82 struct omapfb2_device *fbdev; member
127 int omapfb_create_sysfs(struct omapfb2_device *fbdev);
128 void omapfb_remove_sysfs(struct omapfb2_device *fbdev);
138 void omapfb_start_auto_update(struct omapfb2_device *fbdev,
140 void omapfb_stop_auto_update(struct omapfb2_device *fbdev,
162 struct omapfb2_device *fbdev, struct omap_dss_device *dssdev) in get_display_data() argument
166 for (i = 0; i < fbdev->num_displays; ++i) in get_display_data()
167 if (fbdev->displays[i].dssdev == dssdev) in get_display_data()
168 return &fbdev->displays[i]; in get_display_data()
[all …]
Domapfb-ioctl.c49 struct omapfb2_device *fbdev = ofbi->fbdev; in get_mem_region() local
56 if (mem_idx >= fbdev->num_fbs) in get_mem_region()
59 return &fbdev->regions[mem_idx]; in get_mem_region()
65 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_plane() local
182 dev_err(fbdev->dev, "setup_plane failed\n"); in omapfb_setup_plane()
216 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_mem() local
243 for (i = 0; i < fbdev->num_fbs; i++) { in omapfb_setup_mem()
244 struct omapfb_info *ofbi2 = FB2OFB(fbdev->fbs[i]); in omapfb_setup_mem()
262 dev_err(fbdev->dev, "realloc fbmem failed\n"); in omapfb_setup_mem()
314 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_set_update_mode() local
[all …]
Domapfb-sysfs.c148 struct omapfb2_device *fbdev = ofbi->fbdev; in show_overlays() local
154 omapfb_lock(fbdev); in show_overlays()
160 for (ovlnum = 0; ovlnum < fbdev->num_overlays; ++ovlnum) in show_overlays()
161 if (ovl == fbdev->overlays[ovlnum]) in show_overlays()
170 omapfb_unlock(fbdev); in show_overlays()
176 static struct omapfb_info *get_overlay_fb(struct omapfb2_device *fbdev, in get_overlay_fb() argument
181 for (i = 0; i < fbdev->num_fbs; i++) { in get_overlay_fb()
182 struct omapfb_info *ofbi = FB2OFB(fbdev->fbs[i]); in get_overlay_fb()
198 struct omapfb2_device *fbdev = ofbi->fbdev; in store_overlays() local
213 omapfb_lock(fbdev); in store_overlays()
[all …]
/linux-4.4.14/drivers/gpu/drm/gma500/
Dframebuffer.c59 struct psb_fbdev *fbdev = info->par; in psbfb_setcolreg() local
60 struct drm_framebuffer *fb = fbdev->psb_fb_helper.fb; in psbfb_setcolreg()
96 struct psb_fbdev *fbdev = info->par; in psbfb_pan() local
97 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_pan()
164 struct psb_fbdev *fbdev = info->par; in psbfb_mmap() local
165 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_mmap()
337 static int psbfb_create(struct psb_fbdev *fbdev, in psbfb_create() argument
340 struct drm_device *dev = fbdev->psb_fb_helper.dev; in psbfb_create()
344 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_create()
411 info = drm_fb_helper_alloc_fbi(&fbdev->psb_fb_helper); in psbfb_create()
[all …]
Daccel_2d.c242 struct psb_fbdev *fbdev = info->par; in psbfb_copyarea_accel() local
243 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_copyarea_accel()
245 struct drm_framebuffer *fb = fbdev->psb_fb_helper.fb; in psbfb_copyarea_accel()
325 struct psb_fbdev *fbdev = info->par; in psbfb_sync() local
326 struct psb_framebuffer *psbfb = &fbdev->pfb; in psbfb_sync()
Dframebuffer.h33 struct fb_info *fbdev; member
Dpsb_drv.c113 struct psb_fbdev *fbdev = dev_priv->fbdev; in psb_driver_lastclose() local
115 ret = drm_fb_helper_restore_fbdev_mode_unlocked(&fbdev->psb_fb_helper); in psb_driver_lastclose()
Dpsb_drv.h585 void *fbdev; member
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_kms.c28 if (vc4->fbdev) in vc4_output_poll_changed()
29 drm_fbdev_cma_hotplug_event(vc4->fbdev); in vc4_output_poll_changed()
58 vc4->fbdev = drm_fbdev_cma_init(dev, 32, in vc4_kms_load()
61 if (IS_ERR(vc4->fbdev)) in vc4_kms_load()
62 vc4->fbdev = NULL; in vc4_kms_load()
Dvc4_drv.c57 if (vc4->fbdev) in vc4_lastclose()
58 drm_fbdev_cma_restore_mode(vc4->fbdev); in vc4_lastclose()
214 if (vc4->fbdev) in vc4_drm_unbind()
215 drm_fbdev_cma_fini(vc4->fbdev); in vc4_drm_unbind()
Dvc4_drv.h19 struct drm_fbdev_cma *fbdev; member
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_fb.c317 ast->fbdev = afbdev; in ast_fbdev_init()
351 if (!ast->fbdev) in ast_fbdev_fini()
354 ast_fbdev_destroy(dev, ast->fbdev); in ast_fbdev_fini()
355 kfree(ast->fbdev); in ast_fbdev_fini()
356 ast->fbdev = NULL; in ast_fbdev_fini()
363 if (!ast->fbdev) in ast_fbdev_set_suspend()
366 drm_fb_helper_set_suspend(&ast->fbdev->helper, state); in ast_fbdev_set_suspend()
371 ast->fbdev->helper.fbdev->fix.smem_start = in ast_fbdev_set_base()
372 ast->fbdev->helper.fbdev->apertures->ranges[0].base + gpu_addr; in ast_fbdev_set_base()
373 ast->fbdev->helper.fbdev->fix.smem_len = ast->vram_size - gpu_addr; in ast_fbdev_set_base()
Dast_drv.h99 struct ast_fbdev *fbdev; member
Dast_mode.c545 if (&ast->fbdev->afb == ast_fb) { in ast_crtc_do_set_base()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c218 struct exynos_drm_fbdev *fbdev; in exynos_drm_fbdev_init() local
230 fbdev = kzalloc(sizeof(*fbdev), GFP_KERNEL); in exynos_drm_fbdev_init()
231 if (!fbdev) in exynos_drm_fbdev_init()
234 private->fb_helper = helper = &fbdev->drm_fb_helper; in exynos_drm_fbdev_init()
266 kfree(fbdev); in exynos_drm_fbdev_init()
299 struct exynos_drm_fbdev *fbdev; in exynos_drm_fbdev_fini() local
304 fbdev = to_exynos_fbdev(private->fb_helper); in exynos_drm_fbdev_fini()
307 kfree(fbdev); in exynos_drm_fbdev_fini()
/linux-4.4.14/drivers/video/fbdev/omap2/
DKconfig6 source "drivers/video/fbdev/omap2/dss/Kconfig"
7 source "drivers/video/fbdev/omap2/omapfb/Kconfig"
8 source "drivers/video/fbdev/omap2/displays-new/Kconfig"
/linux-4.4.14/drivers/video/fbdev/mmp/
DKconfig8 source "drivers/video/fbdev/mmp/hw/Kconfig"
9 source "drivers/video/fbdev/mmp/panel/Kconfig"
10 source "drivers/video/fbdev/mmp/fb/Kconfig"
/linux-4.4.14/drivers/staging/fbtft/
DREADME13 cd drivers/video/fbdev/fbtft
16 Add to drivers/video/fbdev/Kconfig: source "drivers/video/fbdev/fbtft/Kconfig"
17 Add to drivers/video/fbdev/Makefile: obj-y += fbtft/
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_fbdev.c142 priv->fbdev = fbh; in armada_fbdev_init()
169 priv->fbdev = NULL; in armada_fbdev_init()
177 if (priv->fbdev) in armada_fbdev_lastclose()
178 drm_fb_helper_restore_fbdev_mode_unlocked(priv->fbdev); in armada_fbdev_lastclose()
184 struct drm_fb_helper *fbh = priv->fbdev; in armada_fbdev_fini()
195 priv->fbdev = NULL; in armada_fbdev_fini()
Darmada_drm.h58 struct drm_fb_helper *fbdev; member
Darmada_fb.c161 struct drm_fb_helper *fbh = priv->fbdev; in armada_output_poll_changed()
/linux-4.4.14/drivers/video/backlight/
Dgpio_backlight.c24 struct device *fbdev; member
52 return gbl->fbdev == NULL || gbl->fbdev == info->dev; in gpio_backlight_check_fb()
111 gbl->fbdev = pdata->fbdev; in gpio_backlight_probe()
Dlv5207lp.c78 return lv->pdata->fbdev == NULL || lv->pdata->fbdev == info->dev; in lv5207lp_backlight_check_fb()
Dbd6107.c113 return bd->pdata->fbdev == NULL || bd->pdata->fbdev == info->dev; in bd6107_backlight_check_fb()
/linux-4.4.14/Documentation/fb/
Dudlfb.txt28 capable system. On Linux, number of displays is limited by fbdev interface
35 one-to-one with the fbdev interface, making the driver quite small and
37 * X servers and other applications can use the standard fbdev interface
40 and a slightly modified "fbdev" X driver are among those that already do.
48 In the future, hopefully fbdev will be enhanced with an small standard
53 * It's not clear what the future of fbdev is, given the rise of KMS/DRM.
64 means that from a hardware and fbdev software perspective, everything is good.
68 standard fbdev calls. Note that if mmap() is used, by default the user mode
75 xf86-video-fbdev X server. These servers have no real DisplayLink specific
105 Standard fbdev applications that use mmap but that do not
Dcmap_xfbdev.txt1 Understanding fbdev's cmap
4 These notes explain how X's dix layer uses fbdev's cmap structures.
6 *. example of relevant structures in fbdev as used for a 3-bit grayscale cmap
D00-INDEX11 - info on the fbdev driver for ARK Logic chips.
17 - an introduction to fbdev's cmap structures.
49 - info on the fbdev driver for S3 Trio/Virge chips.
Dframebuffer.txt132 - If the `Display' subsection for the `fbdev' driver in the /etc/XF86Config
297 applications, please refer to the Linux-fbdev website:
299 http://linux-fbdev.sourceforge.net/
316 linux-fbdev@vger.kernel.org.
318 Point your web browser to http://sourceforge.net/projects/linux-fbdev/ for
333 http://www.linux-fbdev.org/
Dfbcon.txt169 console ---> fbcon ---> fbdev drivers ---> hardware
171 The fbdev drivers cannot be unloaded if it's bound to fbcon, and fbcon cannot
174 So to unload the fbdev drivers, one must first unbind fbcon from the console,
175 then unbind the fbdev drivers from fbcon. Fortunately, unbinding fbcon from
177 fbcon. Thus, there is no need to explicitly unbind the fbdev drivers from
Dvt8623fb.txt2 vt8623fb - fbdev driver for graphics core in VIA VT8623 chipset
Darkfb.txt2 arkfb - fbdev driver for ARK Logic chips
Ds3fb.txt2 s3fb - fbdev driver for S3 Trio/Virge chips
Ddeferred_io.txt46 How to use it: (for fbdev drivers)
Dsisfb.txt113 If using XFree86 or X.org, it is recommended that you don't use the "fbdev"
Dsstfb.txt140 - When using XFree86 FBdev (X over fbdev) you may see strange color
Dmatroxfb.txt13 * You can run XF{68,86}_FBDev or XFree86 fbdev driver on top of /dev/fb0
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_fbdev.c697 dev_priv->fbdev = ifbdev; in intel_fbdev_init()
708 struct intel_fbdev *ifbdev = dev_priv->fbdev; in intel_fbdev_initial_config()
717 if (!dev_priv->fbdev) in intel_fbdev_fini()
723 intel_fbdev_destroy(dev, dev_priv->fbdev); in intel_fbdev_fini()
724 kfree(dev_priv->fbdev); in intel_fbdev_fini()
725 dev_priv->fbdev = NULL; in intel_fbdev_fini()
731 struct intel_fbdev *ifbdev = dev_priv->fbdev; in intel_fbdev_set_suspend()
737 info = ifbdev->helper.fbdev; in intel_fbdev_set_suspend()
780 if (dev_priv->fbdev) in intel_fbdev_output_poll_changed()
781 drm_fb_helper_hotplug_event(&dev_priv->fbdev->helper); in intel_fbdev_output_poll_changed()
[all …]
Dintel_dp_mst.c417 drm_fb_helper_add_one_connector(&dev_priv->fbdev->helper, &connector->base); in intel_connector_add_to_fbdev()
425 drm_fb_helper_remove_one_connector(&dev_priv->fbdev->helper, &connector->base); in intel_connector_remove_from_fbdev()
Di915_drv.h1879 struct intel_fbdev *fbdev; member
Dintel_display.c10236 if (!dev_priv->fbdev) in mode_fits_in_fbdev()
10239 if (!dev_priv->fbdev->fb) in mode_fits_in_fbdev()
10242 obj = dev_priv->fbdev->fb->obj; in mode_fits_in_fbdev()
10245 fb = &dev_priv->fbdev->fb->base; in mode_fits_in_fbdev()
Di915_debugfs.c1875 ifbdev = dev_priv->fbdev; in i915_gem_framebuffer_info()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c414 if (dc->fbdev) { in atmel_hlcdc_fb_output_poll_changed()
415 drm_fbdev_cma_hotplug_event(dc->fbdev); in atmel_hlcdc_fb_output_poll_changed()
417 dc->fbdev = drm_fbdev_cma_init(dev, 24, in atmel_hlcdc_fb_output_poll_changed()
420 if (IS_ERR(dc->fbdev)) in atmel_hlcdc_fb_output_poll_changed()
421 dc->fbdev = NULL; in atmel_hlcdc_fb_output_poll_changed()
564 if (dc->fbdev) in atmel_hlcdc_dc_unload()
565 drm_fbdev_cma_fini(dc->fbdev); in atmel_hlcdc_dc_unload()
630 drm_fbdev_cma_restore_mode(dc->fbdev); in atmel_hlcdc_dc_lastclose()
Datmel_hlcdc_dc.h135 struct drm_fbdev_cma *fbdev; member
/linux-4.4.14/Documentation/DocBook/
D.device-drivers.xml.cmd2 …video/fbdev/core/fbmem.c drivers/video/fbdev/core/fbcmap.c drivers/video/fbdev/core/modedb.c drive…
Dgpu.xml.db314 API-drm-fb-helper-restore-fbdev-mode-unlocked
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_fb.c573 udl->fbdev = ufbdev; in udl_fbdev_init()
605 if (!udl->fbdev) in udl_fbdev_cleanup()
608 udl_fbdev_destroy(dev, udl->fbdev); in udl_fbdev_cleanup()
609 kfree(udl->fbdev); in udl_fbdev_cleanup()
610 udl->fbdev = NULL; in udl_fbdev_cleanup()
617 if (!udl->fbdev) in udl_fbdev_unplug()
620 ufbdev = udl->fbdev; in udl_fbdev_unplug()
Dudl_drv.h61 struct udl_fbdev *fbdev; member
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c188 drm_fbdev_cma_hotplug_event(rcdu->fbdev); in rcar_du_output_poll_changed()
744 struct drm_fbdev_cma *fbdev; in rcar_du_modeset_init() local
831 fbdev = drm_fbdev_cma_init(dev, 32, dev->mode_config.num_crtc, in rcar_du_modeset_init()
833 if (IS_ERR(fbdev)) in rcar_du_modeset_init()
834 return PTR_ERR(fbdev); in rcar_du_modeset_init()
836 rcdu->fbdev = fbdev; in rcar_du_modeset_init()
Drcar_du_drv.c151 if (rcdu->fbdev) in rcar_du_unload()
152 drm_fbdev_cma_fini(rcdu->fbdev); in rcar_du_unload()
236 drm_fbdev_cma_restore_mode(rcdu->fbdev); in rcar_du_lastclose()
Drcar_du_drv.h79 struct drm_fbdev_cma *fbdev; member
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.c239 drm->fbcon->saved_flags = drm->fbcon->helper.fbdev->flags; in nouveau_fbcon_accel_save_disable()
240 drm->fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_save_disable()
249 drm->fbcon->helper.fbdev->flags = drm->fbcon->saved_flags; in nouveau_fbcon_accel_restore()
260 fbcon->helper.fbdev->flags |= FBINFO_HWACCEL_DISABLED; in nouveau_fbcon_accel_fini()
278 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_accel_init()
316 struct fb_info *info = fbcon->helper.fbdev; in nouveau_fbcon_zfill()
/linux-4.4.14/arch/x86/video/
DMakefile1 obj-$(CONFIG_FB) += fbdev.o
/linux-4.4.14/include/linux/platform_data/
Dbd6107.h14 struct device *fbdev; member
Dlv5207lp.h14 struct device *fbdev; member
Dgpio_backlight.h14 struct device *fbdev; member
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_drv.c57 drm_fbdev_cma_hotplug_event(priv->fbdev); in tilcdc_fb_output_poll_changed()
115 drm_fbdev_cma_fini(priv->fbdev); in tilcdc_unload()
297 priv->fbdev = drm_fbdev_cma_init(dev, bpp, in tilcdc_load()
300 if (IS_ERR(priv->fbdev)) { in tilcdc_load()
301 ret = PTR_ERR(priv->fbdev); in tilcdc_load()
362 drm_fbdev_cma_restore_mode(priv->fbdev); in tilcdc_lastclose()
DKconfig14 OMAP-L1xx. This driver replaces the FB_DA8XX fbdev driver.
Dtilcdc_drv.h79 struct drm_fbdev_cma *fbdev; member
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_fbdev.c22 fsl_dev->fbdev = drm_fbdev_cma_init(dev, 24, 1, 1); in fsl_dcu_fbdev_init()
Dfsl_dcu_drm_drv.h187 struct drm_fbdev_cma *fbdev; member
/linux-4.4.14/drivers/video/fbdev/kyro/
DMakefile8 STG4000InitDevice.o fbdev.o
/linux-4.4.14/drivers/video/fbdev/riva/
DMakefile7 rivafb-objs := fbdev.o riva_hw.o nv_driver.o
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_drv.c15 module_param_named(fbdev, enable_fbdev, bool, 0444);
16 MODULE_PARM_DESC(fbdev, "register fbdev device");
/linux-4.4.14/drivers/video/
DMakefile8 obj-y += fbdev/
DKconfig28 source "drivers/video/fbdev/Kconfig"
/linux-4.4.14/drivers/staging/sm750fb/
DTODO9 - move it to drivers/video/fbdev
/linux-4.4.14/drivers/
DMakefile62 obj-$(CONFIG_FB_I810) += video/fbdev/i810/
63 obj-$(CONFIG_FB_INTEL) += video/fbdev/intelfb/
/linux-4.4.14/drivers/gpu/drm/
Ddrm_fb_helper.c762 fb_helper->fbdev = info; in drm_fb_helper_alloc_fbi()
783 if (fb_helper && fb_helper->fbdev) in drm_fb_helper_unregister_fbi()
784 unregister_framebuffer(fb_helper->fbdev); in drm_fb_helper_unregister_fbi()
798 struct fb_info *info = fb_helper->fbdev; in drm_fb_helper_release_fbi()
806 fb_helper->fbdev = NULL; in drm_fb_helper_release_fbi()
836 if (fb_helper && fb_helper->fbdev) in drm_fb_helper_unlink_fbi()
837 unlink_framebuffer(fb_helper->fbdev); in drm_fb_helper_unlink_fbi()
966 if (fb_helper && fb_helper->fbdev) in drm_fb_helper_set_suspend()
967 fb_set_suspend(fb_helper->fbdev, state); in drm_fb_helper_set_suspend()
1446 info = fb_helper->fbdev; in drm_fb_helper_single_fb_probe()
[all …]
DKconfig51 bool "Enable legacy fbdev support for your modesetting driver"
57 Choose this option if you have a need for the legacy fbdev
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_kms.c33 MODULE_PARM_DESC(fbdev, "Disable/Enable framebuffer device & console");
34 module_param_named(fbdev, virtio_gpu_fbdev, int, 0400);
/linux-4.4.14/include/drm/
Ddrm_fb_helper.h130 struct fb_info *fbdev; member
/linux-4.4.14/drivers/auxdisplay/
DKconfig93 It will work fine. However, you can't attach it to the fbdev driver
/linux-4.4.14/Documentation/video4linux/
DREADME.davinci-vpbe93 - Add support for fbdev drivers.- Ready and part of subsequent patches.
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_fb.c381 fb_set_suspend(rdev->mode_info.rfbdev->helper.fbdev, state); in radeon_fbdev_set_suspend()
/linux-4.4.14/
DMAINTAINERS635 F: drivers/video/fbdev/geode/
813 F: drivers/video/fbdev/arcfb.c
814 F: drivers/video/fbdev/core/fb_defio.c
863 F: drivers/video/fbdev/amba-clcd.*
1620 F: drivers/video/fbdev/nuc900fb.c
1717 F: drivers/video/fbdev/vt8500lcdfb.*
1718 F: drivers/video/fbdev/wm8505fb*
1719 F: drivers/video/fbdev/wmt_ge_rops.*
1942 L: linux-fbdev@vger.kernel.org
1944 F: drivers/video/fbdev/atmel_lcdfb.c
[all …]
DCREDITS1769 D: fbdev hacking
/linux-4.4.14/arch/sh/boards/mach-ecovec24/
Dsetup.c373 .fbdev = &lcdc_device.dev,
1199 gpio_backlight_data.fbdev = NULL; in arch_setup()
/linux-4.4.14/arch/sh/boards/mach-kfr2r09/
Dsetup.c195 .fbdev = &kfr2r09_sh_lcdc_device.dev,
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_fb.c233 qxl_fb_dirty_flush(qfbdev->helper.fbdev); in qxl_fb_work()
/linux-4.4.14/Documentation/
Dvgaarbiter.txt154 Memory, both, or none. All cards default to both, the card driver (fbdev for
/linux-4.4.14/arch/x86/
DKconfig2586 Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will