Lines Matching defs:vps
867 struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state);
869 if (vps->surf)
870 WARN_ON(!vps->pinned);
874 vps->content_fb_type = SAME_AS_DISPLAY;
875 vps->cpp = 0;
899 struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
907 if (vps->surf) {
908 WARN_ON(vps->pinned != 0);
909 vmw_surface_unreference(&vps->surf);
965 if (vps->surf) {
967 vps->surf->metadata.base_size;
971 vps->surf->metadata.format != metadata.format) {
972 WARN_ON(vps->pinned != 0);
973 vmw_surface_unreference(&vps->surf);
978 if (!vps->surf) {
980 &vps->surf);
993 if (vps->surf) {
994 WARN_ON(vps->pinned != 0);
995 vmw_surface_unreference(&vps->surf);
998 vps->surf = vmw_surface_reference(new_vfbs->surface);
1001 if (vps->surf) {
1004 ret = vmw_resource_pin(&vps->surf->res, false);
1008 vps->pinned++;
1011 vps->content_fb_type = new_content_type;
1017 if (vps->content_fb_type == SEPARATE_BO)
1018 vps->cpp = new_fb->pitches[0] / new_fb->width;
1023 vmw_surface_unreference(&vps->surf);
1354 struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
1368 stdu->display_srf = vps->surf;
1369 stdu->content_fb_type = vps->content_fb_type;
1370 stdu->cpp = vps->cpp;