summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
index 0234265a..46846b21 100644
--- a/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/hw_fb_gk20a.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2012-2015, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2012-2016, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -86,6 +86,10 @@ static inline u32 fb_mmu_invalidate_pdb_aperture_vid_mem_f(void)
86{ 86{
87 return 0x0; 87 return 0x0;
88} 88}
89static inline u32 fb_mmu_invalidate_pdb_aperture_sys_mem_f(void)
90{
91 return 0x2;
92}
89static inline u32 fb_mmu_invalidate_pdb_addr_f(u32 v) 93static inline u32 fb_mmu_invalidate_pdb_addr_f(u32 v)
90{ 94{
91 return (v & 0xfffffff) << 4; 95 return (v & 0xfffffff) << 4;
@@ -146,6 +150,14 @@ static inline u32 fb_mmu_debug_wr_aperture_vid_mem_f(void)
146{ 150{
147 return 0x0; 151 return 0x0;
148} 152}
153static inline u32 fb_mmu_debug_wr_aperture_sys_mem_coh_f(void)
154{
155 return 0x2;
156}
157static inline u32 fb_mmu_debug_wr_aperture_sys_mem_ncoh_f(void)
158{
159 return 0x3;
160}
149static inline u32 fb_mmu_debug_wr_vol_false_f(void) 161static inline u32 fb_mmu_debug_wr_vol_false_f(void)
150{ 162{
151 return 0x0; 163 return 0x0;
@@ -174,6 +186,14 @@ static inline u32 fb_mmu_debug_rd_aperture_vid_mem_f(void)
174{ 186{
175 return 0x0; 187 return 0x0;
176} 188}
189static inline u32 fb_mmu_debug_rd_aperture_sys_mem_coh_f(void)
190{
191 return 0x2;
192}
193static inline u32 fb_mmu_debug_rd_aperture_sys_mem_ncoh_f(void)
194{
195 return 0x3;
196}
177static inline u32 fb_mmu_debug_rd_vol_false_f(void) 197static inline u32 fb_mmu_debug_rd_vol_false_f(void)
178{ 198{
179 return 0x0; 199 return 0x0;