summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index af176a73..e8b90c8f 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -20,7 +20,6 @@
20 20
21#include <linux/scatterlist.h> 21#include <linux/scatterlist.h>
22#include <linux/iommu.h> 22#include <linux/iommu.h>
23#include <linux/version.h>
24#include <asm/dma-iommu.h> 23#include <asm/dma-iommu.h>
25#include <asm/cacheflush.h> 24#include <asm/cacheflush.h>
26 25
@@ -248,24 +247,15 @@ struct mm_gk20a {
248 bool use_full_comp_tag_line; 247 bool use_full_comp_tag_line;
249 bool ltc_enabled_current; 248 bool ltc_enabled_current;
250 bool ltc_enabled_target; 249 bool ltc_enabled_target;
251#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
252 u32 bypass_smmu;
253 u32 disable_bigpage;
254#else
255 bool bypass_smmu; 250 bool bypass_smmu;
256 bool disable_bigpage; 251 bool disable_bigpage;
257#endif
258 bool has_physical_mode; 252 bool has_physical_mode;
259 253
260 struct nvgpu_mem sysmem_flush; 254 struct nvgpu_mem sysmem_flush;
261 255
262 u32 pramin_window; 256 u32 pramin_window;
263 struct nvgpu_spinlock pramin_window_lock; 257 struct nvgpu_spinlock pramin_window_lock;
264#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
265 u32 force_pramin; /* via debugfs */
266#else
267 bool force_pramin; /* via debugfs */ 258 bool force_pramin; /* via debugfs */
268#endif
269 259
270 struct { 260 struct {
271 size_t size; 261 size_t size;