Lines Matching refs:vps
56 * @vps: plane state associated with the display surface
58 void vmw_du_plane_unpin_surf(struct vmw_plane_state *vps)
60 struct vmw_surface *surf = vmw_user_object_surface(&vps->uo);
63 if (vps->pinned) {
65 vps->pinned--;
85 struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state);
87 vmw_du_plane_unpin_surf(vps);
267 struct vmw_plane_state *vps;
269 vps = kmemdup(plane->state, sizeof(*vps), GFP_KERNEL);
271 if (!vps)
274 vps->pinned = 0;
275 vps->cpp = 0;
277 vps->cursor.mob = NULL;
280 vmw_user_object_ref(&vps->uo);
281 state = &vps->base;
298 struct vmw_plane_state *vps;
303 vps = kzalloc(sizeof(*vps), GFP_KERNEL);
305 if (!vps) {
310 __drm_atomic_helper_plane_reset(plane, &vps->base);
326 struct vmw_plane_state *vps = vmw_plane_state_to_vps(state);
329 vmw_user_object_unref(&vps->uo);