gpu: nvgpu: set CE prod values

Add g->ops.ce.init_prod_values() hal for gv11b and tu104 to initialize
PROD values of CE unit

Bug 2526212

Change-Id: I8e516b292622e09c537feb7830392648116baa7c
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2150874
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Deepak Nibade
2019-07-10 15:22:21 +05:30
committed by mobile promotions
parent bf939e3ea6
commit 0e6a305c6a
8 changed files with 29 additions and 0 deletions

View File

@@ -444,6 +444,11 @@ int nvgpu_ce_init_support(struct gk20a *g)
ce_app->app_state = NVGPU_CE_ACTIVE;
nvgpu_mutex_release(&ce_app->app_mutex);
if (g->ops.ce.init_prod_values != NULL) {
g->ops.ce.init_prod_values(g);
}
nvgpu_log(g, gpu_dbg_cde_ctx, "ce: init finished");
return 0;