video: driver: preprocessing pass required additional cycles and bw

Encoder preprocessing feature requires additional cycles
and bw to support this feature if it is enabled.

Change-Id: I46de42dd0cb0d5a7cd9fdf00beeaefd50e40798e
Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
这个提交包含在:
Mahesh Kumar Sharma
2022-04-25 11:31:28 -07:00
父节点 c39eec6e2e
当前提交 a079cc43f3
修改 3 个文件,包含 20 行新增2 行删除

查看文件

@@ -802,6 +802,7 @@ struct vidc_bus_vote_data {
u64 calc_bw_ddr;
u64 calc_bw_llcc;
u32 num_vpp_pipes;
bool vpss_preprocessing_enabled;
};
struct msm_vidc_power {

查看文件

@@ -249,6 +249,8 @@ int msm_vidc_scale_buses(struct msm_vidc_inst *inst)
vote_data->num_formats = 1;
vote_data->color_formats[0] = v4l2_colorformat_to_driver(
inst->fmts[INPUT_PORT].fmt.pix_mp.pixelformat, __func__);
vote_data->vpss_preprocessing_enabled =
inst->capabilities->cap[REQUEST_PREPROCESS].value;
} else if (inst->domain == MSM_VIDC_DECODER) {
u32 color_format;