Re: [RFC PATCH 03/28] media: mali-vpu: register V4L2 decoder device and add querycap ioctl
From: Nicolas Dufresne
Date: Thu Nov 19 2026 - 15:11:01 EST
Le jeudi 19 novembre 2026 à 15:37 +0000, Charvi Mehta a écrit :
> Register a V4L2 M2M decoder video device for the Mali VPU.
> Add open and release file operations that allocate a per-file session.
>
> Implement VIDIOC_QUERYCAP to report the driver and decoder identity.
>
> Signed-off-by: Charvi Mehta <charvi.mehta@xxxxxxx>
> ---
> drivers/media/platform/arm/mali-vpu/Kconfig | 1 +
> drivers/media/platform/arm/mali-vpu/Makefile | 3 +-
> .../platform/arm/mali-vpu/mali-vpu-device.h | 15 ++++
> .../platform/arm/mali-vpu/mali-vpu-probe.c | 59 +++++++++++++-
> .../platform/arm/mali-vpu/mali-vpu-session.h | 26 +++++++
> .../platform/arm/mali-vpu/mali-vpu-vidioc.c | 78 +++++++++++++++++++
> .../platform/arm/mali-vpu/mali-vpu-vidioc.h | 15 ++++
nit: I'd say rename to mali-vpu-v4l2.c to be consistent with nearly all other
drivers.
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@xxxxxxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part