diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2011-12-08 06:20:37 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2012-01-05 13:40:06 +0100 |
commit | a92f202cc7ef9bf206daab100d9e96667ceee9fe (patch) | |
tree | 4c6a52ef8eaa056594bdd45def6e782656d71028 /vmwgfx_ldu.c | |
parent | 4efad55f2352ae8df2ed2fb79f3c7812ccc970ec (diff) |
vmwgfx: Pick up the initial size from the width and height regs
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'vmwgfx_ldu.c')
-rw-r--r-- | vmwgfx_ldu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vmwgfx_ldu.c b/vmwgfx_ldu.c index 17ef977..aee0016 100644 --- a/vmwgfx_ldu.c +++ b/vmwgfx_ldu.c @@ -355,8 +355,8 @@ static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) INIT_LIST_HEAD(&ldu->active); ldu->base.pref_active = (unit == 0); - ldu->base.pref_width = 800; - ldu->base.pref_height = 600; + ldu->base.pref_width = dev_priv->initial_width; + ldu->base.pref_height = dev_priv->initial_height; ldu->base.pref_mode = NULL; ldu->base.is_implicit = true; |