diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 184c1f71..d7503948 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -391,9 +391,11 @@ struct mm_gk20a { | |||
391 | bool force_pramin; /* via debugfs */ | 391 | bool force_pramin; /* via debugfs */ |
392 | #endif | 392 | #endif |
393 | 393 | ||
394 | size_t vidmem_size; | 394 | struct { |
395 | struct device vidmem_dev; | 395 | size_t size; |
396 | u32 ce_vidmem_ctx_id; | 396 | struct gk20a_allocator allocator; |
397 | u32 ce_ctx_id; | ||
398 | } vidmem; | ||
397 | }; | 399 | }; |
398 | 400 | ||
399 | int gk20a_mm_init(struct mm_gk20a *mm); | 401 | int gk20a_mm_init(struct mm_gk20a *mm); |