summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2017-05-02 20:01:57 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-03 18:44:56 -0400
commitaeb14da4a0432eb852cd99f733524fd7633529f5 (patch)
treee42b60793b3f4d7f65a0e63b609e7044aa1e0386 /drivers/gpu/nvgpu
parenta30486a68b70d551de7b1610fa77b6ae14921d1e (diff)
gpu: nvgpu: zcull settings during golden ctx load
Don't configure zcull setting during golden context loading. Zcull setting will be configured through explicit API. Change-Id: I648aea8a8db9132fc81d61dbbff46edf7bfca6d7 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1474021 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
index 48becc81..3140c285 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
@@ -2133,16 +2133,6 @@ int gr_gk20a_load_golden_ctx_image(struct gk20a *g,
2133 virt_addr_hi); 2133 virt_addr_hi);
2134 } 2134 }
2135 2135
2136 nvgpu_mem_wr(g, mem, ctxsw_prog_main_image_zcull_o(),
2137 ch_ctx->zcull_ctx.ctx_sw_mode);
2138
2139 if (ctxheader->gpu_va)
2140 g->ops.gr.write_zcull_ptr(g, ctxheader,
2141 ch_ctx->zcull_ctx.gpu_va);
2142 else
2143 g->ops.gr.write_zcull_ptr(g, mem,
2144 ch_ctx->zcull_ctx.gpu_va);
2145
2146 /* Update main header region of the context buffer with the info needed 2136 /* Update main header region of the context buffer with the info needed
2147 * for PM context switching, including mode and possibly a pointer to 2137 * for PM context switching, including mode and possibly a pointer to
2148 * the PM backing store. 2138 * the PM backing store.