aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2020-12-02 14:39:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-11 14:06:50 +0100
commit242be7cddd258cec518f9d2ff790b2bf75713a1e (patch)
treed6a9006b23c5cbe3f949422263fbbd111ea4b6b0
parent86c8848d680adfc9877d022f2cfb10a65718c67a (diff)
downloadlinux-yocto-242be7cddd258cec518f9d2ff790b2bf75713a1e.tar.gz
linux-yocto-242be7cddd258cec518f9d2ff790b2bf75713a1e.tar.bz2
linux-yocto-242be7cddd258cec518f9d2ff790b2bf75713a1e.zip
ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
[ Upstream commit 25417185e9b5ff90746d50769d2a3fcd1629e254 ] The GIGABYTE GB-BXBT-2807 is a mini-PC which uses off the shelf components, like an Intel GPU which is meant for mobile systems. As such, it, by default, has a backlight controller exposed. Unfortunately, the backlight controller only confuses userspace, which sees the existence of a backlight device node and has the unrealistic belief that there is actually a backlight there! Add a DMI quirk to force the backlight off on this system. Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net> Reviewed-by: Chris Chiu <chiu@endlessos.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/acpi/video_detect.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index 55af78b55c51..301ffe5b8feb 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -143,6 +143,13 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
},
{
.callback = video_detect_force_vendor,
+ .ident = "GIGABYTE GB-BXBT-2807",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"),
+ },
+ },
+ {
.ident = "Sony VPCEH3U1E",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),