diff options
author | Wei Sun <wsun@nvidia.com> | 2014-07-07 18:19:29 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:28 -0400 |
commit | 5ea7ab10ecddc6d6f8d9c72ea6e60ba260389c63 (patch) | |
tree | 09d953d2fcca1d3fd22c342e33cc22640ca23659 /drivers/gpu/nvgpu/gm20b | |
parent | fec60b6e6e299151d446f4bccc5fd64a23b704d2 (diff) |
gpu: nvgpu: gm20b: fix CBC clear
gm20b_ltc_cbc_ctrl sent the wrong register value to
clear the CBC.
Bug 1507804
Change-Id: Ib0d867a122466e50cb15fef3b320fb2ee8455ef2
Signed-off-by: Wei Sun <wsun@nvidia.com>
Reviewed-on: http://git-master/r/435297
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c index b9c3b32d..e3c003a6 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.c | |||
@@ -131,7 +131,7 @@ static int gm20b_ltc_cbc_ctrl(struct gk20a *g, enum gk20a_cbc_op op, | |||
131 | BUG_ON(1); | 131 | BUG_ON(1); |
132 | } | 132 | } |
133 | gk20a_writel(g, ltc_ltcs_ltss_cbc_ctrl1_r(), | 133 | gk20a_writel(g, ltc_ltcs_ltss_cbc_ctrl1_r(), |
134 | gk20a_readl(g, ltc_ltcs_ltss_cbc_ctrl1_r()) || hw_op); | 134 | gk20a_readl(g, ltc_ltcs_ltss_cbc_ctrl1_r()) | hw_op); |
135 | 135 | ||
136 | for (ltc = 0; ltc < g->ltc_count; ltc++) { | 136 | for (ltc = 0; ltc < g->ltc_count; ltc++) { |
137 | for (slice = 0; slice < slices_per_ltc; slice++) { | 137 | for (slice = 0; slice < slices_per_ltc; slice++) { |