summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_gmmu_gp10b.h2
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_ltc_gp10b.h4
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}
201static inline u32 gmmu_pte_comptagline_f(u32 v) 201static inline u32 gmmu_pte_comptagline_f(u32 v)
202{ 202{
203 return (v & 0x1ffff) << 12; 203 return (v & 0x3ffff) << 12;
204} 204}
205static inline u32 gmmu_pte_comptagline_w(void) 205static 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}
149static inline u32 ltc_ltcs_ltss_cbc_ctrl2_clear_lower_bound_f(u32 v) 149static 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}
153static inline u32 ltc_ltcs_ltss_cbc_ctrl3_r(void) 153static 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}
157static inline u32 ltc_ltcs_ltss_cbc_ctrl3_clear_upper_bound_f(u32 v) 157static 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}
161static inline u32 ltc_ltcs_ltss_cbc_ctrl3_clear_upper_bound_init_v(void) 161static inline u32 ltc_ltcs_ltss_cbc_ctrl3_clear_upper_bound_init_v(void)
162{ 162{