mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
msm: vidc: add work_mode and latency debug info for holi
Automation scripts expects work_mode and low_latency config related debug prints to evaluate testcase pass/fail. So added debug prints for holi. Change-Id: I8ab051e0efbb8c8e78a9085e2fc79e7fe43e9c99 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
parent
ebf596abda
commit
fd0413602c
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue