summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2012-05-21 21:14:03 +0300
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-05-22 23:52:55 -0700
commitcf6d5a8c90cba0b7b4e57aaccff01f0e47e2d878 (patch)
tree157cd113c9fce6294963fa4e9cdb5d00a994b365 /include/linux
parentecfa34a26e2a0ce7481a8e8b9cdb31060c520a2c (diff)
video: tegra: nvmap: Export nvmap_duplicate_handle_id
Export nvmap_duplicate_handle_id() for usage by other drivers. It is already being used in nvavp and tegradc, and nvhost needs it to be able to move the relocation code to inside nvhost. Bug 965206 Change-Id: I3f818d1faa967886e834aa457a99dfdb61bc6b85 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/103587 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h
index ba9c781c3db1..bea59694ad27 100644
--- a/include/linux/nvmap.h
+++ b/include/linux/nvmap.h
@@ -138,6 +138,9 @@ int nvmap_patch_word(struct nvmap_client *client,
struct nvmap_handle *patch,
u32 patch_offset, u32 patch_value);
+struct nvmap_handle_ref *nvmap_duplicate_handle_id(struct nvmap_client *client,
+ unsigned long id);
+
struct nvmap_platform_carveout {
const char *name;
unsigned int usage_mask;