[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yvzfp5igm2trom4kil337wfsyum75amvgmxkadi537dohmnbqy@wgbm3zxojldc>
Date: Fri, 4 Jul 2025 11:04:09 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>
Cc: Diogo Ivo <diogo.ivo@...nico.ulisboa.pt>,
Mikko Perttunen <mperttunen@...dia.com>, Jonathan Hunter <jonathanh@...dia.com>,
Philipp Zabel <p.zabel@...gutronix.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-tegra@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v3 0/3] NVIDIA Tegra210 NVJPG support
On Mon, Jun 30, 2025 at 09:48:41AM +0100, Diogo Ivo wrote:
> Hello,
>
> This series adds support for the NVJPG hardware accelerator found in the
> Tegra210 SoC.
>
> The kernel driver is essentially a copy of the NVDEC driver as both
> engines are Falcon-based.
>
> For the userspace part I have written a Mesa Gallium backend [1] that,
> while still very much experimental, works in decoding images with VA-API.
>
> I have been using ffmpeg to call VA-API with the following command:
>
> ffmpeg -v verbose -hwaccel vaapi -hwaccel_device /dev/dri/renderD129 -i <input.jpg> -pix_fmt bgra -f fbdev /dev/fb0
>
> which decodes <input.jpg> and shows the result in the framebuffer.
>
> The firmware for the engine can be obtained from a Linux for Tegra
> distribution. Due to the way the Gallium implementation works for Tegra
> the GPU also needs to be enabled.
>
> Thanks!
>
> Diogo
>
> To: Thierry Reding <thierry.reding@...il.com>
> To: Mikko Perttunen <mperttunen@...dia.com>
> To: David Airlie <airlied@...il.com>
> To: Simona Vetter <simona@...ll.ch>
> To: Jonathan Hunter <jonathanh@...dia.com>
> To: Philipp Zabel <p.zabel@...gutronix.de>
> To: Rob Herring <robh@...nel.org>
> To: Krzysztof Kozlowski <krzk+dt@...nel.org>
> To: Conor Dooley <conor+dt@...nel.org>
> Cc: linux-kernel@...r.kernel.org
> Cc: dri-devel@...ts.freedesktop.org
> Cc: linux-tegra@...r.kernel.org
> Cc: devicetree@...r.kernel.org
> Signed-off-by: Diogo Ivo <diogo.ivo@...nico.ulisboa.pt>
>
> [1]: https://gitlab.freedesktop.org/d.ivo/mesa/-/tree/diogo/vaapi_gl?ref_type=heads
Dave, Simona,
This doesn't add new userspace ABI and instead reuses the same ABI that
we use for VIC and NVDEC, but it does technically add a new driver for
one of the multimedia engines.
Given that we have Diogo's VA-API work on gitlab, I think all of the
criteria are met to exercise this.
If you don't have any objections, I'd like to apply this for the
upcoming release.
Thanks,
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists