From 88d5f6b4154d6803ecf3b0dee7208f9f1f10a793 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 17 Aug 2017 14:33:46 -0700 Subject: gpu: nvgpu: Rename vidmem APIs Rename the VIDMEM APIs to be prefixed by nvgpu_ to ensure consistency and that all the non-static vidmem functions are properly namespaced. JIRA NVGPU-30 JIRA NVGPU-138 Change-Id: I9986ee8f2c8f95a4b7c5e2b9607bc1e77933ccfc Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1540707 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/mm/nvgpu_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/common/mm/nvgpu_mem.c') diff --git a/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c b/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c index 2b6e6e6a..9f677058 100644 --- a/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c +++ b/drivers/gpu/nvgpu/common/mm/nvgpu_mem.c @@ -62,7 +62,7 @@ void nvgpu_sgt_free(struct nvgpu_sgt *sgt, struct gk20a *g) u64 nvgpu_mem_iommu_translate(struct gk20a *g, u64 phys) { /* ensure it is not vidmem allocation */ - WARN_ON(is_vidmem_page_alloc(phys)); + WARN_ON(nvgpu_addr_is_vidmem_page_alloc(phys)); if (nvgpu_iommuable(g) && g->ops.mm.get_iommu_bit) return phys | 1ULL << g->ops.mm.get_iommu_bit(g); -- cgit v1.2.2