mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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:
committed by
mobile promotions
parent
21de0aaca9
commit
9ff9fec887
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user