On Fri, Jul 19, 2019 at 03:55:02PM +1200, Peter Kane wrote:
> Hi
> 
> Things were working fairly well until I upgraded to a recent snapshot:
> 
> OpenBSD 6.5-current (GENERIC.MP) #130: Wed Jul 17 12:25:44 MDT 2019
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> Previously, the boot message would switch from sideways mode to vertical mode 
> when it started the inteldrm phase. Now, the console stays in sideways mode. 
> I assume this is related to the panel quirks changes:
> 
> Date: Fri, 12 Jul 2019 14:27:15 +1000
> From: Jonathan Gray <[email protected]>
> To: [email protected]
> Subject: use SMBIOS for inteldrm panel orientation quirks
> 
> Use SMBIOS data for panel orientation.  Uses BIOS dates when other
> strings are generic.
> 
> There are orientation quirks in drm_panel_orientation_quirks.c for:
>         Acer One 10 (S1003)
>         Asus T100HA
>         GPD MicroPC (generic strings, also match on bios date)
>         GPD Pocket 2 (generic strings, also match on bios date)
>         GPD Win (same note on DMI match as GPD Pocket)
>         I.T.Works TW891
>         Lenovo Ideapad Miix 320
>         VIOS LTH17
> 
> Is there enough information in the bug report dumps below to help with this?
> 
> Thanks,
> Peter

Try this, the output of

sysctl hw.vendor
sysctl hw.product
sysctl hw.version

would help as well.

Index: sys/dev/pci/drm/drm_panel_orientation_quirks.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/drm_panel_orientation_quirks.c,v
retrieving revision 1.3
diff -u -p -r1.3 drm_panel_orientation_quirks.c
--- sys/dev/pci/drm/drm_panel_orientation_quirks.c      11 Jul 2019 01:38:19 
-0000      1.3
+++ sys/dev/pci/drm/drm_panel_orientation_quirks.c      19 Jul 2019 12:10:48 
-0000
@@ -146,6 +146,12 @@ static const struct dmi_system_id orient
                  DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"),
                },
                .driver_data = (void *)&itworks_tw891,
+       }, {    /* Kogan Atlas 2-in-1 D300 */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Kogan"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "KALAP10D300EA"),
+               },
+               .driver_data = (void *)&lcd800x1280_rightside_up,
        }, {    /*
                 * Lenovo Ideapad Miix 310 laptop, only some production batches
                 * have a portrait screen, the resolution checks makes the quirk

Reply via email to