All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] Increase framebuffer size to todays standards
@ 2018-11-25 19:14 Olaf Hering
  2018-11-26 10:31 ` Jan Beulich
  0 siblings, 1 reply; 8+ messages in thread
From: Olaf Hering @ 2018-11-25 19:14 UTC (permalink / raw)
  To: xen-devel
  Cc: Olaf Hering, Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, Jan Beulich

My notebook reports a display size of 1920x1080:

(XEN) vesafb: framebuffer at 0xd0000000, mapped to 0xffff82c000201000, using 8128k, total 8128k
(XEN) vesafb: mode is 1920x1080x32, linelength=7680, font 8x16
(XEN) vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0

The hardcoded values feel arbitrary, so just bump them to fix my system.
The filters for notebooks at https://geizhals.eu/ indicate the upper
limit could be even larger, like 3840x2160.

Fixes commit e7cb35e8b1b8f872d906800c72f92f10d701f79c ("xen: introduce a generic framebuffer driver")

Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
 xen/drivers/video/lfb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/drivers/video/lfb.c b/xen/drivers/video/lfb.c
index d0c8c492b0..0d061293d4 100644
--- a/xen/drivers/video/lfb.c
+++ b/xen/drivers/video/lfb.c
@@ -10,7 +10,7 @@
 #include "lfb.h"
 #include "font.h"
 
-#define MAX_XRES 1900
+#define MAX_XRES 1920
 #define MAX_YRES 1200
 #define MAX_BPP 4
 #define MAX_FONT_W 8

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-11-28 10:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-25 19:14 [PATCH v1] Increase framebuffer size to todays standards Olaf Hering
2018-11-26 10:31 ` Jan Beulich
2018-11-26 16:03   ` Olaf Hering
2018-11-26 16:15     ` Jan Beulich
2018-11-27  9:26       ` Julien Grall
2018-11-27  9:44         ` Jan Beulich
2018-11-27 18:17           ` Julien Grall
2018-11-28 10:23             ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.