Lines Matching refs:fbi
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()
96 fbi->fix.smem_len = rk_obj->base.size; in rockchip_drm_fbdev_create()