Skip to contentSkip to conversation

display: allow up to 16k width/height for fermi+

PATCH In review Ilia Mirkin 2 participants 4 messages Sep 18, 2015 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 display: allow up to 16k width/height for fermi+

---

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(-)
drm/nouveau/nouveau_display.c +5 -1
index 8d0e60d..d3d6438 100644
@@ -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;
Signature · 6 lines
2.4.6

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1442543480-18067-1-git-send-email-imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]

#2 lore raw
Quoted 8 lines · Ilia Mirkin

---

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.

After looking at the EVO headers, I believe this should be fine. Did the patch get tested to confirm?

I'd also make the subject "kms" rather than "display".

Ben.

Quoted 26 lines
 drm/nouveau/nouveau_display.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drm/nouveau/nouveau_display.c +5 -2
index 8d0e60d..d3d6438 100644
@@ -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

Quoted 4 lines

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CACAvsv7WdCM5xJDL2+pvBBkRb17npA4ddrhtgsS-+Zb4qtRBoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 11 lines · Ben Skeggs
Quoted 8 lines · Ilia Mirkin

---

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.

After looking at the EVO headers, I believe this should be fine. Did the patch get tested to confirm?

Not yet. Although in the meanwhile I realized that I don't actually need 3x 4K monitors... I can just run this patch and do something like xrandr --fb 16384x16384. But unfortunately there's no monitor connected in my setup where I can reload nouveau easily, and I reboot rarely where I do have monitors connected.

Quoted 27 lines

I'd also make the subject "kms" rather than "display".

Ben.

Quoted 22 lines
 drm/nouveau/nouveau_display.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drm/nouveau/nouveau_display.c +5 -1
index 8d0e60d..d3d6438 100644
@@ -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;
        }
 
Quoted 8 lines
Quoted 8 lines
drm/nouveau/nouveau_display.c +0 -1
        dev->mode_config.preferred_depth = 24;
--

2.4.6

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAKb7Uvjuz+O6OussCARs=ghB6RR+qZVP7SfcE27yJ2hGanhNYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#6 lore raw
Quoted 10 lines · Ilia Mirkin
Quoted 9 lines · Ben Skeggs
Quoted 8 lines · Ilia Mirkin

---

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.

Quoted 8 lines
Quoted 2 lines

After looking at the EVO headers, I believe this should be fine. Did the patch get tested to confirm?

Not yet. Although in the meanwhile I realized that I don't actually need 3x 4K monitors... I can just run this patch and do something like xrandr --fb 16384x16384. But unfortunately there's no monitor connected in my setup where I can reload nouveau easily, and I reboot rarely where I do have monitors connected.

Doh! True :)

Quoted 28 lines
Quoted 28 lines

I'd also make the subject "kms" rather than "display".

Ben.

Quoted 22 lines
 drm/nouveau/nouveau_display.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drm/nouveau/nouveau_display.c +5 -1
index 8d0e60d..d3d6438 100644
@@ -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;
        }
 
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
drm/nouveau/nouveau_display.c +0 -1
        dev->mode_config.preferred_depth = 24;
--

2.4.6

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau