Commit 3bef3572 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz Committed by Dave Airlie

drm/vmwgfx: Report propper framebuffer_{max|min}_{width|height}

Signed-off-by: default avatarJakob Bornecrantz <jakob@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f77cef3d
...@@ -769,10 +769,10 @@ int vmw_kms_init(struct vmw_private *dev_priv) ...@@ -769,10 +769,10 @@ int vmw_kms_init(struct vmw_private *dev_priv)
drm_mode_config_init(dev); drm_mode_config_init(dev);
dev->mode_config.funcs = &vmw_kms_funcs; dev->mode_config.funcs = &vmw_kms_funcs;
dev->mode_config.min_width = 640; dev->mode_config.min_width = 1;
dev->mode_config.min_height = 480; dev->mode_config.min_height = 1;
dev->mode_config.max_width = 2048; dev->mode_config.max_width = dev_priv->fb_max_width;
dev->mode_config.max_height = 2048; dev->mode_config.max_height = dev_priv->fb_max_height;
ret = vmw_kms_init_legacy_display_system(dev_priv); ret = vmw_kms_init_legacy_display_system(dev_priv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment