ソースを参照

video: driver: fix enable_bugon debugfs property for WD timeout

Currently enable_bugon debugfs feature not working for WD timeout
cases. So added change to support that usecase.

Change-Id: I0cb3e6ed34d58c7969c727dea77f4fa695923c25
Signed-off-by: Govindaraj Rajagopal <[email protected]>
Govindaraj Rajagopal 3 年 前
コミット
1de4ced523
1 ファイル変更5 行追加2 行削除
  1. 5 2
      driver/vidc/src/venus_hfi.c

+ 5 - 2
driver/vidc/src/venus_hfi.c

@@ -2716,8 +2716,11 @@ static int __response_handler(struct msm_vidc_core *core)
 {
 	int rc = 0;
 
-	if (call_venus_op(core, watchdog, core, core->intr_status))
-		return handle_system_error(core, NULL);
+	if (call_venus_op(core, watchdog, core, core->intr_status)) {
+		struct hfi_packet pkt = {.type = HFI_SYS_ERROR_WD_TIMEOUT};
+
+		return handle_system_error(core, &pkt);
+	}
 
 	memset(core->response_packet, 0, core->packet_size);
 	while (!__iface_msgq_read(core, core->response_packet)) {