Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(drm): Add privacy screen modules to the initrd #1666

Merged
merged 1 commit into from Dec 10, 2021

Conversation

jwrdegoede
Copy link
Contributor

@jwrdegoede jwrdegoede commented Dec 9, 2021

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

This pull request changes...

Changes

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #

@github-actions github-actions bot added drm Issues related to the drm module modules Issue tracker for all modules labels Dec 9, 2021
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>
Copy link
Collaborator

@johannbg johannbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johannbg johannbg enabled auto-merge (rebase) December 9, 2021 16:43
@johannbg johannbg merged commit 14d97a6 into dracutdevs:master Dec 10, 2021
@jwrdegoede jwrdegoede deleted the drm-privacy-screen branch December 10, 2021 12:53
@jwrdegoede
Copy link
Contributor Author

Thank you all for the quick reviews and merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drm Issues related to the drm module modules Issue tracker for all modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants