[PATCH] gpu: drm_dp_cec: fix broken CEC adapter properties check
Jens Schmidt
farblos at vodafonemail.de
Thu Jan 30 21:59:23 UTC 2025
[Resend to make the automation happy ... thanks for the hint.]
On 2025-01-29 10:51, Hans Verkuil wrote:
> Jens (aka Farblos), can you test this patch?
TL;DR: Your patch fixes the issue on my system, thanks.
Tested-by: Farblos <farblos at vodafonemail.de>
Details:
### build #13 - stock 6.12.10 kernel
[~]$ uname -a
Linux host01 6.12.10 #13 SMP PREEMPT_DYNAMIC Wed Jan 29 22:10:03 CET 2025 x86_64 GNU/Linux
[~]$ ls -ald /sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input*
drwxr-xr-x 6 root root 0 Jan 29 22:17 /sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input30
# you also get quite a lot of these without your patch ...
[~]$ journalctl --boot | grep -c 'kernel: Registered IR keymap rc-cec'
7
### build #14 - 6.12.10 with your patch
[~]$ uname -a
Linux host01 6.12.10 #14 SMP PREEMPT_DYNAMIC Wed Jan 29 22:24:47 CET 2025 x86_64 GNU/Linux
[~]$ ls -ald /sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input*
drwxr-xr-x 6 root root 0 Jan 29 22:27 /sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input11
[~]$ journalctl --boot | grep -c 'kernel: Registered IR keymap rc-cec'
1
... wait ... let screen saver kick in ... wait ...
[~]$ ls -ald /sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input*
drwxr-xr-x 6 root root 0 Jan 29 22:27 /sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input11
[~]$ journalctl --boot | grep -c 'kernel: Registered IR keymap rc-cec'
1
More information about the dri-devel
mailing list