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 <dan.scally@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Daniel Scally
2025-07-17 23:05:39 +01:00
committed by Kieran Bingham
parent 2cc66bb547
commit 21e54eff95

View File

@@ -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: