diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ltc_common.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ltc_common.c b/drivers/gpu/nvgpu/gk20a/ltc_common.c index 1c18418c..cc0932d9 100644 --- a/drivers/gpu/nvgpu/gk20a/ltc_common.c +++ b/drivers/gpu/nvgpu/gk20a/ltc_common.c | |||
@@ -53,9 +53,10 @@ static void gk20a_ltc_set_zbc_color_entry(struct gk20a *g, | |||
53 | 53 | ||
54 | for (i = 0; | 54 | for (i = 0; |
55 | i < ltc_ltcs_ltss_dstg_zbc_color_clear_value__size_1_v(); i++) { | 55 | i < ltc_ltcs_ltss_dstg_zbc_color_clear_value__size_1_v(); i++) { |
56 | gk20a_writel_check(g, ltc_ltcs_ltss_dstg_zbc_color_clear_value_r(i), | 56 | gk20a_writel(g, ltc_ltcs_ltss_dstg_zbc_color_clear_value_r(i), |
57 | color_val->color_l2[i]); | 57 | color_val->color_l2[i]); |
58 | } | 58 | } |
59 | gk20a_readl(g, ltc_ltcs_ltss_dstg_zbc_index_r()); | ||
59 | } | 60 | } |
60 | 61 | ||
61 | /* | 62 | /* |
@@ -70,8 +71,10 @@ static void gk20a_ltc_set_zbc_depth_entry(struct gk20a *g, | |||
70 | gk20a_writel(g, ltc_ltcs_ltss_dstg_zbc_index_r(), | 71 | gk20a_writel(g, ltc_ltcs_ltss_dstg_zbc_index_r(), |
71 | ltc_ltcs_ltss_dstg_zbc_index_address_f(real_index)); | 72 | ltc_ltcs_ltss_dstg_zbc_index_address_f(real_index)); |
72 | 73 | ||
73 | gk20a_writel_check(g, ltc_ltcs_ltss_dstg_zbc_depth_clear_value_r(), | 74 | gk20a_writel(g, ltc_ltcs_ltss_dstg_zbc_depth_clear_value_r(), |
74 | depth_val->depth); | 75 | depth_val->depth); |
76 | |||
77 | gk20a_readl(g, ltc_ltcs_ltss_dstg_zbc_index_r()); | ||
75 | } | 78 | } |
76 | 79 | ||
77 | static int gk20a_ltc_alloc_phys_cbc(struct gk20a *g, | 80 | static int gk20a_ltc_alloc_phys_cbc(struct gk20a *g, |