summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 60f653e0..e4d7d741 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -51,6 +51,8 @@ enum gk20a_aperture {
51 APERTURE_VIDMEM 51 APERTURE_VIDMEM
52}; 52};
53 53
54#define NVGPU_VIDMEM_BOOTSTRAP_ALLOCATOR_BASE 0x18000000
55
54static inline const char *gk20a_aperture_str(enum gk20a_aperture aperture) 56static inline const char *gk20a_aperture_str(enum gk20a_aperture aperture)
55{ 57{
56 switch (aperture) { 58 switch (aperture) {
@@ -404,7 +406,9 @@ struct mm_gk20a {
404 struct { 406 struct {
405 size_t size; 407 size_t size;
406 struct gk20a_allocator allocator; 408 struct gk20a_allocator allocator;
409 struct gk20a_allocator bootstrap_allocator;
407 u32 ce_ctx_id; 410 u32 ce_ctx_id;
411 bool cleared;
408 } vidmem; 412 } vidmem;
409}; 413};
410 414