]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Sep 2022 13:32:58 +0000 (15:32 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 8 Nov 2022 09:12:41 +0000 (10:12 +0100)
The Nanote UMPC-01 is a mini laptop with a 1200x1920 portrait screen
mounted in a landscape oriented clamshell case. Add a quirk for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Ser <contact@emersion.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/20220919133258.711639-1-hdegoede@redhat.com
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 8a0c0e0bb5bd2d318d9ed109bb411e9247bd489a..f0f6fa306521809606f79d58cc81444fb0c40c69 100644 (file)
@@ -319,6 +319,12 @@ static const struct dmi_system_id orientation_data[] = {
                 DMI_MATCH(DMI_BIOS_VERSION, "BLADE_21"),
                },
                .driver_data = (void *)&lcd1200x1920_rightside_up,
+       }, {    /* Nanote UMPC-01 */
+               .matches = {
+                DMI_MATCH(DMI_SYS_VENDOR, "RWC CO.,LTD"),
+                DMI_MATCH(DMI_PRODUCT_NAME, "UMPC-01"),
+               },
+               .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* OneGX1 Pro */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),