Lines Matching refs:gfb
25 int bpp = afbdev->gfb.format->cpp[0]; in cirrus_dirty_update()
32 obj = afbdev->gfb.obj[0]; in cirrus_dirty_update()
85 src_offset = dst_offset = i * afbdev->gfb.pitches[0] + (x * bpp); in cirrus_dirty_update()
200 ret = cirrus_framebuffer_init(cdev->dev, &gfbdev->gfb, &mode_cmd, gobj); in cirrusfb_create()
207 fb = &gfbdev->gfb; in cirrusfb_create()
249 struct drm_framebuffer *gfb = &gfbdev->gfb; in cirrus_fbdev_destroy() local
253 if (gfb->obj[0]) { in cirrus_fbdev_destroy()
254 drm_gem_object_put_unlocked(gfb->obj[0]); in cirrus_fbdev_destroy()
255 gfb->obj[0] = NULL; in cirrus_fbdev_destroy()
260 drm_framebuffer_unregister_private(gfb); in cirrus_fbdev_destroy()
261 drm_framebuffer_cleanup(gfb); in cirrus_fbdev_destroy()