Commit graph

76 commits

Author SHA1 Message Date
Matthias Reichl
2e61b7593e linux (RPi): drop ancient relict x86 patches
imon was a PC thing aeons ago and the suspend-resume patch smells like
an ugoy workaround for a 10+ years old PC-only issue which was likely resolved
since and has no relevance to RPi

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-10-06 01:38:44 +02:00
Matthias Reichl
0f6f03da2c linux (RPi): update to 6.1.53-e079555
Drop hdmi-codec patch as it's now in RPi kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-28 15:43:38 +02:00
Matthias Reichl
a5d29a362f linux (RPi): add patch to fix broken channel map reporting in hdmi-codec
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-07 21:52:54 +02:00
Matthias Reichl
d68baebaa1 linux (RPi): update to 6.1.36-dc41960
drop ALSA ELD and hdmi-codec patches which are now in RPi kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-06-30 19:41:14 +02:00
Matthias Reichl
a1d19b43e0 linux: update patches to fix audio passthrough issues
The ELD constraint patch is updated to a more correct version which
now properly sets the constraints based on rate families.

The added hdmi-codec patch fixes audio infoframe values for passthrough
(channel info needs to be set to "refer to stream header") as some
TVs (eg Sony) tripped over that and refused to play TrueHD otherwise.

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-06-03 12:50:43 +02:00
Matthias Reichl
806b9eed61 linux (RPi): update to 6.1.20-e10a5ef
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-04-11 22:54:17 +02:00
Matthias Reichl
cbc7d3e75c linux (RPi): add patch to fix color format check in vc4_hdmi
This fixes "no video" issue when working around EDID problems with
eg video=... kernel command line parameter.

Signed-off-by: Matthias Reichl <hias@horus.com>
2023-03-14 16:19:27 +01:00
Matthias Reichl
55eb33a122 Revert "linux (RPi): temporarily change FIQ default in dwc_otg to off"
This reverts commit 0a7b9dfc75.

The issue has been fixed in the RPi linux kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-27 14:29:29 +02:00
Matthias Reichl
0a7b9dfc75 linux (RPi): temporarily change FIQ default in dwc_otg to off
Currently FIQ code is broken and locks up RPi2/3 on boot.
So don't enable it by default until the issue is resolved.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-03 22:01:52 +02:00
Matthias Reichl
700f3d2956 linux (RPi): update to 6.0-rc1-c8f4128
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-03 22:01:52 +02:00
Rudi Heitbaum
6c19bec922 linux (RPi): patch to compile kernel 5.15 with binutils-2.39 2022-08-08 10:24:25 +00:00
Matthias Reichl
2c1fdb3834 linux (RPi): update to 5.15.48-b34bf32
Drop linux-010-pr5052.patch, this is now in rpi kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-07-01 18:04:04 +02:00
Matthias Reichl
7042215a72 TEST linux (RPi): add PR5052
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-07 19:06:40 +02:00
Matthias Reichl
3486fa6b7d linux (RPi): update to 5.15.5-20426cd
drop VIDIOC_DQEVENT compat32 fix patch, this is now included in RPi
kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-29 19:52:01 +01:00
Matthias Reichl
cc51ee6af6 linux (RPi): backport VIDIOC_DQEVENT compat32 ioctl fix
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-19 20:35:28 +01:00
Matthias Reichl
4df43bc619 linux (RPi): update to 5.15.2-027a7a8
drop linux-001-temp-revert-video-codec-callback-limit.patch, this
has been reverted in RPi repo, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-18 18:39:15 +01:00
Matthias Reichl
d0a33bc1c8 linux (RPi): temporarily revert video codec callback limit
The callback limit can cause stalls in kodi and ffmpeg, revert the
commit until a proper solution has been found.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-29 12:52:12 +02:00
Matthias Reichl
b3930d74e3 linux (RPi): update to 5.10.25-e1499ba
zoom fixes are now in RPi kernel, dropped local patch

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-26 15:51:59 +01:00
Matthias Reichl
a86b37f7e6 linux (RPi): add patch to fix ELD constraints for compressed formats
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
045b80ded3 linux (RPi): update patch to fix zoom in video player
Replaced with version from PR https://github.com/raspberrypi/linux/pull/4215

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
ac9298d795 linux (RPi): update to 5.10.22-b2625fe
Dropped local HDMI audio FIFO patches, new version is now in RPi kernel.
The update also resolves the long standing flip_done timeout issues on
RPi3 and adds VC1 decoding via V4L2 on RPi0-3 (the latter needs a firmware
update which isn't released yet).

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
38b2c4172b linux (RPi): add patch to further increase HDMI DMA AXI priority
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-16 16:46:15 +01:00
Matthias Reichl
0d615b9ec6 linux (RPi): add patch to avoid full hdmi audio fifo writes on vc4
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-16 16:45:26 +01:00
Matthias Reichl
a05b83c640 linux (RPi): update to 5.10.13-431ac1d
IR timeout fix patch dropped, the fixes are now in stable kernel.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-05 13:02:55 +01:00
Matthias Reichl
9536da4564 linux (RPi): add patch to fix zoom in video player
This also fixes playback issues of 720p videos if no 720p modes
are whitelisted or refresh switch is disabled after the pixel-wrap
workaround commit 01e90a2882.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-27 19:09:45 +01:00
Matthias Reichl
1f7ec5438b linux (RPi): update to 5.10.7-c077470
drop LBM and scaler pos patches which are now in RPi kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-20 12:21:32 +01:00
Matthias Reichl
a322ce1d0e linux (RPi): enable 4k modes up to 4kp30 on RPi4
Flickering vertical bars on 4k videos are fixed by the LBM PR,
black screen in kodi in 4096x2160 mode is fixed by the POS1_SCL patch.

Drop patch to hide 4k modes so RPi4 can support 4k modes up to 4kp30

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-17 22:55:52 +01:00
Matthias Reichl
cc2bf0c5ab linux (RPi): update to 5.10.5-a7eebc0
drop local patch to enable DMA_WIDE_SOURCE for hdmi audio dma,
extended version is now in RPi kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-07 17:59:04 +01:00
CvH
3f649ab6e1
Merge pull request #4853 from HiassofT/le10-ir-timeout
linux: add patch to fix IR timeout handling
2021-01-06 16:22:38 +01:00
Matthias Reichl
d2ea7e0328 linux (RPi): add patch to enable DMA_WIDE_SOURCE for hdmi audio dma
This fixes DLATE errors and HBR passthrough cutting out.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-06 11:48:58 +01:00
Matthias Reichl
130ab1b3f4 linux: add patch to fix IR timeout handling
This fixes the "double button press" issue with nuvoton-cir
as reported on the forum.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-01-05 10:38:14 +01:00
Matthias Reichl
9635834760 linux (RPi): update patch to hide 4k modes
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-12-18 21:10:07 +01:00
Matthias Reichl
991e8cb478 linux: fix OUYA patch
The old help syntax has long been deprecated and removed from 5.9

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 20:18:15 +02:00
Matthias Reichl
02832883bf linux (RPi): update patch to hide 4k modes
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 20:18:15 +02:00
Matthias Reichl
f9e39ebd9a linux (RPi): update to 5.9-rc3-15e21e3
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-09-28 20:18:15 +02:00
Matthias Reichl
f358298383 linux (RPi): drop obsolete patches from popcornmix
Synced with https://github.com/popcornmix/linux/tree/kodi/rpi4-kms
Only the workaround to hide 4k modes is now left.

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-08-17 12:48:19 +02:00
Matthias Reichl
e5269ee54d linux (RPi): update to 5.4.58-8adbcbc
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-08-13 11:44:31 +02:00
Matthias Reichl
a994dd5ae7 linux (RPi): update patches from popcornmix
sourced from https://github.com/popcornmix/linux/tree/kodi/rpi4-kms

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-07-10 20:07:29 +02:00
MilhouseVH
18b7fc2bc6 linux (RPi): fix perf with gcc-10 and 5.4.y 2020-06-24 20:56:40 +02:00
Jernej Skrabec
b7fa8c627b linux: fix building perf with -fno-common 2020-06-24 20:56:40 +02:00
Matthias Reichl
a300420076 linux (RPi): add patches from popcornmix
sourced from https://github.com/popcornmix/linux/tree/kodi/rpi4-kms

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-06-19 14:29:12 +02:00
Matthias Reichl
48ad174b38 linux (RPi): update to 5.4.44-3f54521
Signed-off-by: Matthias Reichl <hias@horus.com>
2020-06-14 21:22:11 +02:00
MilhouseVH
6f6e862ae0 TEMP: linux: fix binutils-2.34 incompatability 2020-02-05 23:29:13 +00:00
MilhouseVH
277f5b100e Revert "linux (default, RPi): fix perf build with glibc 2.30"
This reverts commit 1239d6ccb2.
2019-09-18 22:06:49 +01:00
Matthias Reichl
1239d6ccb2 linux (default, RPi): fix perf build with glibc 2.30
perf build fails because glibc 2.30 includes a gettid() function:

jvmti/jvmti_agent.c:48:21: error: static declaration of 'gettid' follows non-static declaration
   48 | static inline pid_t gettid(void)
      |                     ^~~~~~
In file included from /home/hias/rpi/libreelec-master/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/unistd.h:1170,
                 from jvmti/jvmti_agent.c:33:
/home/hias/rpi/libreelec-master/build.LibreELEC-RPi4.arm-9.80-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' was here
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~

This has already been fixed in the 5.3 kernel tree. Add a backport
commit until the fix dribbles down into stable 5.2 or we swtich to 5.3.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-08-16 09:58:54 +02:00
MilhouseVH
1dd859ef45 linux (RPi/Generic): drop upstream patches 2019-07-15 14:30:41 +01:00
MilhouseVH
28a7924364 linux (RPi): update to linux-c997f20 (5.1.12) 2019-06-22 06:49:09 +01:00
MilhouseVH
6c703ab4a3 linux (RPi/Generic/Allwinner): revert faulty Bluetooth commit
https://forum.kodi.tv/showthread.php?tid=343069&pid=2858940#pid2858940
https://forum.kodi.tv/showthread.php?tid=343068&pid=2859150#pid2859150
2019-06-13 17:37:18 +01:00
MilhouseVH
6408d85005 linux (RPi/Generic): drop upstreamed patches 2019-05-09 18:31:26 +01:00
MilhouseVH
7707a0a685 linux (Generic/RPi): drop backported rcmm-ir-decoder patches 2019-05-09 18:31:26 +01:00