Loading drivers/media/platform/msm/vidc/msm_vidc_clocks.c +1 −1 Original line number Diff line number Diff line Loading @@ -1206,7 +1206,7 @@ int msm_vidc_get_extra_buff_count(struct msm_vidc_inst *inst, * batch size count of extra buffers added on output port */ if (is_output_buffer(inst, buffer_type)) { if (inst->decode_batching && is_decode_session(inst) && if (is_batching_allowed(inst) && count < inst->batch.size) count = inst->batch.size; } Loading drivers/media/platform/msm/vidc/msm_vidc_common.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -3196,7 +3196,7 @@ static int msm_comm_init_buffer_count(struct msm_vidc_inst *inst) HAL_BUFFER_INPUT); bufreq->buffer_count_min = inst->fmts[port].input_min_count; /* batching needs minimum batch size count of input buffers */ if (inst->decode_batching && is_decode_session(inst) && if (is_batching_allowed(inst) && bufreq->buffer_count_min < inst->batch.size) bufreq->buffer_count_min = inst->batch.size; bufreq->buffer_count_min_host = bufreq->buffer_count_actual = Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_clocks.c +1 −1 Original line number Diff line number Diff line Loading @@ -1206,7 +1206,7 @@ int msm_vidc_get_extra_buff_count(struct msm_vidc_inst *inst, * batch size count of extra buffers added on output port */ if (is_output_buffer(inst, buffer_type)) { if (inst->decode_batching && is_decode_session(inst) && if (is_batching_allowed(inst) && count < inst->batch.size) count = inst->batch.size; } Loading
drivers/media/platform/msm/vidc/msm_vidc_common.c +2 −2 Original line number Diff line number Diff line /* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -3196,7 +3196,7 @@ static int msm_comm_init_buffer_count(struct msm_vidc_inst *inst) HAL_BUFFER_INPUT); bufreq->buffer_count_min = inst->fmts[port].input_min_count; /* batching needs minimum batch size count of input buffers */ if (inst->decode_batching && is_decode_session(inst) && if (is_batching_allowed(inst) && bufreq->buffer_count_min < inst->batch.size) bufreq->buffer_count_min = inst->batch.size; bufreq->buffer_count_min_host = bufreq->buffer_count_actual = Loading