Lines Matching refs:vfbs
828 struct vmw_framebuffer_surface *vfbs = in vmw_framebuffer_surface_destroy() local
832 vmw_surface_unreference(&vfbs->surface); in vmw_framebuffer_surface_destroy()
833 if (vfbs->base.user_obj) in vmw_framebuffer_surface_destroy()
834 ttm_base_object_unref(&vfbs->base.user_obj); in vmw_framebuffer_surface_destroy()
836 kfree(vfbs); in vmw_framebuffer_surface_destroy()
894 struct vmw_framebuffer_surface *vfbs; in vmw_kms_new_framebuffer_surface() local
949 vfbs = kzalloc(sizeof(*vfbs), GFP_KERNEL); in vmw_kms_new_framebuffer_surface()
950 if (!vfbs) { in vmw_kms_new_framebuffer_surface()
955 drm_helper_mode_fill_fb_struct(dev, &vfbs->base.base, mode_cmd); in vmw_kms_new_framebuffer_surface()
956 vfbs->surface = vmw_surface_reference(surface); in vmw_kms_new_framebuffer_surface()
957 vfbs->base.user_handle = mode_cmd->handles[0]; in vmw_kms_new_framebuffer_surface()
958 vfbs->is_bo_proxy = is_bo_proxy; in vmw_kms_new_framebuffer_surface()
960 *out = &vfbs->base; in vmw_kms_new_framebuffer_surface()
962 ret = drm_framebuffer_init(dev, &vfbs->base.base, in vmw_kms_new_framebuffer_surface()
971 kfree(vfbs); in vmw_kms_new_framebuffer_surface()
2738 struct vmw_framebuffer_surface *vfbs = in vmw_du_helper_plane_update() local
2739 container_of(update->vfb, typeof(*vfbs), base); in vmw_du_helper_plane_update()
2741 ret = vmw_validation_add_resource(&val_ctx, &vfbs->surface->res, in vmw_du_helper_plane_update()