Home
last modified time | relevance | path

Searched refs:vfb (Results 1 – 10 of 10) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c216 struct vmw_framebuffer *vfb; in vmw_sou_crtc_mode_set_nofb() local
228 vfb = (fb) ? vmw_framebuffer_to_vfb(fb) : NULL; in vmw_sou_crtc_mode_set_nofb()
238 if (vfb) { in vmw_sou_crtc_mode_set_nofb()
479 container_of(update->vfb, typeof(*vfbbo), base); in vmw_sou_bo_define_gmrfb()
481 int depth = update->vfb->base.format->depth; in vmw_sou_bo_define_gmrfb()
492 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb()
495 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb()
540 struct vmw_framebuffer *vfb, in vmw_sou_plane_update_bo() argument
550 bo_update.base.vfb = vfb; in vmw_sou_plane_update_bo()
594 vfbs = container_of(update->vfb, typeof(*vfbs), base); in vmw_sou_surface_pre_clip()
[all …]
Dvmwgfx_stdu.c673 struct vmw_framebuffer *vfb, in vmw_kms_stdu_dma() argument
684 container_of(vfb, struct vmw_framebuffer_bo, base)->buffer; in vmw_kms_stdu_dma()
708 ddirty.pitch = vfb->base.pitches[0]; in vmw_kms_stdu_dma()
727 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_dma()
1037 struct vmw_framebuffer *vfb; in vmw_stdu_primary_plane_prepare_fb() local
1055 vfb = vmw_framebuffer_to_vfb(new_fb); in vmw_stdu_primary_plane_prepare_fb()
1056 new_vfbs = (vfb->bo) ? NULL : vmw_framebuffer_to_vfbs(new_fb); in vmw_stdu_primary_plane_prepare_fb()
1061 else if (vfb->bo) in vmw_stdu_primary_plane_prepare_fb()
1207 vfbbo = container_of(update->vfb, typeof(*vfbbo), base); in vmw_stdu_bo_populate_dma()
1214 cmd_dma->body.guest.pitch = update->vfb->base.pitches[0]; in vmw_stdu_bo_populate_dma()
[all …]
Dvmwgfx_ldu.c162 struct vmw_framebuffer *vfb) in vmw_ldu_add_active() argument
169 if (vfb != ld->fb) { in vmw_ldu_add_active()
173 if (vfb->pin) in vmw_ldu_add_active()
174 vfb->pin(vfb); in vmw_ldu_add_active()
175 ld->fb = vfb; in vmw_ldu_add_active()
288 struct vmw_framebuffer *vfb; in vmw_ldu_primary_plane_atomic_update() local
297 vfb = (fb) ? vmw_framebuffer_to_vfb(fb) : NULL; in vmw_ldu_primary_plane_atomic_update()
299 if (vfb) in vmw_ldu_primary_plane_atomic_update()
300 vmw_ldu_add_active(dev_priv, ldu, vfb); in vmw_ldu_primary_plane_atomic_update()
Dvmwgfx_kms.c857 struct vmw_framebuffer *vfb, in vmw_kms_readback() argument
864 return vmw_kms_sou_readback(dev_priv, file_priv, vfb, in vmw_kms_readback()
868 return vmw_kms_stdu_dma(dev_priv, file_priv, vfb, in vmw_kms_readback()
1068 static int vmw_framebuffer_pin(struct vmw_framebuffer *vfb) in vmw_framebuffer_pin() argument
1070 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_pin()
1075 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_framebuffer_pin()
1076 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_pin()
1089 if (vfb->bo) { in vmw_framebuffer_pin()
1113 static int vmw_framebuffer_unpin(struct vmw_framebuffer *vfb) in vmw_framebuffer_unpin() argument
1115 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_unpin()
[all …]
Dvmwgfx_ioctl.c259 struct vmw_framebuffer *vfb; in vmw_present_ioctl() local
298 vfb = vmw_framebuffer_to_vfb(fb); in vmw_present_ioctl()
312 vfb, surface, arg->sid, in vmw_present_ioctl()
343 struct vmw_framebuffer *vfb; in vmw_present_readback_ioctl() local
382 vfb = vmw_framebuffer_to_vfb(fb); in vmw_present_readback_ioctl()
383 if (!vfb->bo) { in vmw_present_readback_ioctl()
394 vfb, user_fence_rep, in vmw_present_readback_ioctl()
Dvmwgfx_kms.h125 struct vmw_framebuffer *vfb; member
432 struct vmw_framebuffer *vfb,
531 struct vmw_framebuffer *vfb,
553 struct vmw_framebuffer *vfb,
Dvmwgfx_fb.c505 struct vmw_framebuffer *vfb; in vmw_fb_kms_framebuffer() local
546 vfb = vmw_kms_new_framebuffer(par->vmw_priv, par->vmw_bo, NULL, in vmw_fb_kms_framebuffer()
548 if (IS_ERR(vfb)) in vmw_fb_kms_framebuffer()
549 return PTR_ERR(vfb); in vmw_fb_kms_framebuffer()
551 par->set_fb = &vfb->base; in vmw_fb_kms_framebuffer()
Dvmwgfx_drv.h1093 struct vmw_framebuffer *vfb,
/drivers/video/fbdev/
DMakefile136 obj-$(CONFIG_FB_VIRTUAL) += vfb.o
DKconfig2078 kernel option `video=vfb:'.
2081 module will be called vfb. In order to load it, you must use