git: fb51ddb20d57 - main - bhyve: increase fbuf display resolution limit

From: Robert Wing <rew_at_FreeBSD.org>
Date: Tue, 21 Nov 2023 01:18:42 UTC
The branch main has been updated by rew:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb51ddb20d57a43d666508e600af1bc7ac85c4e8

commit fb51ddb20d57a43d666508e600af1bc7ac85c4e8
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2023-11-21 01:17:53 +0000
Commit:     Robert Wing <rew@FreeBSD.org>
CommitDate: 2023-11-21 01:17:53 +0000

    bhyve: increase fbuf display resolution limit
    
    This enables connecting to the VNC server at a higher resolution.
    
    Reviewed by:    corvink, markj
    Differential Revision:  https://reviews.freebsd.org/D42620
---
 usr.sbin/bhyve/pci_fbuf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/bhyve/pci_fbuf.c b/usr.sbin/bhyve/pci_fbuf.c
index a6bf508a46e6..9a4d7900751a 100644
--- a/usr.sbin/bhyve/pci_fbuf.c
+++ b/usr.sbin/bhyve/pci_fbuf.c
@@ -71,10 +71,10 @@ static int fbuf_debug = 1;
 
 #define	DMEMSZ	128
 
-#define	FB_SIZE		(16*MB)
+#define	FB_SIZE		(32*MB)
 
-#define COLS_MAX	1920
-#define	ROWS_MAX	1200
+#define COLS_MAX	3840
+#define ROWS_MAX	2160
 
 #define COLS_DEFAULT	1024
 #define ROWS_DEFAULT	768