msm: vidc: Print noc error information after pagefault

When pagefault occurs and smmu driver does resume
terminate on the fault transaction then noc error
registers will be updated. Enable non fatal attribute
on venus context banks so that smmu driver will resume
terminate the fault transaction. Video driver does
nothing in pagefault handler for the first time and
smmu driver resume terminates the transaction and hence
noc error registers will be updated with error information.
Video driver will print the noc error information in the
pagefault handler for the second time.

CRs-Fixed: 2054180
Change-Id: I1b594ac3b7f2da1c3b47b06674ce8ac5c03f2c1d
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
diff --git a/drivers/media/platform/msm/vidc/msm_vidc_internal.h b/drivers/media/platform/msm/vidc/msm_vidc_internal.h
index 57dfd52..67e96d4 100644
--- a/drivers/media/platform/msm/vidc/msm_vidc_internal.h
+++ b/drivers/media/platform/msm/vidc/msm_vidc_internal.h
@@ -395,6 +395,7 @@
 void handle_cmd_response(enum hal_command_response cmd, void *data);
 int msm_vidc_trigger_ssr(struct msm_vidc_core *core,
 	enum hal_ssr_trigger_type type);
+int msm_vidc_noc_error_info(struct msm_vidc_core *core);
 int msm_vidc_check_session_supported(struct msm_vidc_inst *inst);
 int msm_vidc_check_scaling_supported(struct msm_vidc_inst *inst);
 void msm_vidc_queue_v4l2_event(struct msm_vidc_inst *inst, int event_type);