• R/O
  • HTTP
  • SSH
  • HTTPS

tomoyo-test1: 提交

This is a test repository.


Commit MetaInfo

修訂d4fe9cc4ff8656704b58cfd9363d7c3c9d65e519 (tree)
時間2022-06-12 21:41:17
作者Duke Lee <krnhotwings@gmai...>
CommiterHans de Goede

Log Message

platform/x86/intel: hid: Add Surface Go to VGBS allow list

The Surface Go reports Chassis Type 9 (Laptop,) so the device needs to be
added to dmi_vgbs_allow_list to enable tablet mode when an attached Type
Cover is folded back.

BugLink: https://github.com/linux-surface/linux-surface/issues/837
Signed-off-by: Duke Lee <krnhotwings@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220607213654.5567-1-krnhotwings@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Change Summary

差異

--- a/drivers/platform/x86/intel/hid.c
+++ b/drivers/platform/x86/intel/hid.c
@@ -122,6 +122,12 @@ static const struct dmi_system_id dmi_vgbs_allow_list[] = {
122122 DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible 15-df0xxx"),
123123 },
124124 },
125+ {
126+ .matches = {
127+ DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
128+ DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go"),
129+ },
130+ },
125131 { }
126132 };
127133
Show on old repository browser