gpu: nvgpu: update gr hal for dgpu vdk

gr hal load_ctxsw_ucode changed for dgpu vdk.
This helps to avoid any pmu related code access.

JIRA NVGPU-1564

Change-Id: I8026ab88c8a8efba6cb1ee45f9ad5371ee08b1af
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1974091
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Vinod G
2018-12-16 16:58:24 -08:00
committed by mobile promotions
parent 6efe7d92be
commit 043ffd0c6a

View File

@@ -1206,6 +1206,8 @@ int tu104_init_hal(struct gk20a *g)
/* Disable acr init */
gops->acr.acr_sw_init = NULL;
gops->gr.load_ctxsw_ucode = gr_gk20a_load_ctxsw_ucode;
/* Disable pmu pstate, as there is no pmu support */
__nvgpu_set_enabled(g, NVGPU_PMU_PSTATE, false);