Lines Matching refs:vfb

870 		     struct vmw_framebuffer *vfb,  in vmw_kms_readback()  argument
877 return vmw_kms_sou_readback(dev_priv, file_priv, vfb, in vmw_kms_readback()
881 return vmw_kms_stdu_dma(dev_priv, file_priv, vfb, in vmw_kms_readback()
1074 static int vmw_framebuffer_pin(struct vmw_framebuffer *vfb) in vmw_framebuffer_pin() argument
1076 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_pin()
1081 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_framebuffer_pin()
1082 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_pin()
1095 if (vfb->bo) { in vmw_framebuffer_pin()
1119 static int vmw_framebuffer_unpin(struct vmw_framebuffer *vfb) in vmw_framebuffer_unpin() argument
1121 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_unpin()
1124 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_framebuffer_unpin()
1125 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_unpin()
1313 struct vmw_framebuffer *vfb = NULL; in vmw_kms_new_framebuffer() local
1336 ret = vmw_kms_new_framebuffer_surface(dev_priv, surface, &vfb, in vmw_kms_new_framebuffer()
1347 ret = vmw_kms_new_framebuffer_bo(dev_priv, bo, &vfb, in vmw_kms_new_framebuffer()
1356 vfb->pin = vmw_framebuffer_pin; in vmw_kms_new_framebuffer()
1357 vfb->unpin = vmw_framebuffer_unpin; in vmw_kms_new_framebuffer()
1359 return vfb; in vmw_kms_new_framebuffer()
1372 struct vmw_framebuffer *vfb = NULL; in vmw_kms_fb_create() local
1414 vfb = vmw_kms_new_framebuffer(dev_priv, bo, surface, in vmw_kms_fb_create()
1417 if (IS_ERR(vfb)) { in vmw_kms_fb_create()
1418 ret = PTR_ERR(vfb); in vmw_kms_fb_create()
1434 vfb->user_obj = user_obj; in vmw_kms_fb_create()
1436 return &vfb->base; in vmw_kms_fb_create()
1731 struct vmw_framebuffer *vfb, in vmw_kms_generic_present() argument
1738 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_generic_present()
1746 struct vmw_framebuffer *vfb, in vmw_kms_present() argument
1757 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_present()
1762 ret = vmw_kms_generic_present(dev_priv, file_priv, vfb, surface, in vmw_kms_present()
2767 if (update->vfb->bo) { in vmw_du_helper_plane_update()
2769 container_of(update->vfb, typeof(*vfbbo), base); in vmw_du_helper_plane_update()
2775 container_of(update->vfb, typeof(*vfbs), base); in vmw_du_helper_plane_update()