[Nouveau] [PATCH] display: allow up to 16k width/height for fermi+

Ilia Mirkin imirkin at alum.mit.edu
Thu Sep 17 19:31:20 PDT 2015


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---

mrnuke on IRC reported that 3x 4K monitors (11520 width total) got
rejected for some reason. I'm guessing it's this since a single giant
FB has to be used.

Not sure if the hardware will actually support it, but... who knows.

 drm/nouveau/nouveau_display.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drm/nouveau/nouveau_display.c b/drm/nouveau/nouveau_display.c
index 8d0e60d..d3d6438 100644
--- a/drm/nouveau/nouveau_display.c
+++ b/drm/nouveau/nouveau_display.c
@@ -469,9 +469,13 @@ nouveau_display_create(struct drm_device *dev)
 	if (drm->device.info.family < NV_DEVICE_INFO_V0_TESLA) {
 		dev->mode_config.max_width = 4096;
 		dev->mode_config.max_height = 4096;
-	} else {
+	} else
+	if (drm->device.info.family < NV_DEVICE_INFO_V0_FERMI) {
 		dev->mode_config.max_width = 8192;
 		dev->mode_config.max_height = 8192;
+	} else {
+		dev->mode_config.max_width = 16384;
+		dev->mode_config.max_height = 16384;
 	}
 
 	dev->mode_config.preferred_depth = 24;
-- 
2.4.6



More information about the Nouveau mailing list