[Nouveau] [PATCH] display: allow up to 16k width/height for fermi+
Ilia Mirkin
imirkin at alum.mit.edu
Fri Sep 18 10:24:42 PDT 2015
On Fri, Sep 18, 2015 at 9:41 AM, Ben Skeggs <skeggsb at gmail.com> wrote:
> 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?
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.
>
> 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