drm/vmwgfx: Assume larger framebuffer max size.
authorJakob Bornecrantz <jakob@vmware.com>
Fri, 28 May 2010 09:21:54 +0000 (11:21 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 31 May 2010 23:36:36 +0000 (09:36 +1000)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

index bbc7c4c30bc7fc26d6c2244ba53ab70324af1593..642bcd7a1500b0eb3c99fd638fa8ea70eae9739f 100644 (file)
@@ -765,8 +765,9 @@ int vmw_kms_init(struct vmw_private *dev_priv)
        dev->mode_config.funcs = &vmw_kms_funcs;
        dev->mode_config.min_width = 1;
        dev->mode_config.min_height = 1;
-       dev->mode_config.max_width = dev_priv->fb_max_width;
-       dev->mode_config.max_height = dev_priv->fb_max_height;
+       /* assumed largest fb size */
+       dev->mode_config.max_width = 8192;
+       dev->mode_config.max_height = 8192;
 
        ret = vmw_kms_init_legacy_display_system(dev_priv);