/drivers/video/drm/vmwgfx/vmwgfx_resource.c |
---|
501,7 → 501,7 |
goto out_no_dmabuf; |
rep->handle = handle; |
rep->map_handle = dma_buf->base.addr_space_offset; |
rep->map_handle = drm_vma_node_offset_addr(&dma_buf->base.vma_node); |
rep->cur_gmr_id = handle; |
rep->cur_gmr_offset = 0; |
839,7 → 839,7 |
if (ret != 0) |
return -EINVAL; |
*offset = out_buf->base.addr_space_offset; |
*offset = drm_vma_node_offset_addr(&out_buf->base.vma_node); |
vmw_dmabuf_unreference(&out_buf); |
return 0; |
} |