Browse Source

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

qctecmdr 4 years ago
parent
commit
bc9d1b3c23
1 changed files with 3 additions and 0 deletions
  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 |