Lines Matching defs:vps
1009 struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state);
1011 if (vps->surf)
1012 WARN_ON(!vps->pinned);
1016 vps->content_fb_type = SAME_AS_DISPLAY;
1017 vps->cpp = 0;
1041 struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
1049 if (vps->surf) {
1050 WARN_ON(vps->pinned != 0);
1051 vmw_surface_unreference(&vps->surf);
1107 if (vps->surf) {
1109 vps->surf->metadata.base_size;
1113 vps->surf->metadata.format != metadata.format) {
1114 WARN_ON(vps->pinned != 0);
1115 vmw_surface_unreference(&vps->surf);
1120 if (!vps->surf) {
1122 &vps->surf);
1135 if (vps->surf) {
1136 WARN_ON(vps->pinned != 0);
1137 vmw_surface_unreference(&vps->surf);
1140 vps->surf = vmw_surface_reference(new_vfbs->surface);
1143 if (vps->surf) {
1146 ret = vmw_resource_pin(&vps->surf->res, false);
1150 vps->pinned++;
1153 vps->content_fb_type = new_content_type;
1161 if (vps->content_fb_type == SEPARATE_BO &&
1163 vps->cpp = new_fb->pitches[0] / new_fb->width;
1168 vmw_surface_unreference(&vps->surf);
1580 struct vmw_plane_state *vps = vmw_plane_state_to_vps(plane->state);
1595 stdu->display_srf = vps->surf;
1596 stdu->content_fb_type = vps->content_fb_type;
1597 stdu->cpp = vps->cpp;