From aeb14da4a0432eb852cd99f733524fd7633529f5 Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Tue, 2 May 2017 17:01:57 -0700 Subject: 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 Reviewed-on: http://git-master/r/1474021 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'drivers/gpu') 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, virt_addr_hi); } - nvgpu_mem_wr(g, mem, ctxsw_prog_main_image_zcull_o(), - ch_ctx->zcull_ctx.ctx_sw_mode); - - if (ctxheader->gpu_va) - g->ops.gr.write_zcull_ptr(g, ctxheader, - ch_ctx->zcull_ctx.gpu_va); - else - g->ops.gr.write_zcull_ptr(g, mem, - ch_ctx->zcull_ctx.gpu_va); - /* Update main header region of the context buffer with the info needed * for PM context switching, including mode and possibly a pointer to * the PM backing store. -- cgit v1.2.2