[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPY8ntD=+FmSRN7k-kr6Vya0huEVKbFLP84w5O7ww3KSHoDACQ@mail.gmail.com>
Date: Fri, 20 Dec 2024 18:20:00 +0000
From: Dave Stevenson <dave.stevenson@...pberrypi.com>
To: Sakari Ailus <sakari.ailus@...ux.intel.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>, John Cox <john.cox@...pberrypi.com>,
Dom Cobley <dom@...pberrypi.com>, review list <kernel-list@...pberrypi.com>,
Ezequiel Garcia <ezequiel@...guardiasur.com.ar>
Cc: John Cox <jc@...esim.co.uk>, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 5/7] media: platform: Add Raspberry Pi HEVC decoder driver
On Fri, 20 Dec 2024 at 16:21, Dave Stevenson
<dave.stevenson@...pberrypi.com> wrote:
>
> From: John Cox <john.cox@...pberrypi.com>
>
> The BCM2711 and BCM2712 SoCs used on Rapsberry Pi 4 and Raspberry
> Pi 5 boards include an HEVC decoder block. Add a driver for it.
>
> Signed-off-by: John Cox <john.cox@...pberrypi.com>
> Signed-off-by: Dave Stevenson <dave.stevenson@...pberrypi.com>
> ---
> MAINTAINERS | 10 +
> drivers/media/platform/raspberrypi/Kconfig | 1 +
> drivers/media/platform/raspberrypi/Makefile | 1 +
> .../media/platform/raspberrypi/hevc_dec/Kconfig | 17 +
> .../media/platform/raspberrypi/hevc_dec/Makefile | 5 +
> .../media/platform/raspberrypi/hevc_dec/hevc_d.c | 443 ++++
> .../media/platform/raspberrypi/hevc_dec/hevc_d.h | 190 ++
> .../platform/raspberrypi/hevc_dec/hevc_d_h265.c | 2629 ++++++++++++++++++++
> .../platform/raspberrypi/hevc_dec/hevc_d_hw.c | 376 +++
> .../platform/raspberrypi/hevc_dec/hevc_d_hw.h | 303 +++
> .../platform/raspberrypi/hevc_dec/hevc_d_video.c | 685 +++++
> .../platform/raspberrypi/hevc_dec/hevc_d_video.h | 38 +
> 12 files changed, 4698 insertions(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index a33a97d5ffff..569b478c44fe 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -19567,6 +19567,16 @@ L: linux-edac@...r.kernel.org
> S: Maintained
> F: drivers/ras/amd/fmpm.c
>
<snip>
Typical. You read a patch multiple times over, and still miss a "git
add" of a new file
I won't send a new version now as there are bound to be multiple other
things in review, but hevc_d_h265.h should read
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Raspberry Pi HEVC driver
*
* Copyright (C) 2024 Raspberry Pi Ltd
*
*/
#ifndef _HEVC_D_H265_H_
#define _HEVC_D_H265_H_
#include "hevc_d.h"
extern const struct v4l2_ctrl_ops hevc_d_hevc_sps_ctrl_ops;
extern const struct v4l2_ctrl_ops hevc_d_hevc_pps_ctrl_ops;
void hevc_d_h265_setup(struct hevc_d_ctx *ctx, struct hevc_d_run *run);
int hevc_d_h265_start(struct hevc_d_ctx *ctx);
void hevc_d_h265_stop(struct hevc_d_ctx *ctx);
void hevc_d_h265_trigger(struct hevc_d_ctx *ctx);
void hevc_d_device_run(void *priv);
#endif
Thanks
Dave
Powered by blists - more mailing lists