drm/gma500: Increase max resolution for mode setting
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Thu, 25 Apr 2013 20:23:36 +0000 (22:23 +0200)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Thu, 25 Apr 2013 20:23:36 +0000 (22:23 +0200)
By having a higher max resolution we can now set up a virtual
framebuffer that spans several monitors. 4096 should be ok since we're
gen 3 or higher and should be enough for most dual head setups.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
drivers/gpu/drm/gma500/framebuffer.c

index 31ac392b84eaa701d50ec09356acd8ee4525cd62..1534e220097ab8bbe5b8e272df0d8f007b6447a2 100644 (file)
@@ -772,8 +772,8 @@ void psb_modeset_init(struct drm_device *dev)
        for (i = 0; i < dev_priv->num_pipe; i++)
                psb_intel_crtc_init(dev, i, mode_dev);
 
-       dev->mode_config.max_width = 2048;
-       dev->mode_config.max_height = 2048;
+       dev->mode_config.max_width = 4096;
+       dev->mode_config.max_height = 4096;
 
        psb_setup_outputs(dev);