[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v1] Increase framebuffer size to todays standards

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@xxxxxxxxx>
 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.