summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/core/Makefile
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-08-18 19:56:39 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-08-18 19:56:39 +0200
commitb0d8e409c3626eae42b59a3d76574804f2cef5ef (patch)
tree6147b654939312013ad3435496211821611ed7bd /drivers/video/fbdev/core/Makefile
parent5ad3f3f6eb1fbec716a61dbe46565dcd9ca94387 (diff)
downloadlinux-b0d8e409c3626eae42b59a3d76574804f2cef5ef.tar.bz2
video/console: Add dmi quirk table for x86 systems which need fbcon rotation
Some x86 clamshell design devices use portrait tablet screens and a display engine which cannot rotate in hardware, so we need to rotate the fbcon to compensate. This commit adds a DMI based quirk table which is initially populated with 4 such devices: The Asus T100HA, GPD Pocket, the GPD win and the I.T.Works TW891, so that the console comes up in the right orientation on these devices OOTB. Unfortunately these (cheap) devices also typically have quite generic DMI data, so we match on a combination of DMI data, screen resolution and a list of known BIOS dates to avoid false positives. Suggested-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> [b.zolnierkie: ported over fbcon changes] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/core/Makefile')
-rw-r--r--drivers/video/fbdev/core/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/core/Makefile b/drivers/video/fbdev/core/Makefile
index 0214b863ac3f..73493bbd7a15 100644
--- a/drivers/video/fbdev/core/Makefile
+++ b/drivers/video/fbdev/core/Makefile
@@ -14,6 +14,9 @@ ifeq ($(CONFIG_FRAMEBUFFER_CONSOLE_ROTATION),y)
fb-y += fbcon_rotate.o fbcon_cw.o fbcon_ud.o \
fbcon_ccw.o
endif
+ifeq ($(CONFIG_DMI),y)
+fb-y += fbcon_dmi_quirks.o
+endif
endif
fb-objs := $(fb-y)