Lines Matching refs:vfb

460 		struct vmw_framebuffer *vfb = vmw_framebuffer_to_vfb(new_fb);  in vmw_du_primary_plane_atomic_check()  local
468 && dev_priv->implicit_fb != vfb) { in vmw_du_primary_plane_atomic_check()
921 struct vmw_framebuffer *vfb, in vmw_kms_readback() argument
928 return vmw_kms_sou_readback(dev_priv, file_priv, vfb, in vmw_kms_readback()
932 return vmw_kms_stdu_dma(dev_priv, file_priv, vfb, in vmw_kms_readback()
1126 static int vmw_framebuffer_pin(struct vmw_framebuffer *vfb) in vmw_framebuffer_pin() argument
1128 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_pin()
1133 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_framebuffer_pin()
1134 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_pin()
1147 if (vfb->bo) { in vmw_framebuffer_pin()
1171 static int vmw_framebuffer_unpin(struct vmw_framebuffer *vfb) in vmw_framebuffer_unpin() argument
1173 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_unpin()
1176 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_framebuffer_unpin()
1177 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_unpin()
1373 struct vmw_framebuffer *vfb = NULL; in vmw_kms_new_framebuffer() local
1396 ret = vmw_kms_new_framebuffer_surface(dev_priv, surface, &vfb, in vmw_kms_new_framebuffer()
1407 ret = vmw_kms_new_framebuffer_bo(dev_priv, bo, &vfb, in vmw_kms_new_framebuffer()
1416 vfb->pin = vmw_framebuffer_pin; in vmw_kms_new_framebuffer()
1417 vfb->unpin = vmw_framebuffer_unpin; in vmw_kms_new_framebuffer()
1419 return vfb; in vmw_kms_new_framebuffer()
1432 struct vmw_framebuffer *vfb = NULL; in vmw_kms_fb_create() local
1474 vfb = vmw_kms_new_framebuffer(dev_priv, bo, surface, in vmw_kms_fb_create()
1477 if (IS_ERR(vfb)) { in vmw_kms_fb_create()
1478 ret = PTR_ERR(vfb); in vmw_kms_fb_create()
1494 vfb->user_obj = user_obj; in vmw_kms_fb_create()
1496 return &vfb->base; in vmw_kms_fb_create()
1713 struct vmw_framebuffer *vfb, in vmw_kms_generic_present() argument
1720 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_generic_present()
1728 struct vmw_framebuffer *vfb, in vmw_kms_present() argument
1739 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_present()
1744 ret = vmw_kms_generic_present(dev_priv, file_priv, vfb, surface, in vmw_kms_present()
2932 struct vmw_framebuffer *vfb) in vmw_kms_add_active() argument
2938 dev_priv->implicit_fb = vfb; in vmw_kms_add_active()
2979 struct vmw_framebuffer *vfb; in vmw_kms_update_implicit_fb() local
2986 vfb = vmw_framebuffer_to_vfb(plane->state->fb); in vmw_kms_update_implicit_fb()
2988 dev_priv->implicit_fb != vfb); in vmw_kms_update_implicit_fb()
2990 dev_priv->implicit_fb = vfb; in vmw_kms_update_implicit_fb()