Searched refs:gfb (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/bochs/ |
D | bochs_fbdev.c | 18 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()
|
D | bochs.h | 90 struct bochs_framebuffer gfb; member 151 struct bochs_framebuffer *gfb,
|
D | bochs_mm.c | 486 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/ |
D | cirrus_fbdev.c | 27 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 …]
|
D | cirrus_main.c | 31 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()
|
D | cirrus_drv.h | 155 struct cirrus_framebuffer gfb; member 209 struct cirrus_framebuffer *gfb,
|
D | cirrus_mode.c | 167 if (&cdev->mode_info.gfbdev->gfb == cirrus_fb) { in cirrus_crtc_do_set_base()
|
/drivers/gpu/drm/mgag200/ |
D | mgag200_main.c | 31 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()
|