From 21e54eff95b5935cb183c0250a71e49b90d6a4c2 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Thu, 17 Jul 2025 23:05:39 +0100 Subject: [PATCH] libcamera: mali-c55: Correct expected entity function The mali-c55 pipeline handler currently looks for a media entity with the function MEDIA_ENT_F_IO_V4L to recognise a memory input subdevice. This is apparently intended for video device entities, and we should be looking for MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER. Correct the entity function that the pipeline handler looks for. Signed-off-by: Daniel Scally Reviewed-by: Kieran Bingham Reviewed-by: Isaac Scott Signed-off-by: Kieran Bingham --- src/libcamera/pipeline/mali-c55/mali-c55.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcamera/pipeline/mali-c55/mali-c55.cpp b/src/libcamera/pipeline/mali-c55/mali-c55.cpp index 17ad2055..25540ba1 100644 --- a/src/libcamera/pipeline/mali-c55/mali-c55.cpp +++ b/src/libcamera/pipeline/mali-c55/mali-c55.cpp @@ -1709,7 +1709,7 @@ bool PipelineHandlerMaliC55::match(DeviceEnumerator *enumerator) * * MEDIA_ENT_F_CAM_SENSOR - The test pattern generator * MEDIA_ENT_F_VID_IF_BRIDGE - A CSI-2 receiver - * MEDIA_ENT_F_IO_V4L - An input device + * MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER - An input device * * The last one will be unsupported for now. The TPG is relatively easy, * we just register a Camera for it. If we have a CSI-2 receiver we need @@ -1735,7 +1735,7 @@ bool PipelineHandlerMaliC55::match(DeviceEnumerator *enumerator) return registered; break; - case MEDIA_ENT_F_IO_V4L: + case MEDIA_ENT_F_PROC_VIDEO_PIXEL_FORMATTER: LOG(MaliC55, Warning) << "Memory input not yet supported"; break; default: