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 /drivers/gpu | |
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 'drivers/gpu')
-rw-r--r-- | drivers/gpu/ion/tegra/tegra_ion.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/ion/tegra/tegra_ion.c b/drivers/gpu/ion/tegra/tegra_ion.c index f686269f2f81..2252079279e8 100644 --- a/drivers/gpu/ion/tegra/tegra_ion.c +++ b/drivers/gpu/ion/tegra/tegra_ion.c @@ -373,7 +373,8 @@ struct nvmap_client *nvmap_create_client(struct nvmap_device *dev, } 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) { return ion_alloc(client, size, align, HEAP_FLAGS); } |