Merge "msm: vidc: add work_mode and latency debug info for holi"
This commit is contained in:
commit
16fee42e37
@ -1282,6 +1282,7 @@ decision_done:
|
|||||||
|
|
||||||
/* For WORK_MODE_1, set Low Latency mode by default to HW. */
|
/* For WORK_MODE_1, set Low Latency mode by default to HW. */
|
||||||
|
|
||||||
|
latency.enable = false;
|
||||||
if (inst->session_type == MSM_VIDC_ENCODER &&
|
if (inst->session_type == MSM_VIDC_ENCODER &&
|
||||||
inst->clk_data.work_mode == HFI_WORKMODE_1) {
|
inst->clk_data.work_mode == HFI_WORKMODE_1) {
|
||||||
latency.enable = true;
|
latency.enable = true;
|
||||||
@ -1291,6 +1292,10 @@ decision_done:
|
|||||||
(void *)&latency, sizeof(latency));
|
(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);
|
rc = msm_comm_scale_clocks_and_bus(inst, 1);
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
|
Loading…
Reference in New Issue
Block a user