mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
msm: vidc: update dpb buffer requirements
buffer counts(min_cnt, min_host, actual_cnt) is updated in hal_buffer_requirements only for internal buffers. Currently for dpb, we are updating only actual_cnt, due to that msm_vidc_verify_buffer_counts check is failing. So updated all 3 variables (min_cnt, min_host, actual) for dpb. Change-Id: Ib6e476fae57407a2b5fb55b1b73986dfca410ae6 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
parent
809cf3a2e5
commit
343e1966ff
1 changed files with 1 additions and 0 deletions
|
|
@ -3193,6 +3193,7 @@ int msm_comm_update_dpb_bufreqs(struct msm_vidc_inst *inst)
|
|||
|
||||
fmt = &inst->fmts[OUTPUT_PORT];
|
||||
/* For DPB buffers, Always use min count */
|
||||
req->buffer_count_min = req->buffer_count_min_host =
|
||||
req->buffer_count_actual = fmt->count_min;
|
||||
|
||||
hfi_fmt = msm_comm_convert_color_fmt(inst->clk_data.dpb_fourcc,
|
||||
|
|
|
|||
Loading…
Reference in a new issue