Skip to content

Commit 9f7dd27

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: video: Change GIGABYTE GB-BXBT-2807 quirk to force_none
The GIGABYTE GB-BXBT-2807 DMI quirk was added by commit 2541718 ("ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807") which says the following in its commit message: "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." So in essence this quirk was using a video_detect_force_vendor quirk to disable backlight control. Now a days we have a specific "none" backlight type for this. Change the quirk to video_detect_force_none and group it together with the other force_none quirks. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 60f1fac commit 9f7dd27

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/acpi/video_detect.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
199199
DMI_MATCH(DMI_PRODUCT_NAME, "1015CX"),
200200
},
201201
},
202-
{
203-
.callback = video_detect_force_vendor,
204-
/* GIGABYTE GB-BXBT-2807 */
205-
.matches = {
206-
DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
207-
DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"),
208-
},
209-
},
210202
{
211203
.callback = video_detect_force_vendor,
212204
/* Samsung N150/N210/N220 */
@@ -674,6 +666,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
674666
DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 9020M"),
675667
},
676668
},
669+
{
670+
.callback = video_detect_force_none,
671+
/* GIGABYTE GB-BXBT-2807 */
672+
.matches = {
673+
DMI_MATCH(DMI_SYS_VENDOR, "GIGABYTE"),
674+
DMI_MATCH(DMI_PRODUCT_NAME, "GB-BXBT-2807"),
675+
},
676+
},
677677
{
678678
.callback = video_detect_force_none,
679679
/* MSI MS-7721 */

0 commit comments

Comments
 (0)