summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-05-27 07:48:03 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-05-27 07:48:03 +0000
commit3d14ea459bee4406c67e83198901f5706850be5c (patch)
tree0adf5fd5c107f8dc06ac701f3230c6940a114327
parente2e89ae5963f18ce9aca22bf9c36e3b500da4ac0 (diff)
raise max columns and rows in efifb to 160
This is the same change made in rev 1.21 to match the drm drivers. It was reverted as Lucas Raab reported problems with inteldrm taking over the fb with a 4k display. Lucas confirmed that this is no longer an issue. Prompted by a similar patch from John Carmack to raise the limits. ok kettenis@
-rw-r--r--sys/arch/amd64/amd64/efifb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/efifb.c b/sys/arch/amd64/amd64/efifb.c
index c7e2eba3790..11de5f45e7c 100644
--- a/sys/arch/amd64/amd64/efifb.c
+++ b/sys/arch/amd64/amd64/efifb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: efifb.c,v 1.30 2020/05/25 14:12:04 jsg Exp $ */
+/* $OpenBSD: efifb.c,v 1.31 2020/05/27 07:48:02 jsg Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -115,8 +115,8 @@ const struct cfattach efifb_ca = {
sizeof(struct efifb_softc), efifb_match, efifb_attach, NULL
};
-#define EFIFB_WIDTH 100
-#define EFIFB_HEIGHT 31
+#define EFIFB_WIDTH 160
+#define EFIFB_HEIGHT 160
struct wsscreen_descr efifb_std_descr = { "std" };