Lines Matching refs:surface
106 struct vmw_surface *surface = NULL;
112 handle, &surface);
114 if (!surface->snooper.image) {
115 DRM_ERROR("surface not suitable for cursor\n");
122 DRM_ERROR("failed to find surface or dmabuf: %i\n", ret);
137 if (surface) {
139 du->cursor_surface = surface;
143 vmw_cursor_update_image(dev_priv, surface->snooper.image,
330 struct vmw_surface *surface;
344 vmw_surface_unreference(&vfb->surface);
355 struct vmw_surface *surf = vfbs->surface;
402 struct vmw_surface *surf = vfbs->surface;
475 struct vmw_surface *surface,
495 if (!vmw_surface_reference(surface)) {
496 DRM_ERROR("failed to reference surface %p\n", surface);
507 vfbs->surface = surface;
718 struct vmw_surface *surface = NULL;
723 mode_cmd->handle, &surface);
727 if (!surface->scanout)
730 ret = vmw_kms_new_framebuffer_surface(dev_priv, surface, &vfb,
734 vmw_surface_unreference(&surface);
765 DRM_ERROR("surface not marked as scanout\n");
767 vmw_surface_unreference(&surface);