gpu: nvgpu: update report_pbdma_error as hal

To reduce the duplication pbdma_handle_intr_0 API to new chips, this
patch converts report_pbdma_error as a HAL.

JIRA NVGPU-9325

Change-Id: Ifcb0838037c750070c26343e008a176b26eebf16
Signed-off-by: Rajesh Devaraj <rdevaraj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2845088
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: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Rajesh Devaraj
2023-01-17 17:41:37 +00:00
committed by mobile promotions
parent 6d7ace12dc
commit afb971b66e
9 changed files with 26 additions and 8 deletions

View File

@@ -1078,6 +1078,7 @@ static const struct gops_pbdma ga100_ops_pbdma = {
.set_channel_info_veid = gv11b_pbdma_set_channel_info_veid,
.set_channel_info_chid = ga10b_pbdma_set_channel_info_chid,
.set_intr_notify = ga10b_pbdma_set_intr_notify,
.report_error = ga10b_pbdma_report_error,
#ifdef CONFIG_NVGPU_HAL_NON_FUSA
.pbdma_force_ce_split = ga100_pbdma_force_ce_split,
#endif