search for: drm_ioctl_nouveau_as_alloc

Displaying 2 results from an estimated 2 matches for "drm_ioctl_nouveau_as_alloc".

2015 Jul 07
5
CUDA fixed VA allocations and sparse mappings
...rtual address allocation is done during buffer mapping, so in order to support these sparse mappings, it seems to me that the virtual address allocation and buffer mapping need to be decoupled into separate operations. My current strawman proposal for supporting this is to introduce two new ioctls DRM_IOCTL_NOUVEAU_AS_ALLOC and DRM_IOCTL_NOUVEAU_AS_FREE, that look roughly like this: #define NOUVEAU_AS_ALLOC_FLAGS_FIXED_OFFSET 0x1 struct drm_nouveau_as_alloc { uint64_t pages; /* in, pages */ uint32_t page_size; /* in, bytes */ uint32_t flags; /* in */ uint64_t offset; /* in/o...
2015 Jul 07
2
CUDA fixed VA allocations and sparse mappings
...> > in order to support these sparse mappings, it seems to me that the virtual > > address allocation and buffer mapping need to be decoupled into separate > > operations. > > > > My current strawman proposal for supporting this is to introduce two new ioctls > > DRM_IOCTL_NOUVEAU_AS_ALLOC and DRM_IOCTL_NOUVEAU_AS_FREE, that look roughly > > like this: > > > > #define NOUVEAU_AS_ALLOC_FLAGS_FIXED_OFFSET 0x1 > > struct drm_nouveau_as_alloc { > > uint64_t pages; /* in, pages */ > > uint32_t page_size; /* in, bytes */ > >...