search for: nouveau_as_alloc_flags_fixed_offset

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

2015 Jul 07
5
CUDA fixed VA allocations and sparse mappings
...ings, 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/out, byte address */ }; struct drm_nouveau_as_free { uint64_t offset; /* in, byte address */ }...
2015 Jul 07
2
CUDA fixed VA allocations and sparse mappings
...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/out, byte address */ > > }; > > > > st...