Displaying 2 results from an estimated 2 matches for "resource_attach_back".
2019 Sep 02
1
[PATCH] drm/virtio: Use vmalloc for command buffer allocations.
...uf-dma-sg.c,
> > > assumes contiguous array of scatterlist and that the buffer being converted
> > > is page aligned
> >
> > Well, vmalloc memory _is_ page aligned.
>
> True, but this function gets called for all potential enqueuings (eg
> resource_create_3d, resource_attach_backing) and I was concerned that
> some other usage in the future might not have that guarantee.
The vmalloc_to_sg call is wrapped into "if (is_vmalloc())", so this
should not be a problem.
> > sg_alloc_table_from_pages() does alot of what you need, you just need a
> > small...
2019 Apr 12
2
[PATCH 3/3] virtio-gpu api: VIRTIO_GPU_F_RESSOURCE_V2
Hi,
I am still new to virgl, and missed the last round of discussion about
resource_create_v2.
>From the discussion below, semantically resource_create_v2 creates a host
resource object _without_ any storage; memory_create creates a host memory
object which provides the storage. Is that correct?
And this version of memory_create is probably the most special one among
its other potential