diff options
| author | Vandana Salve <vsalve@nvidia.com> | 2013-10-17 17:16:54 -0400 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:06:43 -0400 |
| commit | 8e0cf5ccd3f37c5aa2badfc7dce2022a06262b7c (patch) | |
| tree | f8ff64189e833be5c8f234343a6b2367a9d1cb36 /include/linux | |
| parent | eb38c67208b6e9dce7d149c85a6c9e5a7375d80f (diff) | |
include: linux: nvmap: add carveout resize params
Add cma chunk size and resize params in
nvmap_platform_carveout.
Prepare nvmap to support carveout resizing.
bug 1279160
Change-Id: I2fc201281a1a2b0b19ffa29d0912a5b2d1ade8af
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/300693
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 10d0505a0..5ce9f5b5c 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h | |||
| @@ -104,6 +104,8 @@ struct nvmap_platform_carveout { | |||
| 104 | size_t size; | 104 | size_t size; |
| 105 | size_t buddy_size; | 105 | size_t buddy_size; |
| 106 | struct device *cma_dev; | 106 | struct device *cma_dev; |
| 107 | size_t cma_chunk_size; | ||
| 108 | bool resize; | ||
| 107 | }; | 109 | }; |
| 108 | 110 | ||
| 109 | struct nvmap_platform_data { | 111 | struct nvmap_platform_data { |
