summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2012-02-09 16:56:46 +0100
committerDave Airlie <airlied@redhat.com>2012-02-13 12:01:35 +0000
commiteb4f923b1ceac8a618469c51ff249bd89bc0dfa4 (patch)
tree4bd78f324d55c67bc58b2aa9944f157f0e96cfc0 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
parentb5ec427e8d8c66ea1bb9a3bf09663c1361ecf0b6 (diff)
downloadtalos-op-linux-eb4f923b1ceac8a618469c51ff249bd89bc0dfa4.tar.gz
talos-op-linux-eb4f923b1ceac8a618469c51ff249bd89bc0dfa4.zip
vmwgfx: Pick up the initial size from the width and height regs
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index 14c2f49b21ea..28664156a1d8 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@ -203,6 +203,8 @@ struct vmw_private {
uint32_t mmio_size;
uint32_t fb_max_width;
uint32_t fb_max_height;
+ uint32_t initial_width;
+ uint32_t initial_height;
__le32 __iomem *mmio_virt;
int mmio_mtrr;
uint32_t capabilities;
OpenPOWER on IntegriCloud