/Linux-v5.15/drivers/video/fbdev/ |
D | sa1100fb.c | 220 static void set_ctrlr_state(struct sa1100fb_info *fbi, u_int state); 222 static inline void sa1100fb_schedule_work(struct sa1100fb_info *fbi, u_int state) in sa1100fb_schedule_work() argument 235 if (fbi->task_state == C_ENABLE && state == C_REENABLE) in sa1100fb_schedule_work() 237 if (fbi->task_state == C_DISABLE && state == C_ENABLE) in sa1100fb_schedule_work() 241 fbi->task_state = state; in sa1100fb_schedule_work() 242 schedule_work(&fbi->task); in sa1100fb_schedule_work() 272 struct sa1100fb_info *fbi = in sa1100fb_setpalettereg() local 276 if (regno < fbi->palette_size) { in sa1100fb_setpalettereg() 282 val |= palette_pbs(&fbi->fb.var); in sa1100fb_setpalettereg() 284 fbi->palette_cpu[regno] = val; in sa1100fb_setpalettereg() [all …]
|
D | pxafb.c | 87 static void set_ctrlr_state(struct pxafb_info *fbi, u_int state); 88 static void setup_base_frame(struct pxafb_info *fbi, 90 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, 96 lcd_readl(struct pxafb_info *fbi, unsigned int off) in lcd_readl() argument 98 return __raw_readl(fbi->mmio_base + off); in lcd_readl() 102 lcd_writel(struct pxafb_info *fbi, unsigned int off, unsigned long val) in lcd_writel() argument 104 __raw_writel(val, fbi->mmio_base + off); in lcd_writel() 107 static inline void pxafb_schedule_work(struct pxafb_info *fbi, u_int state) in pxafb_schedule_work() argument 122 if (fbi->task_state == C_ENABLE && state == C_REENABLE) in pxafb_schedule_work() 124 if (fbi->task_state == C_DISABLE && state == C_ENABLE) in pxafb_schedule_work() [all …]
|
D | wm8505fb.c | 45 struct wm8505fb_info *fbi = to_wm8505fb_info(info); in wm8505fb_init_hw() local 51 writel(0, fbi->regbase + i); in wm8505fb_init_hw() 54 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR); in wm8505fb_init_hw() 55 writel(fbi->fb.fix.smem_start, fbi->regbase + WMT_GOVR_FBADDR1); in wm8505fb_init_hw() 62 writel(0x31c, fbi->regbase + WMT_GOVR_COLORSPACE); in wm8505fb_init_hw() 63 writel(1, fbi->regbase + WMT_GOVR_COLORSPACE1); in wm8505fb_init_hw() 66 writel(info->var.xres, fbi->regbase + WMT_GOVR_XRES); in wm8505fb_init_hw() 67 writel(info->var.xres_virtual, fbi->regbase + WMT_GOVR_XRES_VIRTUAL); in wm8505fb_init_hw() 70 writel(0xf, fbi->regbase + WMT_GOVR_FHI); in wm8505fb_init_hw() 71 writel(4, fbi->regbase + WMT_GOVR_DVO_SET); in wm8505fb_init_hw() [all …]
|
D | vt8500lcdfb.c | 41 struct vt8500lcd_info *fbi = to_vt8500lcd_info(info); in vt8500lcd_set_par() local 46 if (!fbi) in vt8500lcd_set_par() 112 control0 = readl(fbi->regbase) & ~0xf; in vt8500lcd_set_par() 113 writel(0, fbi->regbase); in vt8500lcd_set_par() 114 while (readl(fbi->regbase + 0x38) & 0x10) in vt8500lcd_set_par() 119 | (info->var.right_margin & 0xff), fbi->regbase + 0x4); in vt8500lcd_set_par() 123 | (info->var.lower_margin & 0xff), fbi->regbase + 0x8); in vt8500lcd_set_par() 125 | ((info->var.xres - 1) & 0x400), fbi->regbase + 0x10); in vt8500lcd_set_par() 126 writel(0x80000000, fbi->regbase + 0x20); in vt8500lcd_set_par() 127 writel(control0 | (reg_bpp << 1) | 0x100, fbi->regbase); in vt8500lcd_set_par() [all …]
|
D | imxfb.c | 204 static inline int is_imx1_fb(struct imxfb_info *fbi) in is_imx1_fb() argument 206 return fbi->devtype == IMX1_FB; in is_imx1_fb() 262 struct imxfb_info *fbi = info->par; in imxfb_setpalettereg() local 266 if (regno < fbi->palette_size) { in imxfb_setpalettereg() 271 writel(val, fbi->regs + 0x800 + (regno << 2)); in imxfb_setpalettereg() 280 struct imxfb_info *fbi = info->par; in imxfb_setcolreg() local 290 if (fbi->cmap_inverse) { in imxfb_setcolreg() 331 static const struct imx_fb_videomode *imxfb_find_mode(struct imxfb_info *fbi) in imxfb_find_mode() argument 337 return &fbi->mode[0]; in imxfb_find_mode() 339 for (i = 0, m = &fbi->mode[0]; i < fbi->num_modes; i++, m++) { in imxfb_find_mode() [all …]
|
D | mx3fb.c | 237 struct fb_info *fbi; member 363 static void sdc_fb_init(struct mx3fb_info *fbi) in sdc_fb_init() argument 365 struct mx3fb_data *mx3fb = fbi->mx3fb; in sdc_fb_init() 374 static uint32_t sdc_fb_uninit(struct mx3fb_info *fbi) in sdc_fb_uninit() argument 376 struct mx3fb_data *mx3fb = fbi->mx3fb; in sdc_fb_uninit() 727 static int mx3fb_blank(int blank, struct fb_info *fbi); 728 static int mx3fb_map_video_memory(struct fb_info *fbi, unsigned int mem_len, 730 static int mx3fb_unmap_video_memory(struct fb_info *fbi); 737 static int mx3fb_set_fix(struct fb_info *fbi) in mx3fb_set_fix() argument 739 struct fb_fix_screeninfo *fix = &fbi->fix; in mx3fb_set_fix() [all …]
|
D | pxa168fb.c | 162 static void set_mode(struct pxa168fb_info *fbi, struct fb_var_screeninfo *var, in set_mode() argument 165 struct fb_info *info = fbi->info; in set_mode() 194 struct pxa168fb_info *fbi = info->par; in pxa168fb_check_var() local 204 fbi->pix_fmt = pix_fmt; in pxa168fb_check_var() 240 static void set_clock_divider(struct pxa168fb_info *fbi, in set_clock_divider() argument 258 dev_err(fbi->dev, "Input refresh or pixclock is wrong.\n"); in set_clock_divider() 274 divider_int = clk_get_rate(fbi->clk) / needed_pixclk; in set_clock_divider() 278 dev_warn(fbi->dev, "Warning: clock source is too slow. " in set_clock_divider() 287 writel(x, fbi->reg_base + LCD_CFG_SCLK_DIV); in set_clock_divider() 290 static void set_dma_control0(struct pxa168fb_info *fbi) in set_dma_control0() argument [all …]
|
D | ep93xx-fb.c | 122 static inline unsigned int ep93xxfb_readl(struct ep93xx_fbi *fbi, in ep93xxfb_readl() argument 125 return __raw_readl(fbi->mmio_base + off); in ep93xxfb_readl() 128 static inline void ep93xxfb_writel(struct ep93xx_fbi *fbi, in ep93xxfb_writel() argument 131 __raw_writel(val, fbi->mmio_base + off); in ep93xxfb_writel() 137 static inline void ep93xxfb_out_locked(struct ep93xx_fbi *fbi, in ep93xxfb_out_locked() argument 144 ep93xxfb_writel(fbi, 0xaa, EP93XXFB_SWLOCK); in ep93xxfb_out_locked() 145 ep93xxfb_writel(fbi, val, reg); in ep93xxfb_out_locked() 150 struct ep93xx_fbi *fbi = info->par; in ep93xxfb_set_video_attribs() local 154 attribs |= fbi->mach_info->flags; in ep93xxfb_set_video_attribs() 155 ep93xxfb_out_locked(fbi, attribs, EP93XXFB_ATTRIBS); in ep93xxfb_set_video_attribs() [all …]
|
D | sm501fb.c | 171 struct fb_info *fbi; in sm501_alloc_mem() local 186 fbi = inf->fb[HEAD_CRT]; in sm501_alloc_mem() 195 if (fbi && ptr < smem_len) in sm501_alloc_mem() 206 fbi = inf->fb[HEAD_PANEL]; in sm501_alloc_mem() 207 if (fbi) { in sm501_alloc_mem() 208 par = fbi->par; in sm501_alloc_mem() 219 fbi = inf->fb[HEAD_CRT]; in sm501_alloc_mem() 220 ptr = fbi ? smem_len : 0; in sm501_alloc_mem() 222 fbi = inf->fb[HEAD_PANEL]; in sm501_alloc_mem() 223 if (fbi) { in sm501_alloc_mem() [all …]
|
D | s3c2410fb.c | 56 static int is_s3c2412(struct s3c2410fb_info *fbi) in is_s3c2412() argument 58 return (fbi->drv_type == DRV_S3C2412); in is_s3c2412() 68 struct s3c2410fb_info *fbi = info->par; in s3c2410fb_set_lcdaddr() local 69 void __iomem *regs = fbi->io; in s3c2410fb_set_lcdaddr() 92 static unsigned int s3c2410fb_calc_pixclk(struct s3c2410fb_info *fbi, in s3c2410fb_calc_pixclk() argument 95 unsigned long clk = fbi->clk_rate; in s3c2410fb_calc_pixclk() 120 struct s3c2410fb_info *fbi = info->par; in s3c2410fb_check_var() local 121 struct s3c2410fb_mach_info *mach_info = dev_get_platdata(fbi->dev); in s3c2410fb_check_var() 167 fbi->regs.lcdcon5 = display->lcdcon5; in s3c2410fb_check_var() 169 fbi->regs.lcdcon1 = display->type; in s3c2410fb_check_var() [all …]
|
D | au1200fb.c | 1002 static void au1200fb_update_fbinfo(struct fb_info *fbi) in au1200fb_update_fbinfo() argument 1008 if (fbi->var.bits_per_pixel <= 8) { in au1200fb_update_fbinfo() 1010 fbi->fix.visual = FB_VISUAL_PSEUDOCOLOR; in au1200fb_update_fbinfo() 1011 fbi->fix.line_length = fbi->var.xres_virtual / in au1200fb_update_fbinfo() 1012 (8/fbi->var.bits_per_pixel); in au1200fb_update_fbinfo() 1015 fbi->fix.visual = FB_VISUAL_TRUECOLOR; in au1200fb_update_fbinfo() 1016 fbi->fix.line_length = fbi->var.xres_virtual * (fbi->var.bits_per_pixel / 8); in au1200fb_update_fbinfo() 1020 fbi->fix.visual = FB_VISUAL_MONO10; in au1200fb_update_fbinfo() 1021 fbi->fix.line_length = fbi->var.xres_virtual / 8; in au1200fb_update_fbinfo() 1024 fbi->screen_size = fbi->fix.line_length * fbi->var.yres_virtual; in au1200fb_update_fbinfo() [all …]
|
D | au1100fb.c | 106 static int au1100fb_fb_blank(int blank_mode, struct fb_info *fbi) in au1100fb_fb_blank() argument 108 struct au1100fb_device *fbdev = to_au1100fb_device(fbi); in au1100fb_fb_blank() 110 print_dbg("fb_blank %d %p", blank_mode, fbi); in au1100fb_fb_blank() 235 …(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp, struct fb_info *fbi) in au1100fb_fb_setcolreg() argument 241 fbdev = to_au1100fb_device(fbi); in au1100fb_fb_setcolreg() 247 if (fbi->var.grayscale) { in au1100fb_fb_setcolreg() 253 if (fbi->fix.visual == FB_VISUAL_TRUECOLOR) { in au1100fb_fb_setcolreg() 258 palette = (u32*)fbi->pseudo_palette; in au1100fb_fb_setcolreg() 260 red >>= (16 - fbi->var.red.length); in au1100fb_fb_setcolreg() 261 green >>= (16 - fbi->var.green.length); in au1100fb_fb_setcolreg() [all …]
|
D | tmiofb.c | 407 static int tmiofb_sync(struct fb_info *fbi) in tmiofb_sync() argument 409 struct tmiofb_par *par = fbi->par; in tmiofb_sync() 414 ret = tmiofb_acc_wait(fbi, 0); in tmiofb_sync() 429 tmiofb_fillrect(struct fb_info *fbi, const struct fb_fillrect *rect) in tmiofb_fillrect() argument 432 TMIOFB_ACC_DSADR((rect->dy * fbi->mode->xres + rect->dx) * 2), in tmiofb_fillrect() 439 if (fbi->state != FBINFO_STATE_RUNNING || in tmiofb_fillrect() 440 fbi->flags & FBINFO_HWACCEL_DISABLED) { in tmiofb_fillrect() 441 cfb_fillrect(fbi, rect); in tmiofb_fillrect() 445 tmiofb_acc_write(fbi, cmd, ARRAY_SIZE(cmd)); in tmiofb_fillrect() 449 tmiofb_copyarea(struct fb_info *fbi, const struct fb_copyarea *area) in tmiofb_copyarea() argument [all …]
|
/Linux-v5.15/drivers/video/fbdev/mmp/fb/ |
D | mmpfb.c | 275 struct mmpfb_info *fbi = info->par; in mmpfb_check_var() local 291 (var->bits_per_pixel >> 3) > fbi->fb_size) in mmpfb_check_var() 315 struct mmpfb_info *fbi = info->par; in mmpfb_setcolreg() local 322 fbi->pseudo_palette[regno] = val; in mmpfb_setcolreg() 336 struct mmpfb_info *fbi = info->par; in mmpfb_pan_display() local 341 * var->bits_per_pixel / 8 + fbi->fb_start_dma; in mmpfb_pan_display() 342 mmp_overlay_set_addr(fbi->overlay, &addr); in mmpfb_pan_display() 349 struct mmpfb_info *fbi = info->par; in var_update() local 359 fbi->pix_fmt = pix_fmt; in var_update() 364 dev_err(fbi->dev, "set par: no match mode, use best mode\n"); in var_update() [all …]
|
/Linux-v5.15/drivers/video/fbdev/mb862xx/ |
D | mb862xxfbdrv.c | 108 struct fb_info *fbi) in mb862xxfb_check_var() argument 112 if (fbi->dev) in mb862xxfb_check_var() 113 dev_dbg(fbi->dev, "%s\n", __func__); in mb862xxfb_check_var() 142 if (d_pitch(&fbi->var) % GC_L0M_L0W_UNIT) { in mb862xxfb_check_var() 148 r = d_pitch(&fbi->var) % GC_L0M_L0W_UNIT; in mb862xxfb_check_var() 151 if (d_pitch(&fbi->var) % GC_L0M_L0W_UNIT) in mb862xxfb_check_var() 202 static int mb862xxfb_set_par(struct fb_info *fbi) in mb862xxfb_set_par() argument 204 struct mb862xxfb_par *par = fbi->par; in mb862xxfb_set_par() 209 mb862xxfb_init_accel(fbi, &mb862xxfb_ops, fbi->var.xres); in mb862xxfb_set_par() 220 sc = par->refclk / (1000000 / fbi->var.pixclock) - 1; in mb862xxfb_set_par() [all …]
|
/Linux-v5.15/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-sysfs.c | 29 struct fb_info *fbi = dev_get_drvdata(dev); in show_rotate_type() local 30 struct omapfb_info *ofbi = FB2OFB(fbi); in show_rotate_type() 39 struct fb_info *fbi = dev_get_drvdata(dev); in store_rotate_type() local 40 struct omapfb_info *ofbi = FB2OFB(fbi); in store_rotate_type() 52 lock_fb_info(fbi); in store_rotate_type() 74 unlock_fb_info(fbi); in store_rotate_type() 83 struct fb_info *fbi = dev_get_drvdata(dev); in show_mirror() local 84 struct omapfb_info *ofbi = FB2OFB(fbi); in show_mirror() 93 struct fb_info *fbi = dev_get_drvdata(dev); in store_mirror() local 94 struct omapfb_info *ofbi = FB2OFB(fbi); in store_mirror() [all …]
|
D | omapfb-main.c | 49 static int omapfb_fb_init(struct omapfb2_device *fbdev, struct fb_info *fbi); 54 static void draw_pixel(struct fb_info *fbi, int x, int y, unsigned color) in draw_pixel() argument 56 struct fb_var_screeninfo *var = &fbi->var; in draw_pixel() 57 struct fb_fix_screeninfo *fix = &fbi->fix; in draw_pixel() 58 void __iomem *addr = fbi->screen_base; in draw_pixel() 89 static void fill_fb(struct fb_info *fbi) in fill_fb() argument 91 struct fb_var_screeninfo *var = &fbi->var; in fill_fb() 94 void __iomem *addr = fbi->screen_base; in fill_fb() 100 DBG("fill_fb %dx%d, line_len %d bytes\n", w, h, fbi->fix.line_length); in fill_fb() 105 draw_pixel(fbi, x, y, 0xffffff); in fill_fb() [all …]
|
D | omapfb-ioctl.c | 51 static int omapfb_setup_plane(struct fb_info *fbi, struct omapfb_plane_info *pi) in omapfb_setup_plane() argument 53 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_plane() 100 set_fb_fix(fbi); in omapfb_setup_plane() 110 r = omapfb_setup_overlay(fbi, ovl, pi->pos_x, pi->pos_y, in omapfb_setup_plane() 156 set_fb_fix(fbi); in omapfb_setup_plane() 176 static int omapfb_query_plane(struct fb_info *fbi, struct omapfb_plane_info *pi) in omapfb_query_plane() argument 178 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_query_plane() 202 static int omapfb_setup_mem(struct fb_info *fbi, struct omapfb_mem_info *mi) in omapfb_setup_mem() argument 204 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_mem() 206 struct omap_dss_device *display = fb2display(fbi); in omapfb_setup_mem() [all …]
|
D | omapfb.h | 110 void set_fb_fix(struct fb_info *fbi); 111 int check_fb_var(struct fb_info *fbi, struct fb_var_screeninfo *var); 112 int omapfb_realloc_fbmem(struct fb_info *fbi, unsigned long size, int type); 113 int omapfb_apply_changes(struct fb_info *fbi, int init); 118 int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg); 123 int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl, 130 int omapfb_get_update_mode(struct fb_info *fbi, enum omapfb_update_mode *mode); 131 int omapfb_set_update_mode(struct fb_info *fbi, enum omapfb_update_mode mode); 134 static inline struct omap_dss_device *fb2display(struct fb_info *fbi) in fb2display() argument 136 struct omapfb_info *ofbi = FB2OFB(fbi); in fb2display()
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/ |
D | omap_fbdev.c | 35 static struct drm_fb_helper *get_fb(struct fb_info *fbi); 40 struct fb_info *fbi = fbdev->base.fbdev; in pan_worker() local 44 npages = fbi->fix.line_length >> PAGE_SHIFT; in pan_worker() 45 omap_gem_roll(fbdev->bo, fbi->var.yoffset * npages); in pan_worker() 49 struct fb_info *fbi) in omap_fbdev_pan_display() argument 51 struct drm_fb_helper *helper = get_fb(fbi); in omap_fbdev_pan_display() 70 return drm_fb_helper_pan_display(var, fbi); in omap_fbdev_pan_display() 98 struct fb_info *fbi = NULL; in omap_fbdev_create() local 163 fbi = drm_fb_helper_alloc_fbi(helper); in omap_fbdev_create() 164 if (IS_ERR(fbi)) { in omap_fbdev_create() [all …]
|
/Linux-v5.15/drivers/gpu/drm/msm/ |
D | msm_fbdev.c | 62 struct fb_info *fbi = NULL; in msm_fbdev_create() local 97 fbi = drm_fb_helper_alloc_fbi(helper); in msm_fbdev_create() 98 if (IS_ERR(fbi)) { in msm_fbdev_create() 100 ret = PTR_ERR(fbi); in msm_fbdev_create() 104 DBG("fbi=%p, dev=%p", fbi, dev); in msm_fbdev_create() 109 fbi->fbops = &msm_fb_ops; in msm_fbdev_create() 111 drm_fb_helper_fill_info(fbi, helper, sizes); in msm_fbdev_create() 115 fbi->screen_base = msm_gem_get_vaddr(bo); in msm_fbdev_create() 116 if (IS_ERR(fbi->screen_base)) { in msm_fbdev_create() 117 ret = PTR_ERR(fbi->screen_base); in msm_fbdev_create() [all …]
|
/Linux-v5.15/drivers/video/fbdev/omap/ |
D | omapfb_main.c | 175 static int ctrl_change_mode(struct fb_info *fbi) in ctrl_change_mode() argument 179 struct omapfb_plane_struct *plane = fbi->par; in ctrl_change_mode() 181 struct fb_var_screeninfo *var = &fbi->var; in ctrl_change_mode() 183 offset = var->yoffset * fbi->fix.line_length + in ctrl_change_mode() 308 static int omapfb_update_full_screen(struct fb_info *fbi); 310 static int omapfb_blank(int blank, struct fb_info *fbi) in omapfb_blank() argument 312 struct omapfb_plane_struct *plane = fbi->par; in omapfb_blank() 346 r = omapfb_update_full_screen(fbi); in omapfb_blank() 351 static void omapfb_sync(struct fb_info *fbi) in omapfb_sync() argument 353 struct omapfb_plane_struct *plane = fbi->par; in omapfb_sync() [all …]
|
/Linux-v5.15/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fbdev.c | 49 struct fb_info *fbi; in rockchip_drm_fbdev_create() local 69 fbi = drm_fb_helper_alloc_fbi(helper); in rockchip_drm_fbdev_create() 70 if (IS_ERR(fbi)) { in rockchip_drm_fbdev_create() 72 ret = PTR_ERR(fbi); in rockchip_drm_fbdev_create() 85 fbi->fbops = &rockchip_drm_fbdev_ops; in rockchip_drm_fbdev_create() 88 drm_fb_helper_fill_info(fbi, helper, sizes); in rockchip_drm_fbdev_create() 90 offset = fbi->var.xoffset * bytes_per_pixel; in rockchip_drm_fbdev_create() 91 offset += fbi->var.yoffset * fb->pitches[0]; in rockchip_drm_fbdev_create() 94 fbi->screen_base = rk_obj->kvaddr + offset; in rockchip_drm_fbdev_create() 95 fbi->screen_size = rk_obj->base.size; in rockchip_drm_fbdev_create() [all …]
|
/Linux-v5.15/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 76 struct fb_info *fbi; in exynos_drm_fbdev_update() local 81 fbi = drm_fb_helper_alloc_fbi(helper); in exynos_drm_fbdev_update() 82 if (IS_ERR(fbi)) { in exynos_drm_fbdev_update() 85 return PTR_ERR(fbi); in exynos_drm_fbdev_update() 88 fbi->fbops = &exynos_drm_fb_ops; in exynos_drm_fbdev_update() 90 drm_fb_helper_fill_info(fbi, helper, sizes); in exynos_drm_fbdev_update() 92 offset = fbi->var.xoffset * fb->format->cpp[0]; in exynos_drm_fbdev_update() 93 offset += fbi->var.yoffset * fb->pitches[0]; in exynos_drm_fbdev_update() 95 fbi->screen_buffer = exynos_gem->kvaddr + offset; in exynos_drm_fbdev_update() 96 fbi->screen_size = size; in exynos_drm_fbdev_update() [all …]
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_fb_helper.c | 2040 struct fb_info *fbi = fb_helper->fbdev; in drm_fbdev_cleanup() local 2046 if (fbi) { in drm_fbdev_cleanup() 2047 if (fbi->fbdefio) in drm_fbdev_cleanup() 2048 fb_deferred_io_cleanup(fbi); in drm_fbdev_cleanup() 2050 shadow = fbi->screen_buffer; in drm_fbdev_cleanup() 2317 struct fb_info *fbi; in drm_fb_helper_generic_probe() local 2336 fbi = drm_fb_helper_alloc_fbi(fb_helper); in drm_fb_helper_generic_probe() 2337 if (IS_ERR(fbi)) in drm_fb_helper_generic_probe() 2338 return PTR_ERR(fbi); in drm_fb_helper_generic_probe() 2340 fbi->fbops = &drm_fbdev_fb_ops; in drm_fb_helper_generic_probe() [all …]
|