diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2024-08-28 09:19:37 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-29 21:58:19 +0100 |
commit | 471da6ddaddb6dedbca3b6c1e4b60f855a93d6de (patch) | |
tree | bdb1ae46d8f91ca6eb38ec2728f5f517ac765e32 | |
parent | ea1fb9f63f50904048b8bdb25c9f76c6dfde78b2 (diff) | |
download | poky-471da6ddaddb6dedbca3b6c1e4b60f855a93d6de.tar.gz |
linux-firmware: restore qcom/vpu-1.0/venus.mdt compatibility symlink
The commit [1] has dropped the qcom/vpu-1.0/venus.mdt symlink which is
required for the kernels before 6.6. Pick up a patch restoring this
symlink.
[1] https://gitlab.com/kernel-firmware/linux-firmware/-/commit/36db650dae038be945fb04def591fc726255b09f
(From OE-Core rev: e84b673b5788d1eeadf49c009cf58feebfcedede)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-vpu-restore-compatibility-with-kernels-before-6.patch | 35 | ||||
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb | 3 |
2 files changed, 37 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-vpu-restore-compatibility-with-kernels-before-6.patch b/meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-vpu-restore-compatibility-with-kernels-before-6.patch new file mode 100644 index 0000000000..b1cb5d1f0b --- /dev/null +++ b/meta/recipes-kernel/linux-firmware/linux-firmware/0001-qcom-vpu-restore-compatibility-with-kernels-before-6.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 4728fcc52fdf311048f41766aa27cdf5a4a9e7ad Mon Sep 17 00:00:00 2001 | ||
2 | From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
3 | Date: Wed, 28 Aug 2024 09:01:14 +0300 | ||
4 | Subject: [PATCH] qcom: vpu: restore compatibility with kernels before 6.6 | ||
5 | |||
6 | Linux kernels before 6.6 used qcom/vpu-1.0/venus.mdt as a firmware | ||
7 | filename for Qualcomm SM8250 devices. Commit 36db650dae03 ("qcom: update | ||
8 | path for video firmware for vpu-1/2/3.0") moved the VPU firmware, added | ||
9 | the venus.mbn compatibility symlink, but at the same time it dropped | ||
10 | the venus.mdt symlink. Bring the historical name back to restore | ||
11 | compatibility with kernels older than 6.6. | ||
12 | |||
13 | Fixes: 36db650dae03 ("qcom: update path for video firmware for vpu-1/2/3.0") | ||
14 | Cc: Dikshita Agarwal <quic_dikshita@quicinc.com> | ||
15 | Upstream-Status: Submitted [https://lore.kernel.org/linux-firmware/20240828060831.34519-1-dmitry.baryshkov@linaro.org] | ||
16 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
17 | --- | ||
18 | WHENCE | 1 + | ||
19 | 1 file changed, 1 insertion(+) | ||
20 | |||
21 | diff --git a/WHENCE b/WHENCE | ||
22 | index 06c3c6fff673..4d9cd340a9dd 100644 | ||
23 | --- a/WHENCE | ||
24 | +++ b/WHENCE | ||
25 | @@ -5974,6 +5974,7 @@ Version: VIDEO.VE.6.0-00049-PROD-1 | ||
26 | |||
27 | File: qcom/vpu/vpu20_p4.mbn | ||
28 | Link: qcom/vpu-1.0/venus.mbn -> ../vpu/vpu20_p4.mbn | ||
29 | +Link: qcom/vpu-1.0/venus.mdt -> ../vpu/vpu20_p4.mbn | ||
30 | |||
31 | Version: VIDEO.VPU.1.0-00087-PROD-1 | ||
32 | |||
33 | -- | ||
34 | 2.45.2 | ||
35 | |||
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb index 3128fc3a4e..7a9c2b2b23 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20240811.bb | |||
@@ -156,7 +156,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ | |||
156 | " | 156 | " |
157 | # WHENCE checksum is defined separately to ease overriding it if | 157 | # WHENCE checksum is defined separately to ease overriding it if |
158 | # class-devupstream is selected. | 158 | # class-devupstream is selected. |
159 | WHENCE_CHKSUM = "60b5abcc986d1660637e913a87e1413c" | 159 | WHENCE_CHKSUM = "5d402bd7c43dd2c2835b81bf872aa127" |
160 | 160 | ||
161 | # These are not common licenses, set NO_GENERIC_LICENSE for them | 161 | # These are not common licenses, set NO_GENERIC_LICENSE for them |
162 | # so that the license files will be copied from fetched source | 162 | # so that the license files will be copied from fetched source |
@@ -237,6 +237,7 @@ PE = "1" | |||
237 | 237 | ||
238 | SRC_URI = "\ | 238 | SRC_URI = "\ |
239 | ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \ | 239 | ${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz \ |
240 | file://0001-qcom-vpu-restore-compatibility-with-kernels-before-6.patch \ | ||
240 | " | 241 | " |
241 | 242 | ||
242 | BBCLASSEXTEND = "devupstream:target" | 243 | BBCLASSEXTEND = "devupstream:target" |