提交 7e71f8a5 编写于 作者: J Jakob Bornecrantz 提交者: Dave Airlie

drm/vmwgfx: Assume larger framebuffer max size.

Signed-off-by: NJakob Bornecrantz <jakob@vmware.com>
Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 cf22f20a
...@@ -765,8 +765,9 @@ int vmw_kms_init(struct vmw_private *dev_priv) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册