msm: camera: ope: Add support to dynamic switch pix_pattern

Add support to dynamically switch pix_pattern of read clients
based on data received in each request.

CRs-Fixed: 2811530
Change-Id: Icb3ebd33cae59b8db87bc0011d6560492ad29c3a
Signed-off-by: Rishabh Jain <risjai@codeaurora.org>
This commit is contained in:
Rishabh Jain
2020-11-05 16:20:35 +05:30
committed by Gerrit - the friendly Code Review server
parent 641fd73444
commit 01249ea8d9
4 changed files with 12 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ struct ope_stripe_info {
* @direction: Direction of a buffer of a port(Input/Output)
* @resource_type: Port type
* @num_planes: Number of planes for a port
* @reserved: Reserved
* @pix_pattern: Pixel pattern for raw input
* @num_stripes: Stripes per plane
* @mem_handle: Memhandles of each Input/Output Port
* @plane_offset: Offsets of planes
@@ -120,7 +120,7 @@ struct ope_io_buf_info {
__u32 direction;
__u32 resource_type;
__u32 num_planes;
__u32 reserved;
__u32 pix_pattern;
__u32 num_stripes[OPE_MAX_PLANES];
__u32 mem_handle[OPE_MAX_PLANES];
__u32 plane_offset[OPE_MAX_PLANES];