Commit Graph

1279 Commits

Author SHA1 Message Date
Matthias Reichl
887dfdbcad RPi4: make 4kp60 enabled per default
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-19 17:32:28 +02:00
Matthias Reichl
91be0b98e4 RPi: excplicitly end overlay scope in distroconfig.txt
This ensures dt parameters like dtparam=audio=on which appear
after "include distroconfig" are applied to the base dt instead
of the last dtoverlay loaded in distroconfig.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-07-19 17:32:28 +02:00
Matthias Reichl
7df646db5b Revert "RPi4: temporarily limit framebuffer size to HD"
This reverts commit 540c98a090.
2021-07-05 16:00:47 +02:00
Matthias Reichl
a785d8282b kodi (RPi4): drop patch to hide pixel-wrap issue
This issue should finally be resolved in latest RPi kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
540c98a090 RPi4: temporarily limit framebuffer size to HD
RPi firmware allocates a 4k framebuffer in gpu mem when 4kp60 is
enabled which leads to H264 decoding failing because it's running
out of GPU memory.

This framebuffer isn't used/needed in LE at all, so limit it's size
to HD (which the firmware does in non-4kp60 setups) until the KMS driver
and the firmware support freeing the orphaned framebuffer.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
903fd5e1f4 linux (RPi): config options for 5.10.44-2b13c54
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
e1eb4f2370 RPi: adapt vc4-hdmi ALSA card conf to kernel changes
The switch to HDMI_CODEC moved the IEC958 control from mixer to PCM,
adjust the ALSA card conf accordingly.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
2848dd80bb linux (RPi): config options for 5.10.43-9eba214
enable HDMI_CODEC

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
5bccf53d93 linux (RPi): config options for 5.10.42-da6937f
enable PoE+ HAT power supply driver module

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-06-28 20:26:02 +02:00
Matthias Reichl
75840aab12 linux (RPi): drop legacy CONFIG_CMDLINE options
These options were carried over from the ancient past, they are not
needed so let's drop them.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-05-01 13:24:07 +02:00
Christian Hewitt
23234b9faa Merge pull request #5320 from HiassofT/le10-kodi-rpi4-colorspace
kodi (RPi4): add patch to set colorspace connector property
2021-04-14 17:55:47 +04:00
Matthias Reichl
5cc421dbc6 linux (RPi): config options for 5.10.27-7773c5c
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-04-12 14:20:58 +02:00
Matthias Reichl
11481981b5 kodi (RPi4): add patch to set colorspace connector property
This enables signalling of BT.2020 colorspace via HDMI.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-04-12 14:16:01 +02:00
Matthias Reichl
0270ae475f linux (RPi): config options for 5.10.25-e1499ba
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-26 15:51:59 +01:00
CvH
e367b4a71c Merge pull request #5259 from HiassofT/le10-kernel-5.10.20+
linux (RPi): update to 5.10.23-13c4388
2021-03-20 07:14:31 +01:00
Matthias Reichl
6f812b15b9 linux (RPi): config options for 5.10.20-95b18fa
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:23:19 +01:00
Matthias Reichl
ee7b0c4a8a kodi (RPi4): update workaround to hide pixel wrap issue
Update with latest version from popcornmix's gbm_matrix branch.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-19 23:09:29 +01:00
Matthias Reichl
2909f02029 RPi4: fix incomplete kernel config after PR 5044
PR 5044 added incomplete kernel options for RPi4 which lead
to questions from "make oldconfig" during kernel build.

Fix this by processing RPi4 kernel config with oldconfig and
setting the missing options.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-07 16:03:51 +01:00
CvH
16f32a6a23 Merge pull request #5044 from lrusak/linux-required-config
linux: check for required config options before building
2021-03-05 18:11:11 +01:00
Matthias Reichl
4a301de44c RPi: add udev rule to increase alsa buffer size to 1.2MB
The default of 512k is too small at 192kHz/8ch, kodi can only get a
86ms buffer instead of the 200ms buffer it usually wants. That results
in occasional buffer underruns when playing media from local storage
which is uncached in kodi's default settings.

Increase the alsa buffer size to 1.2MB so kodi can get the audio buffer
size it likes to have.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-26 00:10:37 +01:00
Lukas Rusak
0078d5e17e RPi: linux: update kernel configs 2021-02-24 17:29:42 -08:00
Matthias Reichl
63c7994a28 linux (RPi): config options for 5.10.13-34263dc
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-16 16:42:46 +01:00
Matthias Reichl
b30315f5ba remove VALGRIND="no" from options files
valgrind is only included if VALGRIND is explicitly set to "yes",
setting it to "no" in some options files is not needed.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 22:07:38 +01:00
Matthias Reichl
a0fea36a91 RPi4: increase CMA memory default to 512MB
This is needed to play back some 4k HEVC files, eg
"Samsung Wonderland Two HDR UHD 4K Demo.ts" from
https://4kmedia.org/samsung-wonderland-two-hdr-uhd-4k-demo/

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-07 12:46:41 +01:00
Matthias Reichl
8db92a52d2 linux (RPi): config options for 5.10.11-c5f51df
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-05 13:02:55 +01:00