summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
diff options
context:
space:
mode:
authorCharmaine Lee <charmainel@vmware.com>2014-02-12 15:07:38 +0400
committerThomas Hellstrom <thellstrom@vmware.com>2014-02-12 15:17:00 +0400
commit857aea1c5769386b1905bb38fbb4464c800b2df6 (patch)
treebc8647e127ab98a1ea818d40a7a7c2a1b7cddc3d /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
parent8e67bbbc51dbeaba480e83fe2162eb08083a0459 (diff)
downloadlinux-857aea1c5769386b1905bb38fbb4464c800b2df6.tar.xz
drm/vmwgfx: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE
This patch queries the register SVGA_REG_MOB_MAX_SIZE for the maximum size of a single mob. Signed-off-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index ecaa302a6154..9e4be1725985 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@ -386,6 +386,7 @@ struct vmw_private {
uint32_t max_gmr_ids;
uint32_t max_gmr_pages;
uint32_t max_mob_pages;
+ uint32_t max_mob_size;
uint32_t memory_size;
bool has_gmr;
bool has_mob;