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 <majja@codeaurora.org>
Tento commit je obsažen v:
Maheshwar Ajja
2021-02-09 17:14:55 -08:00
rodič 7ded262fc0
revize 0e8d5a08a3

Zobrazit soubor

@@ -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 |