summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2012-09-08 00:12:20 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:23:39 -0700
commit7b1a5c41cc88b7b26a8626486c1bcc3d6c8d7600 (patch)
treede32718b9e7ba88a2cbeac0025a68e06e0f60b79 /include
parent941f3a73972afd1aa11d0ae8d8096c8a18927342 (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 Rebase-Id: R12fd14216fd7f3b0b2207337d6fb9093dde69a97
Diffstat (limited to 'include')
-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 1625d13f91c0..2b29c78256c3 100644
--- a/include/linux/nvmap.h
+++ b/include/linux/nvmap.h
@@ -117,6 +117,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;