summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-11-15 10:13:30 +0000
committerDaniel Scally <dan.scally@ideasonboard.com>2024-12-04 13:54:16 +0000
commit4607866bbed346a59771f9feadac9fe7cd3793a6 (patch)
treebbc38b14974a89436b5388ba7bd1e9c1e5094cd9
parent673c785de11ec9265c83bd4bf6ff47a18a38670c (diff)
libcamera: mali-c55: Propagate CSI-2 format to ISP
The latest version of the Mali C55 driver has changed the format accepted by the ISP sink pad to be the 20-bit wide. The CSI-2 receiver handles the format expansion internally by propagating the sensor produced format from its sink to the 20-bit expanded version on its source pad. Instead of re-applying the sensor format to the CSI-2 receiver source pad (which is now an invalid operation) read from there the format propagated by the driver internally and further propagate it to the ISP subdevice. Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
-rw-r--r--src/libcamera/pipeline/mali-c55/mali-c55.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/mali-c55/mali-c55.cpp b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
index a35aa92a..f5f98c59 100644
--- a/src/libcamera/pipeline/mali-c55/mali-c55.cpp
+++ b/src/libcamera/pipeline/mali-c55/mali-c55.cpp
@@ -767,7 +767,7 @@ int PipelineHandlerMaliC55::configure(Camera *camera,
if (ret)
return ret;
- ret = data->csi_->setFormat(1, &subdevFormat);
+ ret = data->csi_->getFormat(1, &subdevFormat);
if (ret)
return ret;
}