On Wed, Jun 8, 2022 at 7:48 AM Duke Lee <krnhotwings@xxxxxxxxx> wrote: > > 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. > Relevant bug report and discussion: > https://github.com/linux-surface/linux-surface/issues/837 It can be a BugLink tag instead. > BugLink: https://github.com/linux-surface/linux-surface/issues/837 > Signed-off-by: Duke Lee <krnhotwings@xxxxxxxxx> I believe Hans can tweak this on the fly, so Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> > --- > drivers/platform/x86/intel/hid.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/platform/x86/intel/hid.c b/drivers/platform/x86/intel/hid.c > index 216d31e3403d..79cff1fc675c 100644 > --- 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[] = { > DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible 15-df0xxx"), > }, > }, > + { > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"), > + DMI_MATCH(DMI_PRODUCT_NAME, "Surface Go"), > + }, > + }, > { } > }; > > -- > 2.36.1 > -- With Best Regards, Andy Shevchenko