Lines Matching refs:vps
1011 struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state);
1013 if (vps->surf)
1014 WARN_ON(!vps->pinned);
1018 vps->content_fb_type = SAME_AS_DISPLAY;
1019 vps->cpp = 0;
1043 struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
1052 if (vps->surf) {
1053 WARN_ON(vps->pinned != 0);
1054 vmw_surface_unreference(&vps->surf);
1113 if (vps->surf) {
1114 struct drm_vmw_size cur_base_size = vps->surf->base_size;
1118 vps->surf->format != content_srf.format) {
1119 WARN_ON(vps->pinned != 0);
1120 vmw_surface_unreference(&vps->surf);
1125 if (!vps->surf) {
1139 &vps->surf);
1152 if (vps->surf) {
1153 WARN_ON(vps->pinned != 0);
1154 vmw_surface_unreference(&vps->surf);
1157 vps->surf = vmw_surface_reference(new_vfbs->surface);
1160 if (vps->surf) {
1163 ret = vmw_resource_pin(&vps->surf->res, false);
1167 vps->pinned++;
1170 vps->content_fb_type = new_content_type;
1178 if (vps->content_fb_type == SEPARATE_BO &&
1180 vps->cpp = new_fb->pitches[0] / new_fb->width;
1185 vmw_surface_unreference(&vps->surf);
1597 struct vmw_plane_state *vps = vmw_plane_state_to_vps(plane->state);
1612 stdu->display_srf = vps->surf;
1613 stdu->content_fb_type = vps->content_fb_type;
1614 stdu->cpp = vps->cpp;