msm: camera: isp: Add domain-id support
This change adds domain-id support for new targets. This change involves adding information to the SCM call currently in use such that it is a superset, and the additional fields needed are the IFE and CDM number being used, and VC mask. These are in addition to existing PHY mask selection, and lane/trio mask selection. All the information above will be sent over from CSID to the PHY driver, and the PHY driver will pack the information in a generic format before sending it over in an SCM call. Where previously, this information is packed in format that matches the register, this will be sent generically moving forward. Given that there are multiple instances per physical PHY hardware, and that the usual dev_handle used by userspace to identify them are not accessible CSID side, the lane_assign/lane_cfg parameter is used to find the specific PHY instance used in conjunction with the CSID instance in a session. lane_assign from PHY driver and lane_cfg from CSID have the same values. CRs-Fixed: 3259706 Change-Id: Ie050b1b9e742c6a63812eb38db7eca76db24667f Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

parent
5f64e7661b
commit
e1ec8594f4
@@ -89,6 +89,7 @@ enum cam_cdm_bl_fifo_queue {
|
||||
* @ops : Output pointer updated by cdm driver to the CDM
|
||||
* util ops for this HW version of CDM acquired.
|
||||
* @handle : Output Unique handle generated for this acquire
|
||||
* @hw_idx : The physical CDM acquired
|
||||
*
|
||||
*/
|
||||
struct cam_cdm_acquire_data {
|
||||
@@ -104,6 +105,7 @@ struct cam_cdm_acquire_data {
|
||||
struct cam_hw_version cdm_version;
|
||||
struct cam_cdm_utils_ops *ops;
|
||||
uint32_t handle;
|
||||
uint32_t hw_idx;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user