From: Jakob Bornecrantz <jakob@vmware.com>
To: dri-devel@lists.sourceforge.net, airlied@redhat.com,
thellstrom@vmware.com
Subject: [PATCH] drm/vmwgfx: Report propper framebuffer_{max|min}_{width|height}
Date: Tue, 9 Feb 2010 19:41:57 +0000 [thread overview]
Message-ID: <1265744519-22025-3-git-send-email-jakob@vmware.com> (raw)
In-Reply-To: <1265744519-22025-2-git-send-email-jakob@vmware.com>
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
---
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index eeba6d1..31f9afe 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
@@ -769,10 +769,10 @@ int vmw_kms_init(struct vmw_private *dev_priv)
drm_mode_config_init(dev);
dev->mode_config.funcs = &vmw_kms_funcs;
- dev->mode_config.min_width = 640;
- dev->mode_config.min_height = 480;
- dev->mode_config.max_width = 2048;
- dev->mode_config.max_height = 2048;
+ 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;
ret = vmw_kms_init_legacy_display_system(dev_priv);
--
1.6.0.4
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
--
next prev parent reply other threads:[~2010-02-09 19:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-09 19:41 [PATCH] drm/vmwgfx: Update the user-space interface Jakob Bornecrantz
2010-02-09 19:41 ` [PATCH] drm/vmwgfx: Fix a circular locking dependency bug Jakob Bornecrantz
2010-02-09 19:41 ` Jakob Bornecrantz [this message]
2010-02-09 19:41 ` [PATCH] drm/vmwgfx: Bump major and drop scanout flag compat Jakob Bornecrantz
2010-02-09 19:41 ` [PATCH] drm/vmwgfx: Support old hardware Jakob Bornecrantz
2010-02-09 19:59 ` [PATCH] drm/vmwgfx: Bump major and drop scanout flag compat Thomas Hellstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1265744519-22025-3-git-send-email-jakob@vmware.com \
--to=jakob@vmware.com \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.sourceforge.net \
--cc=thellstrom@vmware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.