mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: rename dma map/umap interfaces
On Desktop verion, map is called nvidia_p2p_dma_map_pages and umap is called nvidia_p2p_dma_umap_pages. So renamed these two apis to match the desktop version. Bug 200438879 Change-Id: I66301c48b832dfed8c3950678f473c2f82b8761a Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2014940 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
cbf6394482
commit
b5d13e16ae
@@ -159,13 +159,13 @@ int nvidia_p2p_free_page_table(struct nvidia_p2p_page_table *page_table);
|
||||
* 0 upon successful completion.
|
||||
* Negative number if any other error
|
||||
*/
|
||||
int nvidia_p2p_map_pages(struct device *dev,
|
||||
int nvidia_p2p_dma_map_pages(struct device *dev,
|
||||
struct nvidia_p2p_page_table *page_table,
|
||||
struct nvidia_p2p_dma_mapping **map,
|
||||
enum dma_data_direction direction);
|
||||
/*
|
||||
* @brief
|
||||
* Unmap the pages previously mapped using nvidia_p2p_map_pages
|
||||
* Unmap the pages previously mapped using nvidia_p2p_dma_map_pages
|
||||
*
|
||||
* @param[in] *map
|
||||
* A pointer to struct nvidia_p2p_dma_mapping.
|
||||
@@ -175,11 +175,11 @@ int nvidia_p2p_map_pages(struct device *dev,
|
||||
* 0 upon successful completion.
|
||||
* Negative number if any other error
|
||||
*/
|
||||
int nvidia_p2p_unmap_pages(struct nvidia_p2p_dma_mapping *map);
|
||||
int nvidia_p2p_dma_unmap_pages(struct nvidia_p2p_dma_mapping *map);
|
||||
|
||||
/*
|
||||
* @brief
|
||||
* Unmap the pages previously mapped using nvidia_p2p_map_pages.
|
||||
* Unmap the pages previously mapped using nvidia_p2p_dma_map_pages.
|
||||
* This is called during the execution of the free_callback().
|
||||
*
|
||||
* @param[in] *map
|
||||
|
||||
Reference in New Issue
Block a user