瀏覽代碼

video: driver: set firmware debug log cmd in session open

Currently firmware debug log command is sent only in
system initialization command which is not sufficient as
system init cmd will be sent only once during system bootup
and hence set firmware debug log cmd in every session open.

Change-Id: I5d6cf781ac8f168afd182777a6b8a0579db22d09
Signed-off-by: Maheshwar Ajja <[email protected]>
Maheshwar Ajja 4 年之前
父節點
當前提交
0e8d5a08a3
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      driver/vidc/src/venus_hfi.c

+ 3 - 0
driver/vidc/src/venus_hfi.c

@@ -2792,6 +2792,9 @@ int venus_hfi_session_open(struct msm_vidc_inst *inst)
 		goto unlock;
 	}
 
+	__sys_set_debug(core,
+		(msm_vidc_debug & FW_LOGMASK) >> FW_LOGSHIFT);
+
 	rc = hfi_packet_session_command(inst,
 				HFI_CMD_OPEN,
 				(HFI_HOST_FLAGS_RESPONSE_REQUIRED |