diff options
author | Krishna Reddy <vdumpa@nvidia.com> | 2012-03-15 19:14:53 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-03-20 14:02:25 -0700 |
commit | bda291df6347efb06cf15de0bbc09ce18ef757bb (patch) | |
tree | ae860081309806a48c5a3c933464b3dee040a9ba /arch/arm/mach-tegra | |
parent | 419f21cd5826a38a1759fde2a4daba92a4f9a7bc (diff) |
arm: tegra: nvmap: Update nvmap_alloc api.
Update nvmap_alloc api to take heap_mask as arg.
This is to let clients specify the specific heap needed.
Change-Id: I9950b3e60e6dac0301b6dc66be3e9d0bab8e0fee
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/90471
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/nvmap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/nvmap.h b/arch/arm/mach-tegra/include/mach/nvmap.h index fb2eda1ca654..88f913fc29dd 100644 --- a/arch/arm/mach-tegra/include/mach/nvmap.h +++ b/arch/arm/mach-tegra/include/mach/nvmap.h @@ -106,7 +106,8 @@ struct nvmap_client *nvmap_create_client(struct nvmap_device *dev, const char *name); struct nvmap_handle_ref *nvmap_alloc(struct nvmap_client *client, size_t size, - size_t align, unsigned int flags); + size_t align, unsigned int flags, + unsigned int heap_mask); void nvmap_free(struct nvmap_client *client, struct nvmap_handle_ref *r); |