mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: move GSPLITE outside DGPU flag
Jira NVGPU-7276 Change-Id: Ic69443f66f42ab5e981ce865c24fcca63f783a76 Signed-off-by: shashank singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2632687 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
820d2b4a2d
commit
c22ff25097
@@ -258,23 +258,23 @@ static int nvgpu_falcons_sw_init(struct gk20a *g)
|
||||
goto done_sec2;
|
||||
}
|
||||
|
||||
#endif
|
||||
err = g->ops.falcon.falcon_sw_init(g, FALCON_ID_GSPLITE);
|
||||
if (err != 0) {
|
||||
nvgpu_err(g, "failed to sw init FALCON_ID_GSPLITE");
|
||||
goto done_nvdec;
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
||||
#ifdef CONFIG_NVGPU_DGPU
|
||||
done_nvdec:
|
||||
#ifdef CONFIG_NVGPU_DGPU
|
||||
g->ops.falcon.falcon_sw_free(g, FALCON_ID_NVDEC);
|
||||
done_sec2:
|
||||
g->ops.falcon.falcon_sw_free(g, FALCON_ID_SEC2);
|
||||
done_fecs:
|
||||
g->ops.falcon.falcon_sw_free(g, FALCON_ID_FECS);
|
||||
#endif
|
||||
g->ops.falcon.falcon_sw_free(g, FALCON_ID_FECS);
|
||||
done_pmu:
|
||||
g->ops.falcon.falcon_sw_free(g, FALCON_ID_PMU);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user