Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68875 > unrolled thread

Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC

Started byRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
First post2020-12-15 07:30 +0100
Last post2021-01-31 09:20 +0100
Articles 9 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-15 07:30 +0100
    Bug#977438: Pls. consider raspi-related configs for kernel 5.10 Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-17 01:30 +0100
      Bug#977438: Pls. consider raspi-related configs for kernel 5.10 Lucas Nussbaum <lucas@debian.org> - 2020-12-17 11:40 +0100
    Processed: Pls. consider raspi-related configs for kernel 5.10 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-12-17 01:30 +0100
    Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC Vincent Blut <vincent.debian@free.fr> - 2020-12-17 11:30 +0100
      Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-18 01:50 +0100
        Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> - 2020-12-18 02:40 +0100
    Processed: Re: Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-12-18 02:40 +0100
    Bug#977438: marked as done (Pls. consider DRM_VC4_HDMI_CEC) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-01-31 09:20 +0100

#68875 — Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC

FromRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Date2020-12-15 07:30 +0100
SubjectBug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC
Message-ID<Bmc0p-5VS-5@gated-at.bofh.it>
Source: linux
Version: 5.9.11-1
Severity: wishlist

Dear Maintainer,

Could you consider to enable CONFIG_DRM_VC4_HDMI_CEC
for arm64 and possibly armhf?
It should enable cec-client command in Debian cec-util to
control some CEC-capable devices connected via HDMI.

Best regards, Ryutaroh Matsumoto


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 5.9.0-4-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[toc] | [next] | [standalone]


#68887 — Bug#977438: Pls. consider raspi-related configs for kernel 5.10

FromRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Date2020-12-17 01:30 +0100
SubjectBug#977438: Pls. consider raspi-related configs for kernel 5.10
Message-ID<BmPl7-4ju-1@gated-at.bofh.it>
In reply to#68875
Control: retitle -1 Pls. consider raspi-related configs for 5.10
Control: tags -1 + patch
Control: block 968181 by 977441

Dear Debian kernel maintainers,
CC: the Debian ARM list,

Could you consider enabling the following kernel compilation
options for Raspberry Pi 3&4 series for kernel 5.10?
The patch is against latest package source at salsa.debian.org.

--- debian/config/arm64/config-orig	2020-12-16 09:46:18.645380333 +0900
+++ debian/config/arm64/config	2020-12-16 10:22:17.998897582 +0900
@@ -424,6 +424,11 @@
 ## file: drivers/gpu/drm/vc4/Kconfig
 ##
 CONFIG_DRM_VC4=m
+CONFIG_DRM_VC4_HDMI_CEC=y
+CONFIG_DRM_V3D=m
+CONFIG_BCM_VIDEOCORE=m
+CONFIG_BCM2835_VCHIQ=m
+CONFIG_BCM2835_VCHIQ_MMAL=m
 
 ##
 ## file: drivers/gpu/host1x/Kconfig
@@ -443,6 +448,7 @@
 CONFIG_SENSORS_PWM_FAN=m
 CONFIG_SENSORS_SL28CPLD=m
 CONFIG_SENSORS_XGENE=m
+CONFIG_SENSORS_RASPBERRYPI_HWMON=m
 
 ##
 ## file: drivers/hwspinlock/Kconfig
@@ -1006,6 +1012,7 @@
 CONFIG_PINCTRL_AMD=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y
+CONFIG_PINCTRL_BCM2835=y
 
 ##
 ## file: drivers/pinctrl/qcom/Kconfig
@@ -1093,6 +1100,7 @@
 ## file: drivers/reset/Kconfig
 ##
 CONFIG_RESET_CONTROLLER=y
+CONFIG_RESET_RASPBERRYPI=m
 
 ##
 ## file: drivers/rpmsg/Kconfig
@@ -1136,6 +1144,7 @@
 ## file: drivers/soc/bcm/Kconfig
 ##
 CONFIG_RASPBERRYPI_POWER=y
+CONFIG_BCM2835_POWER=y
 
 ##
 ## file: drivers/soc/fsl/Kconfig


I have already built a Debian package with the above options
from the latest master branch source on salsa.debian.org, and observed
the following on RPi4:

(1) CONFIG_DRM_V3D has no effect, as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977441#18

(2) HDMI display resolution can become 4K and fixing an important bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968188

(3) /dev/dri/render* does not appear unlike

https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1880125/comments/14
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1850876/comments/33

GPU/DRM acceleration remains unusable on RPi4, and bug 968181
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968181
remains open. 968181 seems blocked by 977441.

(4) My built Debian kernel 5.10.1 can boot from my usb mass storage device
ID 04bb:0168 I-O Data Device, Inc. I-O DATA HDPH-UT
but cannot access the root filesystem... My USB MSD mergenally worked
with Debian kernel 5.9.* and can compile the Debian kernel package.
My USB MSD  requires periodical reset by the Debian kernel 5.9.*,
which suggests this MSD is buggy... I ordered a faster SSD-based USB MSD.

(5) Raspberry Pi Wireless cannot be used by my built Debian kernel 5.10.1.
The wirelss has worked perfectly with Debian kernel 5.7--5.9.

I will see what will happen with a Debian kernel package 5.10*
both with and without proposed patch, and report it back,
when it arrives in experimental or unstable.

Bes regards, Ryutaroh Matsumoto

[toc] | [prev] | [next] | [standalone]


#68898 — Bug#977438: Pls. consider raspi-related configs for kernel 5.10

FromLucas Nussbaum <lucas@debian.org>
Date2020-12-17 11:40 +0100
SubjectBug#977438: Pls. consider raspi-related configs for kernel 5.10
Message-ID<BmYRr-1Bp-1@gated-at.bofh.it>
In reply to#68887
Hi,

On 17/12/20 at 09:24 +0900, Ryutaroh Matsumoto wrote:
> (1) CONFIG_DRM_V3D has no effect, as
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977441#18
> 
> (3) /dev/dri/render* does not appear unlike
> 
> https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1880125/comments/14
> https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1850876/comments/33
> 
> GPU/DRM acceleration remains unusable on RPi4, and bug 968181
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968181
> remains open. 968181 seems blocked by 977441.

That's expected. The needed V3D changes have not been done upstream (in
the vanilla kernel).

Ubuntu uses the Raspberry Pi foundation kernel, from
github.com/raspberrypi/linux. That's why it works on Ubuntu.

I documented how to build such as kernel on Debian on
https://wiki.debian.org/RaspberryPi4#Building_a_custom_kernel_from_github.com.2Fraspberrypi.2Flinux_sources

Lucas

[toc] | [prev] | [next] | [standalone]


#68888 — Processed: Pls. consider raspi-related configs for kernel 5.10

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-12-17 01:30 +0100
SubjectProcessed: Pls. consider raspi-related configs for kernel 5.10
Message-ID<BmPl8-4ju-3@gated-at.bofh.it>
In reply to#68875
Processing control commands:

> retitle -1 Pls. consider raspi-related configs for 5.10
Bug #977438 [src:linux] Pls. consider CONFIG_DRM_VC4_HDMI_CEC
Changed Bug title to 'Pls. consider raspi-related configs for 5.10' from 'Pls. consider CONFIG_DRM_VC4_HDMI_CEC'.
> tags -1 + patch
Bug #977438 [src:linux] Pls. consider raspi-related configs for 5.10
Added tag(s) patch.
> block 968181 by 977441
Bug #968181 [src:linux] linux-image-5.7.0-2-arm64: DRM unavailable on Rapsberry Pi 4B
968181 was not blocked by any bugs.
968181 was not blocking any bugs.
Added blocking bug(s) of 968181: 977441

-- 
968181: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968181
977438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977438
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#68897

FromVincent Blut <vincent.debian@free.fr>
Date2020-12-17 11:30 +0100
Message-ID<BmYHM-1xW-3@gated-at.bofh.it>
In reply to#68875

[Multipart message — attachments visible in raw view] — view raw

Hi,

Le 2020-12-15T15:21+0900, Ryutaroh Matsumoto a écrit :
>Source: linux
>Version: 5.9.11-1
>Severity: wishlist
>
>Dear Maintainer,
>
>Could you consider to enable CONFIG_DRM_VC4_HDMI_CEC
>for arm64 and possibly armhf?
>It should enable cec-client command in Debian cec-util to
>control some CEC-capable devices connected via HDMI.

I sent a merge request to enable this [1]. I see that in a follow-up 
email you're asking for more configuration options to be enabled; It 
would probably be better to open a new bug report for those.

>Best regards, Ryutaroh Matsumoto

Cheers,
Vincent


[1] https://salsa.debian.org/kernel-team/linux/-/merge_requests/299

[toc] | [prev] | [next] | [standalone]


#68937

FromRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Date2020-12-18 01:50 +0100
Message-ID<Bnc81-1eP-1@gated-at.bofh.it>
In reply to#68897
Hi Vincent,

Thank you for your attention and MR.

> I see that in a follow-up
> email you're asking for more configuration options to be enabled; It
> would probably be better to open a new bug report for those.

I will do so, after a 5.10.x package enters into experimental or unstable,
I built a Debian kernel pkg with proposed config, and test it.

Best regards, Ryutaroh

[toc] | [prev] | [next] | [standalone]


#68939

FromRyutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Date2020-12-18 02:40 +0100
Message-ID<BncUr-1LH-27@gated-at.bofh.it>
In reply to#68937
Control: retitle -1 Pls. consider DRM_VC4_HDMI_CEC

I change the issue title following suggestion by Vinent.

From: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Subject: Re: Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC
Date: Fri, 18 Dec 2020 09:30:49 +0900 (JST)

> Hi Vincent,
> 
> Thank you for your attention and MR.
> 
>> I see that in a follow-up
>> email you're asking for more configuration options to be enabled; It
>> would probably be better to open a new bug report for those.
> 
> I will do so, after a 5.10.x package enters into experimental or unstable,
> I built a Debian kernel pkg with proposed config, and test it.
> 
> Best regards, Ryutaroh

[toc] | [prev] | [next] | [standalone]


#68938 — Processed: Re: Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-12-18 02:40 +0100
SubjectProcessed: Re: Bug#977438: linux: Pls. consider DRM_VC4_HDMI_CEC
Message-ID<BncUr-1LH-25@gated-at.bofh.it>
In reply to#68875
Processing control commands:

> retitle -1 Pls. consider DRM_VC4_HDMI_CEC
Bug #977438 [src:linux] Pls. consider raspi-related configs for 5.10
Changed Bug title to 'Pls. consider DRM_VC4_HDMI_CEC' from 'Pls. consider raspi-related configs for 5.10'.

-- 
977438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977438
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#69368 — Bug#977438: marked as done (Pls. consider DRM_VC4_HDMI_CEC)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-01-31 09:20 +0100
SubjectBug#977438: marked as done (Pls. consider DRM_VC4_HDMI_CEC)
Message-ID<BDg7F-7ow-25@gated-at.bofh.it>
In reply to#68875

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sun, 31 Jan 2021 08:10:09 +0000
with message-id <E1l67o9-000Gwf-UO@fasolo.debian.org>
and subject line Bug#977438: fixed in linux 5.10.12-1
has caused the Debian Bug report #977438,
regarding Pls. consider DRM_VC4_HDMI_CEC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
977438: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977438
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web