mirror of
https://github.com/armbian/build.git
synced 2025-09-19 12:41:39 +02:00
* Bump meson and meson64 EDGE kernel to 6.9.y * Rename patch folders * Adjust broken patches, one remaining * Add overlay support * meson64: rename overlays to dtso, update makefile * Update meson-gx-socinfo-sm driver patchset for meson64-6.9: * add SoC ID patches for S905L, A113X * fix memory double free in driver * update dt bindings --------- Signed-off-by: Patrick Yavitz <pyavitz@armbian.com> Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com> Signed-off-by: Viacheslav Bocharov <adeep@lexina.in> Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com> Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com> Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Thu, 25 Nov 2021 11:31:43 +0000
|
|
Subject: drivers: meson: vdec: add VP9 support to GXM
|
|
|
|
VP9 support for GXM appears to have been missed from the original
|
|
codec submission [0] but it works well, so let's add support.
|
|
|
|
[0] https://github.com/torvalds/linux/commit/00c43088aa680989407b6afbda295f67b3f123f1
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
drivers/staging/media/meson/vdec/vdec_platform.c | 14 +++++++++-
|
|
1 file changed, 13 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/staging/media/meson/vdec/vdec_platform.c b/drivers/staging/media/meson/vdec/vdec_platform.c
|
|
index c2ac6010992e..ac5cfaf66493 100644
|
|
--- a/drivers/staging/media/meson/vdec/vdec_platform.c
|
|
+++ b/drivers/staging/media/meson/vdec/vdec_platform.c
|
|
@@ -27,7 +27,19 @@ static const struct amvdec_format vdec_formats_gxbb[] = {
|
|
.pixfmts_cap = { V4L2_PIX_FMT_NV12M, 0 },
|
|
.flags = V4L2_FMT_FLAG_COMPRESSED |
|
|
V4L2_FMT_FLAG_DYN_RESOLUTION,
|
|
- }, {
|
|
+ }, {
|
|
+ .pixfmt = V4L2_PIX_FMT_VP9,
|
|
+ .min_buffers = 16,
|
|
+ .max_buffers = 24,
|
|
+ .max_width = 3840,
|
|
+ .max_height = 2160,
|
|
+ .vdec_ops = &vdec_hevc_ops,
|
|
+ .codec_ops = &codec_vp9_ops,
|
|
+ .firmware_path = "meson/vdec/gxl_vp9.bin",
|
|
+ .pixfmts_cap = { V4L2_PIX_FMT_NV12M, 0 },
|
|
+ .flags = V4L2_FMT_FLAG_COMPRESSED |
|
|
+ V4L2_FMT_FLAG_DYN_RESOLUTION,
|
|
+ }, {
|
|
.pixfmt = V4L2_PIX_FMT_H264,
|
|
.min_buffers = 2,
|
|
.max_buffers = 24,
|
|
--
|
|
Armbian
|
|
|