msm: camera: icp: Support multiple HFIs
During probe, each hw mgr register as a client to HFI layer and share the handle to icp core layer to book keep. HFI register routine searches for a free hfi slot to dynamically allocated hfi info struct and returns a client handle to the caller. During open sequence, HW mgr is required to initialize the hfi using the handle obtained from the registering in boot up. Upon unregistering, the hfi slot and the hfi info memory is freed. Hw mgr layer can invoke the existing hfi interfaces by passing hfi handle to fetch the right hfi info. With this change, each hw mgr can independently run on one HFI to interact with FW. Add support in enabling OFE PC and config OFE UBWC in hfi layer, and parse OFE UBWC config values from DT. CRs-Fixed: 3338951 Change-Id: Iec2358fef124e9c169d06df79ce31b65a9b80d40 Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

parent
6d7e9d97ae
commit
96ff2ea80b