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>
This commit is contained in:
seshendra Gadagottu
2017-05-02 17:01:57 -07:00
committed by mobile promotions
parent a30486a68b
commit aeb14da4a0

View File

@@ -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.