Lines Matching refs:vfbs
1098 struct vmw_framebuffer_surface *vfbs = in vmw_framebuffer_surface_destroy() local
1102 vmw_surface_unreference(&vfbs->surface); in vmw_framebuffer_surface_destroy()
1104 kfree(vfbs); in vmw_framebuffer_surface_destroy()
1162 struct vmw_framebuffer_surface *vfbs; in vmw_kms_new_framebuffer_surface() local
1225 vfbs = kzalloc(sizeof(*vfbs), GFP_KERNEL); in vmw_kms_new_framebuffer_surface()
1226 if (!vfbs) { in vmw_kms_new_framebuffer_surface()
1231 drm_helper_mode_fill_fb_struct(dev, &vfbs->base.base, mode_cmd); in vmw_kms_new_framebuffer_surface()
1232 vfbs->surface = vmw_surface_reference(surface); in vmw_kms_new_framebuffer_surface()
1233 vfbs->base.user_handle = mode_cmd->handles[0]; in vmw_kms_new_framebuffer_surface()
1234 vfbs->is_bo_proxy = is_bo_proxy; in vmw_kms_new_framebuffer_surface()
1236 *out = &vfbs->base; in vmw_kms_new_framebuffer_surface()
1238 ret = drm_framebuffer_init(dev, &vfbs->base.base, in vmw_kms_new_framebuffer_surface()
1247 kfree(vfbs); in vmw_kms_new_framebuffer_surface()
3020 struct vmw_framebuffer_surface *vfbs = in vmw_du_helper_plane_update() local
3021 container_of(update->vfb, typeof(*vfbs), base); in vmw_du_helper_plane_update()
3023 ret = vmw_validation_add_resource(&val_ctx, &vfbs->surface->res, in vmw_du_helper_plane_update()