diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gmmu_gk20a.h index d92f0d58..9b444036 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-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, |
@@ -62,6 +62,14 @@ static inline u32 gmmu_pde_aperture_big_video_memory_f(void) | |||
62 | { | 62 | { |
63 | return 0x1; | 63 | return 0x1; |
64 | } | 64 | } |
65 | static inline u32 gmmu_pde_aperture_big_sys_mem_coh_f(void) | ||
66 | { | ||
67 | return 0x2; | ||
68 | } | ||
69 | static inline u32 gmmu_pde_aperture_big_sys_mem_ncoh_f(void) | ||
70 | { | ||
71 | return 0x3; | ||
72 | } | ||
65 | static inline u32 gmmu_pde_size_w(void) | 73 | static inline u32 gmmu_pde_size_w(void) |
66 | { | 74 | { |
67 | return 0; | 75 | return 0; |
@@ -90,6 +98,14 @@ static inline u32 gmmu_pde_aperture_small_video_memory_f(void) | |||
90 | { | 98 | { |
91 | return 0x1; | 99 | return 0x1; |
92 | } | 100 | } |
101 | static inline u32 gmmu_pde_aperture_small_sys_mem_coh_f(void) | ||
102 | { | ||
103 | return 0x2; | ||
104 | } | ||
105 | static inline u32 gmmu_pde_aperture_small_sys_mem_ncoh_f(void) | ||
106 | { | ||
107 | return 0x3; | ||
108 | } | ||
93 | static inline u32 gmmu_pde_vol_small_w(void) | 109 | static inline u32 gmmu_pde_vol_small_w(void) |
94 | { | 110 | { |
95 | return 1; | 111 | return 1; |
@@ -186,6 +202,14 @@ static inline u32 gmmu_pte_aperture_video_memory_f(void) | |||
186 | { | 202 | { |
187 | return 0x0; | 203 | return 0x0; |
188 | } | 204 | } |
205 | static inline u32 gmmu_pte_aperture_sys_mem_coh_f(void) | ||
206 | { | ||
207 | return 0x4; | ||
208 | } | ||
209 | static inline u32 gmmu_pte_aperture_sys_mem_ncoh_f(void) | ||
210 | { | ||
211 | return 0x6; | ||
212 | } | ||
189 | static inline u32 gmmu_pte_read_only_w(void) | 213 | static inline u32 gmmu_pte_read_only_w(void) |
190 | { | 214 | { |
191 | return 0; | 215 | return 0; |