Home
last modified time | relevance | path

Searched refs:afb (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/vboxvideo/
Dvbox_fb.c118 ret = vbox_framebuffer_init(dev, &fbdev->afb, &mode_cmd, gobj); in vboxfb_create()
149 fb = &fbdev->afb.base; in vboxfb_create()
196 struct vbox_framebuffer *afb = &fbdev->afb; in vbox_fbdev_fini() local
205 if (afb->obj) { in vbox_fbdev_fini()
206 struct vbox_bo *bo = gem_to_vbox_bo(afb->obj); in vbox_fbdev_fini()
219 drm_gem_object_put_unlocked(afb->obj); in vbox_fbdev_fini()
220 afb->obj = NULL; in vbox_fbdev_fini()
224 drm_framebuffer_unregister_private(&afb->base); in vbox_fbdev_fini()
225 drm_framebuffer_cleanup(&afb->base); in vbox_fbdev_fini()
Dvbox_drv.h168 struct vbox_framebuffer afb; member
Dvbox_mode.c185 if (to_vbox_framebuffer(fb1) == &vbox->fbdev->afb) in vbox_set_up_input_mapping()
264 if (&vbox->fbdev->afb == vbox_fb) in vbox_crtc_do_set_base()
/Linux-v4.19/drivers/gpu/drm/ast/
Dast_fb.c52 int bpp = afbdev->afb.base.format->cpp[0]; in ast_dirty_update()
59 obj = afbdev->afb.obj; in ast_dirty_update()
113 src_offset = dst_offset = i * afbdev->afb.base.pitches[0] + (x * bpp); in ast_dirty_update()
222 ret = ast_framebuffer_init(dev, &afbdev->afb, &mode_cmd, gobj); in astfb_create()
229 fb = &afbdev->afb.base; in astfb_create()
264 struct ast_framebuffer *afb = &afbdev->afb; in ast_fbdev_destroy() local
268 if (afb->obj) { in ast_fbdev_destroy()
269 drm_gem_object_put_unlocked(afb->obj); in ast_fbdev_destroy()
270 afb->obj = NULL; in ast_fbdev_destroy()
275 drm_framebuffer_unregister_private(&afb->base); in ast_fbdev_destroy()
[all …]
Dast_drv.h265 struct ast_framebuffer afb; member
Dast_mode.c561 if (&ast->fbdev->afb == ast_fb) { in ast_crtc_do_set_base()
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3179 struct amdgpu_framebuffer *afb; in dm_plane_helper_prepare_fb() local
3197 afb = to_amdgpu_framebuffer(new_state->fb); in dm_plane_helper_prepare_fb()
3227 afb->address = amdgpu_bo_gpu_offset(rbo); in dm_plane_helper_prepare_fb()
3236 plane_state->address.grph.addr.low_part = lower_32_bits(afb->address); in dm_plane_helper_prepare_fb()
3237 plane_state->address.grph.addr.high_part = upper_32_bits(afb->address); in dm_plane_helper_prepare_fb()
3242 = lower_32_bits(afb->address); in dm_plane_helper_prepare_fb()
3244 = upper_32_bits(afb->address); in dm_plane_helper_prepare_fb()
3245 chroma_addr = afb->address + (u64)awidth * new_state->fb->height; in dm_plane_helper_prepare_fb()
3966 struct amdgpu_framebuffer *afb = to_amdgpu_framebuffer(plane->state->fb); in handle_cursor_update() local
3967 struct drm_crtc *crtc = afb ? plane->state->crtc : old_plane_state->crtc; in handle_cursor_update()
[all …]