diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h index e0118946..45ae59d6 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2012-2014, 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, |
@@ -142,6 +142,10 @@ static inline u32 gmmu_pte_valid_true_f(void) | |||
142 | { | 142 | { |
143 | return 0x1; | 143 | return 0x1; |
144 | } | 144 | } |
145 | static inline u32 gmmu_pte_valid_false_f(void) | ||
146 | { | ||
147 | return 0x0; | ||
148 | } | ||
145 | static inline u32 gmmu_pte_address_sys_f(u32 v) | 149 | static inline u32 gmmu_pte_address_sys_f(u32 v) |
146 | { | 150 | { |
147 | return (v & 0xfffffff) << 4; | 151 | return (v & 0xfffffff) << 4; |