search for: resource_create_3d

Displaying 1 result from an estimated 1 matches for "resource_create_3d".

Did you mean: resource_create_
2019 Sep 02
1
[PATCH] drm/virtio: Use vmalloc for command buffer allocations.
...dia/v4l2-core/videobuf-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 n...