Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87a72dcb authored by Hans de Goede's avatar Hans de Goede Committed by Bartlomiej Zolnierkiewicz
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
Cc: Daniel Drake <drake@endlessm.com>
[b.zolnierkie: ported over fbcon changes]
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent d3e329b3
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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,
	},
	{}
};