summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
index 46f5ffb5..0d7a3f4d 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
@@ -956,6 +956,8 @@ int gr_gv11b_zbc_s_query_table(struct gk20a *g, struct gr_gk20a *gr,
956 nvgpu_err(g, "invalid zbc stencil table index"); 956 nvgpu_err(g, "invalid zbc stencil table index");
957 return -EINVAL; 957 return -EINVAL;
958 } 958 }
959
960 nvgpu_speculation_barrier();
959 query_params->depth = gr->zbc_s_tbl[index].stencil; 961 query_params->depth = gr->zbc_s_tbl[index].stencil;
960 query_params->format = gr->zbc_s_tbl[index].format; 962 query_params->format = gr->zbc_s_tbl[index].format;
961 query_params->ref_cnt = gr->zbc_s_tbl[index].ref_cnt; 963 query_params->ref_cnt = gr->zbc_s_tbl[index].ref_cnt;