Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'drm-misc-next-fixes-2018-10-17' of git://anongit.freedesktop.org/drm/drm-misc into drm-next

- Add quirk to fix orientation of Acer One 10 (S1003) panel (Hans)

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

From: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20181017200741.GA240649@art_vandelay

+13 -1
+13 -1
drivers/gpu/drm/drm_panel_orientation_quirks.c
··· 30 30 int orientation; 31 31 }; 32 32 33 + static const struct drm_dmi_panel_orientation_data acer_s1003 = { 34 + .width = 800, 35 + .height = 1280, 36 + .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, 37 + }; 38 + 33 39 static const struct drm_dmi_panel_orientation_data asus_t100ha = { 34 40 .width = 800, 35 41 .height = 1280, ··· 73 67 }; 74 68 75 69 static const struct dmi_system_id orientation_data[] = { 76 - { /* Asus T100HA */ 70 + { /* Acer One 10 (S1003) */ 71 + .matches = { 72 + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"), 73 + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "One S1003"), 74 + }, 75 + .driver_data = (void *)&acer_s1003, 76 + }, { /* Asus T100HA */ 77 77 .matches = { 78 78 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), 79 79 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"),