mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: report fb_flush_timeout error
This patch adds the support to report fb_flush_timeout error to 3LSS. Specifically, it adds the following service-ID: NVGUARD_SERVICE_IGPU_HOST_SWERR_PFIFO_FB_FLUSH_TIMEOUT_ERROR JIRA NVGPU-3460 JIRA NVGPU-3461 Change-Id: Iddf978eedbc676197a19e47e72e08cd71c478a08 Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2138051 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Raghuram Kothakota <rkothakota@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vaibhav Kachore <vkachore@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
c341c84039
commit
29ec6ad40f
@@ -182,6 +182,8 @@ static u32 gk20a_fifo_intr_handle_errors(struct gk20a *g, u32 fifo_intr)
|
||||
}
|
||||
|
||||
if ((fifo_intr & fifo_intr_0_fb_flush_timeout_pending_f()) != 0U) {
|
||||
(void) nvgpu_report_host_err(g, NVGPU_ERR_MODULE_HOST,
|
||||
0, GPU_HOST_PFIFO_FB_FLUSH_TIMEOUT_ERROR, 0);
|
||||
nvgpu_err(g, "fifo fb flush timeout error");
|
||||
handled |= fifo_intr_0_fb_flush_timeout_pending_f();
|
||||
}
|
||||
|
||||
@@ -56,7 +56,8 @@ struct gk20a;
|
||||
#define GPU_HOST_PBDMA_HCE_ERROR (13U)
|
||||
#define GPU_HOST_PBDMA_PREEMPT_ERROR (14U)
|
||||
#define GPU_HOST_PFIFO_CTXSW_TIMEOUT_ERROR (15U)
|
||||
#define GPU_HOST_INVALID_ERROR (16U)
|
||||
#define GPU_HOST_PFIFO_FB_FLUSH_TIMEOUT_ERROR (16U)
|
||||
#define GPU_HOST_INVALID_ERROR (17U)
|
||||
|
||||
#define GPU_SM_L1_TAG_ECC_CORRECTED (0U)
|
||||
#define GPU_SM_L1_TAG_ECC_UNCORRECTED (1U)
|
||||
|
||||
Reference in New Issue
Block a user