diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c b/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c index 4057a599..ec0aa888 100644 --- a/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c +++ b/drivers/gpu/nvgpu/common/mm/nvgpu_allocator.c | |||
@@ -77,6 +77,11 @@ u64 nvgpu_alloc(struct nvgpu_allocator *a, u64 len) | |||
77 | return a->ops->alloc(a, len); | 77 | return a->ops->alloc(a, len); |
78 | } | 78 | } |
79 | 79 | ||
80 | u64 nvgpu_alloc_pte(struct nvgpu_allocator *a, u64 len, u32 page_size) | ||
81 | { | ||
82 | return a->ops->alloc_pte(a, len, page_size); | ||
83 | } | ||
84 | |||
80 | void nvgpu_free(struct nvgpu_allocator *a, u64 addr) | 85 | void nvgpu_free(struct nvgpu_allocator *a, u64 addr) |
81 | { | 86 | { |
82 | a->ops->free(a, addr); | 87 | a->ops->free(a, addr); |