Home
last modified time | relevance | path

Searched refs:gfb (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/bochs/
Dbochs_fbdev.c18 struct bochs_bo *bo = gem_to_bochs_bo(bochs->fb.gfb.obj); in bochsfb_mmap()
113 ret = bochs_framebuffer_init(bochs->dev, &bochs->fb.gfb, &mode_cmd, gobj); in bochsfb_create()
122 fb = &bochs->fb.gfb.base; in bochsfb_create()
146 struct bochs_framebuffer *gfb = &bochs->fb.gfb; in bochs_fbdev_destroy() local
153 if (gfb->obj) { in bochs_fbdev_destroy()
154 drm_gem_object_unreference_unlocked(gfb->obj); in bochs_fbdev_destroy()
155 gfb->obj = NULL; in bochs_fbdev_destroy()
159 drm_framebuffer_unregister_private(&gfb->base); in bochs_fbdev_destroy()
160 drm_framebuffer_cleanup(&gfb->base); in bochs_fbdev_destroy()
Dbochs.h90 struct bochs_framebuffer gfb; member
151 struct bochs_framebuffer *gfb,
Dbochs_mm.c486 struct bochs_framebuffer *gfb, in bochs_framebuffer_init() argument
492 drm_helper_mode_fill_fb_struct(&gfb->base, mode_cmd); in bochs_framebuffer_init()
493 gfb->obj = obj; in bochs_framebuffer_init()
494 ret = drm_framebuffer_init(dev, &gfb->base, &bochs_fb_funcs); in bochs_framebuffer_init()
/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c27 int bpp = (afbdev->gfb.base.bits_per_pixel + 7)/8; in cirrus_dirty_update()
34 obj = afbdev->gfb.obj; in cirrus_dirty_update()
87 src_offset = dst_offset = i * afbdev->gfb.base.pitches[0] + (x * bpp); in cirrus_dirty_update()
202 ret = cirrus_framebuffer_init(cdev->dev, &gfbdev->gfb, &mode_cmd, gobj); in cirrusfb_create()
209 fb = &gfbdev->gfb.base; in cirrusfb_create()
252 struct cirrus_framebuffer *gfb = &gfbdev->gfb; in cirrus_fbdev_destroy() local
257 if (gfb->obj) { in cirrus_fbdev_destroy()
258 drm_gem_object_unreference_unlocked(gfb->obj); in cirrus_fbdev_destroy()
259 gfb->obj = NULL; in cirrus_fbdev_destroy()
264 drm_framebuffer_unregister_private(&gfb->base); in cirrus_fbdev_destroy()
[all …]
Dcirrus_main.c31 struct cirrus_framebuffer *gfb, in cirrus_framebuffer_init() argument
37 drm_helper_mode_fill_fb_struct(&gfb->base, mode_cmd); in cirrus_framebuffer_init()
38 gfb->obj = obj; in cirrus_framebuffer_init()
39 ret = drm_framebuffer_init(dev, &gfb->base, &cirrus_fb_funcs); in cirrus_framebuffer_init()
Dcirrus_drv.h155 struct cirrus_framebuffer gfb; member
209 struct cirrus_framebuffer *gfb,
Dcirrus_mode.c167 if (&cdev->mode_info.gfbdev->gfb == cirrus_fb) { in cirrus_crtc_do_set_base()
/drivers/gpu/drm/mgag200/
Dmgag200_main.c31 struct mga_framebuffer *gfb, in mgag200_framebuffer_init() argument
37 drm_helper_mode_fill_fb_struct(&gfb->base, mode_cmd); in mgag200_framebuffer_init()
38 gfb->obj = obj; in mgag200_framebuffer_init()
39 ret = drm_framebuffer_init(dev, &gfb->base, &mga_fb_funcs); in mgag200_framebuffer_init()