projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f10b4e
)
ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
author
Jiri Slaby (SUSE)
<jirislaby@kernel.org>
Tue, 18 Apr 2023 06:42:00 +0000
(08:42 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 23 Sep 2023 09:11:00 +0000
(11:11 +0200)
[ Upstream commit
96b709be183c56293933ef45b8b75f8af268c6de
]
The Lenovo Ideapad Z470 predates Windows 8, so it defaults to using
acpi_video for backlight control. But this is not functional on this
model.
Add a DMI quirk to use the native backlight interface which works.
Link:
https://bugzilla.suse.com/show_bug.cgi?id=1208724
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/video_detect.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/video_detect.c
b/drivers/acpi/video_detect.c
index 707d6811615b89cc97bb772034a3168eabafa7e4..073d26ddb6c212f4b28cb4006abbb61b370e0bd4 100644
(file)
--- a/
drivers/acpi/video_detect.c
+++ b/
drivers/acpi/video_detect.c
@@
-443,6
+443,15
@@
static const struct dmi_system_id video_detect_dmi_table[] = {
DMI_MATCH(DMI_BOARD_NAME, "Lenovo IdeaPad S405"),
},
},
+ {
+ /* https://bugzilla.suse.com/show_bug.cgi?id=1208724 */
+ .callback = video_detect_force_native,
+ /* Lenovo Ideapad Z470 */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Z470"),
+ },
+ },
{
/* https://bugzilla.redhat.com/show_bug.cgi?id=1187004 */
.callback = video_detect_force_native,