drm/vmwgfx: Assume larger framebuffer max size.

Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Jakob Bornecrantz 2010-05-28 11:21:54 +02:00 committed by Dave Airlie
parent cf22f20ade
commit 7e71f8a59e
1 changed files with 3 additions and 2 deletions

View File

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