summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-09-05 15:18:26 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-09-05 15:18:26 +0200
commit87a72dcbbd3c1a80d70a41ce3a6d9cf92a9e2295 (patch)
treeba8fe2981ba3ffacefcdcc442353361355d11cbe /drivers/video/fbdev
parentd3e329b3156699bd85d1aa7a5f792cd38d6a5fd3 (diff)
downloadlinux-87a72dcbbd3c1a80d70a41ce3a6d9cf92a9e2295.tar.gz
linux-87a72dcbbd3c1a80d70a41ce3a6d9cf92a9e2295.tar.bz2
linux-87a72dcbbd3c1a80d70a41ce3a6d9cf92a9e2295.zip
video/console: Add rotated LCD-panel DMI quirk for the VIOS LTH17
The VIOS LTH17 Cherry Trail bases netbook has its LCD panel mounted rotated 90 degrees, add a DMI quirk for this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Cc: Daniel Drake <drake@endlessm.com> [b.zolnierkie: ported over fbcon changes] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/core/fbcon_dmi_quirks.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/video/fbdev/core/fbcon_dmi_quirks.c b/drivers/video/fbdev/core/fbcon_dmi_quirks.c
index 9027f044a0e1..3fd40568070b 100644
--- a/drivers/video/fbdev/core/fbcon_dmi_quirks.c
+++ b/drivers/video/fbdev/core/fbcon_dmi_quirks.c
@@ -58,6 +58,12 @@ static const struct fbcon_dmi_rotate_data rotate_data_itworks_tw891 = {
.rotate = FB_ROTATE_CW,
};
+static const struct fbcon_dmi_rotate_data rotate_data_vios_lth17 = {
+ .width = 800,
+ .height = 1280,
+ .rotate = FB_ROTATE_CW,
+};
+
static const struct dmi_system_id rotate_data[] = {
{ /* Asus T100HA */
.matches = {
@@ -94,6 +100,14 @@ static const struct dmi_system_id rotate_data[] = {
DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"),
},
.driver_data = (void *)&rotate_data_itworks_tw891,
+ }, { /* VIOS LTH17 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"),
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "VIOS"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "LTH17"),
+ },
+ .driver_data = (void *)&rotate_data_vios_lth17,
},
{}
};