[Nouveau] [PATCH] display: allow up to 16k width/height for fermi+
Ben Skeggs
skeggsb at gmail.com
Fri Sep 18 06:41:41 PDT 2015
On 18 September 2015 at 12:31, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> 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.
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.
>
> 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
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
More information about the Nouveau
mailing list