all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 98b62c648e649dd605108e654fc02afed118176a 1301 bytes (raw)
name: gnu/packages/patches/amlogic-0037-WIP-drivers-meson-vdec-add-HEVC-support-to-GXBB.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
From 514962e3e5743b5d0e1b9add082b27f1a17d535d Mon Sep 17 00:00:00 2001
From: Christian Hewitt <christianshewitt@gmail.com>
Date: Sun, 21 Nov 2021 19:12:07 +0000
Subject: [PATCH 37/73] WIP: drivers: meson: vdec: add HEVC support to GXBB

It's not clear whether the GXL firmware is the same one used with GXBB
but let's try it and see!

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
 drivers/staging/media/meson/vdec/vdec_platform.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/staging/media/meson/vdec/vdec_platform.c b/drivers/staging/media/meson/vdec/vdec_platform.c
index 8592cb3aaea9..810039a02b44 100644
--- a/drivers/staging/media/meson/vdec/vdec_platform.c
+++ b/drivers/staging/media/meson/vdec/vdec_platform.c
@@ -16,6 +16,18 @@
 
 static const struct amvdec_format vdec_formats_gxbb[] = {
 	{
+		.pixfmt = V4L2_PIX_FMT_HEVC,
+		.min_buffers = 4,
+		.max_buffers = 24,
+		.max_width = 3840,
+		.max_height = 2160,
+		.vdec_ops = &vdec_hevc_ops,
+		.codec_ops = &codec_hevc_ops,
+		.firmware_path = "meson/vdec/gxl_hevc.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,
-- 
2.17.1


debug log:

solving 98b62c648e ...
found 98b62c648e in https://yhetil.org/guix/C2ORkCSHJz-4jxwCauZznk4tZlP9KS4u_3Ywe4q2QrfJ7tvIswRWw4vX6OuzXDIHRriNNTQaCiYC67GgL30p8g80J9OcduCgaoZ8XNf-amE=@protonmail.com/

applying [1/1] https://yhetil.org/guix/C2ORkCSHJz-4jxwCauZznk4tZlP9KS4u_3Ywe4q2QrfJ7tvIswRWw4vX6OuzXDIHRriNNTQaCiYC67GgL30p8g80J9OcduCgaoZ8XNf-amE=@protonmail.com/
diff --git a/gnu/packages/patches/amlogic-0037-WIP-drivers-meson-vdec-add-HEVC-support-to-GXBB.patch b/gnu/packages/patches/amlogic-0037-WIP-drivers-meson-vdec-add-HEVC-support-to-GXBB.patch
new file mode 100644
index 0000000000..98b62c648e

1:25: trailing whitespace.
 
1:27: space before tab in indent.
 	{
1:40: space before tab in indent.
 		.pixfmt = V4L2_PIX_FMT_H264,
1:41: space before tab in indent.
 		.min_buffers = 2,
1:42: space before tab in indent.
 		.max_buffers = 24,
Checking patch gnu/packages/patches/amlogic-0037-WIP-drivers-meson-vdec-add-HEVC-support-to-GXBB.patch...
Applied patch gnu/packages/patches/amlogic-0037-WIP-drivers-meson-vdec-add-HEVC-support-to-GXBB.patch cleanly.
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.

index at:
100644 98b62c648e649dd605108e654fc02afed118176a	gnu/packages/patches/amlogic-0037-WIP-drivers-meson-vdec-add-HEVC-support-to-GXBB.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.