msm: camera: isp: Enable/Disable IFE SAFE to SMMU

Enable/Disable the IFE SAFE signal to SMMU Hardware through
SCM call to Hypervisor, Enable SAFE before starting the IFE
Hardware and Disable it after stopping the IFE Hardware. This
is to work around the Hardware bug, that is incorrectly
clamping the SAFE signal externally due to wrong
power on reset values of SAFE LUTs. The SCM call needs to be
invoked to enable SAFE before starting first IFE Hardware
instance, disable SAFE to be invoked only after stoping all
the IFE HW instances, hence it is ref counted with active
context count.

Change-Id: I0889c53d0e824592d67f0207c9163f2564a80259
Signed-off-by: Harsh Shah <harshs@codeaurora.org>
Signed-off-by: Rajesh Sastrula <vrajesh@codeaurora.org>
3 files changed