summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
diff options
context:
space:
mode:
authorAingara Paramakuru <aparamakuru@nvidia.com>2014-10-06 21:10:10 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:11:39 -0400
commit47caf9f7f5119c301c0690595c5e5f7318ddc595 (patch)
treeabd810e514182689a5089ee36d90a6f6e0611dc6 /drivers/gpu/nvgpu/vgpu/mm_vgpu.c
parent1517aaf26f07214e9a4459ee951399262ecc200e (diff)
gpu: nvgpu: vgpu: fix build break
Switch struct definitions to use nvgpu version instead of nvhost one. Bug 1509608 Change-Id: Id8c1b0c198536766f0399437bdf2c35c6a6bfe85 Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com> Reviewed-on: http://git-master/r/554027 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/mm_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/mm_vgpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
index 6ed1dece..ed5e1548 100644
--- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c
@@ -15,6 +15,7 @@
15 15
16#include <linux/dma-mapping.h> 16#include <linux/dma-mapping.h>
17#include "vgpu/vgpu.h" 17#include "vgpu/vgpu.h"
18#include "gk20a/semaphore_gk20a.h"
18 19
19/* note: keep the page sizes sorted lowest to highest here */ 20/* note: keep the page sizes sorted lowest to highest here */
20static const u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, SZ_128K }; 21static const u32 gmmu_page_sizes[gmmu_nr_page_sizes] = { SZ_4K, SZ_128K };
@@ -107,7 +108,7 @@ static u64 vgpu_locked_gmmu_map(struct vm_gk20a *vm,
107 p->iova = mapping ? 1 : 0; 108 p->iova = mapping ? 1 : 0;
108 p->kind = kind_v; 109 p->kind = kind_v;
109 p->cacheable = 110 p->cacheable =
110 (flags & NVHOST_MAP_BUFFER_FLAGS_CACHEABLE_TRUE) ? 1 : 0; 111 (flags & NVGPU_MAP_BUFFER_FLAGS_CACHEABLE_TRUE) ? 1 : 0;
111 p->prot = prot; 112 p->prot = prot;
112 p->ctag_offset = ctag_offset; 113 p->ctag_offset = ctag_offset;
113 p->clear_ctags = clear_ctags; 114 p->clear_ctags = clear_ctags;