Merge "msm: vidc: add work_mode and latency debug info for holi"

This commit is contained in:
qctecmdr 2021-01-31 19:45:14 -08:00 committed by Gerrit - the friendly Code Review server
commit 16fee42e37

View File

@ -1282,6 +1282,7 @@ decision_done:
/* For WORK_MODE_1, set Low Latency mode by default to HW. */
latency.enable = false;
if (inst->session_type == MSM_VIDC_ENCODER &&
inst->clk_data.work_mode == HFI_WORKMODE_1) {
latency.enable = true;
@ -1291,6 +1292,10 @@ decision_done:
(void *)&latency, sizeof(latency));
}
s_vpr_h(inst->sid, "Configuring work mode = %u low latency = %u",
pdata.video_work_mode,
latency.enable);
rc = msm_comm_scale_clocks_and_bus(inst, 1);
return rc;