Skip to content

Commit 2dfbacc

Browse files
flukejonesrafaeljw
authored andcommitted
ACPI: video: use native backlight for GA401/GA502/GA503
Force backlight control in these models to use the native interface at /sys/class/backlight/amdgpu_bl0. Signed-off-by: Luke D. Jones <luke@ljones.dev> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 81cc7e9 commit 2dfbacc

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

drivers/acpi/video_detect.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,30 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
385385
DMI_MATCH(DMI_BOARD_NAME, "BA51_MV"),
386386
},
387387
},
388+
{
389+
.callback = video_detect_force_native,
390+
.ident = "ASUSTeK COMPUTER INC. GA401",
391+
.matches = {
392+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
393+
DMI_MATCH(DMI_PRODUCT_NAME, "GA401"),
394+
},
395+
},
396+
{
397+
.callback = video_detect_force_native,
398+
.ident = "ASUSTeK COMPUTER INC. GA502",
399+
.matches = {
400+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
401+
DMI_MATCH(DMI_PRODUCT_NAME, "GA502"),
402+
},
403+
},
404+
{
405+
.callback = video_detect_force_native,
406+
.ident = "ASUSTeK COMPUTER INC. GA503",
407+
.matches = {
408+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
409+
DMI_MATCH(DMI_PRODUCT_NAME, "GA503"),
410+
},
411+
},
388412

389413
/*
390414
* Desktops which falsely report a backlight and which our heuristics

0 commit comments

Comments
 (0)