msm: camera: isp: Add support for vertical binning in CSID

Add support to obtain hint from userland to enable binning in
either direction. The change updates the existing binning field
in UAPI to provide provision for both vertical & horizontal
binning options.

CRs-Fixed: 2841729
Change-Id: I37958d648ed4387d9e2bff8bcff8ffd39801baa3
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
Karthik Anantha Ram
2021-06-02 12:51:11 -07:00
parent 51efdc40d3
commit 1b89b74b0a
4 changed files with 7 additions and 3 deletions

View File

@@ -363,7 +363,8 @@ struct cam_isp_in_port_info {
* @hbi_cnt: HBI count for the camif input
* @cust_node: if any custom HW block is present before IFE
* @num_out_res: number of the output resource associated
* @horizontal_bin: Horizontal Binning info
* @bidirectional_bin: [0 : 15] - Set 1 for Horizontal binning
* [16 : 31] - Set 1 for Vertical binning
* @qcfa_bin: Quadra Binning info
* @sfe_in_path_type: SFE input path type
* 0:15 - refer to cam_isp_sfe.h for SFE paths
@@ -405,7 +406,7 @@ struct cam_isp_in_port_info_v2 {
__u32 cust_node;
__u32 num_out_res;
__u32 offline_mode;
__u32 horizontal_bin;
__u32 bidirectional_bin;
__u32 qcfa_bin;
__u32 sfe_in_path_type;
__u32 feature_flag;