Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1002215
| From | Paul Menzel <pmenzel@molgen.mpg.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#955347: initramfs-tools: initrd size increased due to added DRM drivers |
| Date | 2020-03-30 12:40 +0200 |
| Message-ID | <zPZZL-5KP-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Package: initramfs-tools
Version: 0.136
Dear Debian folks,
The change *Include modules for Chromebook Plus display* [1] caused the
DRM drivers to be included on a Intel Broadwell Dell laptop and AMD
Ryzen desktop system.
> For MODULES=dep: adds backlight and pwm to the dep_modules_add sys-walk.
> Walking backlight includes pwm_bl and pwm includes pwm-cros-ec. Since
> panel-simple isn't reachable from /sys/class/**, but it can be reached
> from /sys/devices/platform/edp-panel, that path is sys-walked if it
> exists.
> --- a/hook-functions
> +++ b/hook-functions
> @@ -449,7 +449,7 @@ dep_add_modules()
> fi
>
> # sys walk some important device classes
> - for class in extcon gpio phy regulator rtc; do
> + for class in backlight extcon gpio phy pwm regulator rtc; do
> for device in "/sys/class/$class"/*; do
> device="$(readlink -f "$device")" \
> && sys_walk_mod_add "$device"
On the Intel Broadwell system, the backlight below exists.
$ readlink -f /sys/class/backlight/intel_backlight
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
On the desktop system, the ACPI Video Driver `video` (incorrectly)
creates the backlight device below.
$ readlink -f /sys/class/backlight/acpi_video0
/sys/devices/pci0000:00/0000:00:08.1/0000:26:00.0/backlight/acpi_video0
Kind regards,
Paul
PS: If you reply, please remember to remove <submit@bugs.debian.org> and
add the bug address with the assigned number.
[1]:
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/15
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#955347: initramfs-tools: initrd size increased due to added DRM drivers Paul Menzel <pmenzel@molgen.mpg.de> - 2020-03-30 12:40 +0200 Bug#955347: initramfs-tools: initrd size increased due to added DRM drivers Paul Menzel <pmenzel@molgen.mpg.de> - 2020-03-30 13:20 +0200
csiph-web