summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h
index 32b65912..572f727f 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_gmmu_gm20b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2015, 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,
@@ -210,6 +210,10 @@ static inline u32 gmmu_pte_read_disable_true_f(void)
210{ 210{
211 return 0x40000000; 211 return 0x40000000;
212} 212}
213static inline u32 gmmu_pte_comptagline_s(void)
214{
215 return 17;
216}
213static inline u32 gmmu_pte_comptagline_f(u32 v) 217static inline u32 gmmu_pte_comptagline_f(u32 v)
214{ 218{
215 return (v & 0x1ffff) << 12; 219 return (v & 0x1ffff) << 12;