diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h index 161c1ce0..f6020434 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h | |||
@@ -200,7 +200,7 @@ static inline u32 gmmu_pte_read_disable_true_f(void) | |||
200 | } | 200 | } |
201 | static inline u32 gmmu_pte_comptagline_f(u32 v) | 201 | static inline u32 gmmu_pte_comptagline_f(u32 v) |
202 | { | 202 | { |
203 | return (v & 0x1ffff) << 12; | 203 | return (v & 0x3ffff) << 12; |
204 | } | 204 | } |
205 | static inline u32 gmmu_pte_comptagline_w(void) | 205 | static inline u32 gmmu_pte_comptagline_w(void) |
206 | { | 206 | { |
diff --git a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h index 32c4a01d..2b20199e 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h | |||
@@ -148,7 +148,7 @@ static inline u32 ltc_ltcs_ltss_cbc_ctrl2_r(void) | |||
148 | } | 148 | } |
149 | static inline u32 ltc_ltcs_ltss_cbc_ctrl2_clear_lower_bound_f(u32 v) | 149 | static inline u32 ltc_ltcs_ltss_cbc_ctrl2_clear_lower_bound_f(u32 v) |
150 | { | 150 | { |
151 | return (v & 0x1ffff) << 0; | 151 | return (v & 0x3ffff) << 0; |
152 | } | 152 | } |
153 | static inline u32 ltc_ltcs_ltss_cbc_ctrl3_r(void) | 153 | static inline u32 ltc_ltcs_ltss_cbc_ctrl3_r(void) |
154 | { | 154 | { |
@@ -156,7 +156,7 @@ static inline u32 ltc_ltcs_ltss_cbc_ctrl3_r(void) | |||
156 | } | 156 | } |
157 | static inline u32 ltc_ltcs_ltss_cbc_ctrl3_clear_upper_bound_f(u32 v) | 157 | static inline u32 ltc_ltcs_ltss_cbc_ctrl3_clear_upper_bound_f(u32 v) |
158 | { | 158 | { |
159 | return (v & 0x1ffff) << 0; | 159 | return (v & 0x3ffff) << 0; |
160 | } | 160 | } |
161 | static inline u32 ltc_ltcs_ltss_cbc_ctrl3_clear_upper_bound_init_v(void) | 161 | static inline u32 ltc_ltcs_ltss_cbc_ctrl3_clear_upper_bound_init_v(void) |
162 | { | 162 | { |