]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(drm): add privacy screen modules to the initrd
authorHans de Goede <hdegoede@redhat.com>
Thu, 9 Dec 2021 15:35:11 +0000 (16:35 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Fri, 10 Dec 2021 12:40:17 +0000 (12:40 +0000)
commit14d97a6a28c6172340c47c89374358aaf4e2629d
treedbf4b526302fa7f5fa47c4b8dd6c8740765b62bb
parent475497b1bd12c006c782541124b6427cb7ef4cb7
fix(drm): add privacy screen modules to the initrd

Starting with kernel 5.17 the kernel supports the builtin privacy screens
built into the LCD panel of some new laptop models.

This means that the drm drivers will now return -EPROBE_DEFER from their
probe() method on models with a builtin privacy screen when the privacy
screen provider driver has not been loaded yet.

Make dracut add the privacy screen providing drivers to the initrd
(when necessary for hostmode=yes), so that drm drivers on affected
drivers can probe() successfully.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
modules.d/50drm/module-setup.sh