gpu: nvgpu: Enable the reporting of pbdma preemption failure

Enable the reporting of GPU failure to 3LSS if pbdma preemption
fails.

Jira NVGPU-1820

Change-Id: I63c7ea3158fec993f288f74c823615734c75e0be
Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2019961
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>
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:
Rajesh Devaraj
2019-02-15 12:02:13 +05:30
committed by mobile promotions
parent 21de0aaca9
commit 9ff9fec887
2 changed files with 5 additions and 1 deletions

View File

@@ -1111,6 +1111,9 @@ void gv11b_fifo_teardown_ch_tsg(struct gk20a *g, u32 act_eng_bitmask,
*/
if (gv11b_fifo_poll_pbdma_chan_status(g, id,
pbdma_id) != 0) {
nvgpu_report_host_error(g, 0,
GPU_HOST_PBDMA_PREEMPT_ERROR,
pbdma_id);
nvgpu_err(g, "PBDMA preempt failed");
}
}

View File

@@ -51,7 +51,8 @@
#define GPU_HOST_PBDMA_SIGNATURE_ERROR 13U
#define GPU_HOST_PBDMA_HCE_ERROR 14U
#define GPU_HOST_PTIMER_ERROR 15U
#define GPU_HOST_INVALID_ERROR 16U
#define GPU_HOST_PBDMA_PREEMPT_ERROR 16U
#define GPU_HOST_INVALID_ERROR 17U
#define GPU_SM_L1_TAG_ECC_CORRECTED 0U
#define GPU_SM_L1_TAG_ECC_UNCORRECTED 1U