From b6f12a3449234f9960998954382e1a9afea7764d Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 24 May 2012 14:18:28 +0300 Subject: video: tegra: nvmap: Remove nvhost specific APIs Remove nvmap_pin_array() and nvmap_patch_word() and their utility functions. Bug 965206 Change-Id: I217a427934b0b99b5252b33ab3ac4eaaa8c7e076 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/104451 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mayuresh Kulkarni GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen --- include/linux/nvmap.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include/linux/nvmap.h') diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 60ccdc192df5..553a7bd01a6d 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h @@ -92,14 +92,6 @@ struct nvmap_handle_ref { #define nvmap_id_to_handle(_id) ((struct nvmap_handle *)(_id)) -struct nvmap_pinarray_elem { - __u32 patch_mem; - __u32 patch_offset; - __u32 pin_mem; - __u32 pin_offset; - __u32 reloc_shift; -}; - struct nvmap_client *nvmap_create_client(struct nvmap_device *dev, const char *name); @@ -125,17 +117,9 @@ phys_addr_t nvmap_handle_address(struct nvmap_client *c, unsigned long id); void nvmap_unpin(struct nvmap_client *client, struct nvmap_handle_ref *r); -int nvmap_pin_array(struct nvmap_client *client, struct nvmap_handle *gather, - const struct nvmap_pinarray_elem *arr, int nr, - struct nvmap_handle **unique); - void nvmap_unpin_handles(struct nvmap_client *client, struct nvmap_handle **h, int nr); -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); -- cgit v1.2.3