mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: for nvgpu-next do not reset grce engines twice
NVGPU_ENGINE_GRCE engines are getting reset twice, once in nvgpu_init_prepare_hw() and other time in nvgpu_ce_init_support(). To avoid this, remove NVGPU_ENGINE_GRCE engines reset from nvgpu_init_prepare_hw. JIRA NVGPU-5288 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Change-Id: Ic03dbff0a74e973ba423abfa004e49bdd8e451f7 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2336450 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
d44ed9d3a8
commit
3bd0430aa8
@@ -660,11 +660,6 @@ static int gr_init_prepare_hw(struct gk20a *g)
|
||||
nvgpu_err(g, "NVGPU_ENGINE_GR reset failed");
|
||||
return err;
|
||||
}
|
||||
err = nvgpu_next_mc_reset_engine(g, NVGPU_ENGINE_GRCE);
|
||||
if (err != 0) {
|
||||
nvgpu_err(g, "NVGPU_ENGINE_GRCE reset failed");
|
||||
return err;
|
||||
}
|
||||
} else {
|
||||
#endif
|
||||
/* reset gr engine */
|
||||
|
||||
Reference in New Issue
Block a user