[libcamera-devel] [PATCH v4 22/37] libcamera: IPAManager: add isolation flag to proxy creation

Paul Elder paul.elder at ideasonboard.com
Fri Nov 6 11:36:52 CET 2020


When the IPA proxy is created, it needs to know whether to isolate or
not. Feed the flag at creation of the IPA proxy.

Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>

---
No change in v4

No change in v3

No change in v2
---
 src/libcamera/ipa_manager.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libcamera/ipa_manager.cpp b/src/libcamera/ipa_manager.cpp
index 12cf3b0d..3a32573f 100644
--- a/src/libcamera/ipa_manager.cpp
+++ b/src/libcamera/ipa_manager.cpp
@@ -291,7 +291,8 @@ std::unique_ptr<IPAProxy> IPAManager::createIPA(PipelineHandler *pipe,
 		return nullptr;
 	}
 
-	std::unique_ptr<IPAProxy> proxy = pf->create(m);
+	std::unique_ptr<IPAProxy> proxy =
+		pf->create(m, !self_->isSignatureValid(m));
 	if (!proxy->isValid()) {
 		LOG(IPAManager, Error) << "Failed to load proxy";
 		return nullptr;
-- 
2.27.0



More information about the libcamera-devel mailing list