diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-04-15 21:55:35 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-08-25 10:55:58 +0200 |
commit | b1d36e73cc1c68d28f63cbd14767d0d0861147e0 (patch) | |
tree | 84fc2702659dadf4e660b1eb816a12b053b41888 /drivers/most/most_usb.c | |
parent | 2600bfa3df9944562d43d1f17016832a6ffa3b38 (diff) | |
download | linux-b1d36e73cc1c68d28f63cbd14767d0d0861147e0.tar.bz2 |
drm/i915: Don't register backlight when another backlight should be used (v2)
Before this commit when we want userspace to use the acpi_video backlight
device we register both the GPU's native backlight device and acpi_video's
firmware acpi_video# backlight device. This relies on userspace preferring
firmware type backlight devices over native ones.
Registering 2 backlight devices for a single display really is
undesirable, don't register the GPU's native backlight device when
another backlight device should be used.
Changes in v2:
- Use drm_info(drm_dev, ...) for log messages
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/most/most_usb.c')
0 files changed, 0 insertions, 0 deletions