mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: Update report_error callback for GCC
In report_error callback related to GCC, replace tpc id with 0 to avoid the checking of tpc id at iGPU SDL testapp. This is because the tpc info passed could be an invalid one. Jira NVGPU-3087 Change-Id: I360d9e2ee3e1cf1296cf3a97d05d71e3478b8229 Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2093562 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> Reviewed-by: Raghuram Kothakota <rkothakota@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
744f0afcb2
commit
3c08a91de8
@@ -95,7 +95,7 @@ void gv11b_gr_intr_handle_gcc_exception(struct gk20a *g, u32 gpc,
|
||||
);
|
||||
}
|
||||
*corrected_err += gcc_l15_corrected_err_count_delta;
|
||||
nvgpu_gr_report_ecc_error(g, NVGPU_ERR_MODULE_GCC, gpc, tpc,
|
||||
nvgpu_gr_report_ecc_error(g, NVGPU_ERR_MODULE_GCC, gpc, 0,
|
||||
GPU_GCC_L15_ECC_CORRECTED,
|
||||
0, *corrected_err);
|
||||
nvgpu_writel(g,
|
||||
@@ -117,7 +117,7 @@ void gv11b_gr_intr_handle_gcc_exception(struct gk20a *g, u32 gpc,
|
||||
);
|
||||
}
|
||||
*uncorrected_err += gcc_l15_uncorrected_err_count_delta;
|
||||
nvgpu_gr_report_ecc_error(g, NVGPU_ERR_MODULE_GCC, gpc, tpc,
|
||||
nvgpu_gr_report_ecc_error(g, NVGPU_ERR_MODULE_GCC, gpc, 0,
|
||||
GPU_GCC_L15_ECC_UNCORRECTED,
|
||||
0, *uncorrected_err);
|
||||
nvgpu_writel(g,
|
||||
|
||||
Reference in New Issue
Block a user