search for: drm_nouveau_as_alloc

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

2015 Jul 07
5
CUDA fixed VA allocations and sparse mappings
...llocation 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 */ }; These ioctls just call into t...
2015 Jul 07
2
CUDA fixed VA allocations and sparse mappings
...ations. > > > > 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 { > >...