Skip to content

Commit d4fe9cc

Browse files
Duke Leejwrdegoede
authored andcommitted
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: linux-surface/linux-surface#837 Signed-off-by: Duke Lee <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 65f936f commit d4fe9cc

File tree

1 file changed

+6
-0
lines changed
  • drivers/platform/x86/intel

1 file changed

+6
-0
lines changed

drivers/platform/x86/intel/hid.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)