summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-04-15 22:25:01 +0200
committerHans de Goede <hdegoede@redhat.com>2022-09-02 09:57:09 +0200
commit7f908d332dc48a12436725ae326d6143a1a02c1c (patch)
treeea94e29d7c1c0598d9f78dd8a3bda9d5648d8c60 /block
parent1eb67781117ca2095f0dbede79f22f6b2ffa3189 (diff)
downloadlwn-7f908d332dc48a12436725ae326d6143a1a02c1c.tar.gz
lwn-7f908d332dc48a12436725ae326d6143a1a02c1c.zip
drm/nouveau: 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: - Add nouveau_acpi_video_backlight_use_native() wrapper to avoid unresolved symbol errors on non X86 Reviewed-by: Lyude Paul <lyude@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions