aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2012-11-21 10:32:36 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2014-01-17 07:52:16 +0100
commitbc2d6508abefb3d6f3a2188dece555ce4108d3d3 (patch)
treecf22ddf749742801857bf11621bc06c4c75e49fc /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
parentdrm/vmwgfx: Update the driver user-space interface for guest-backed objects (diff)
downloadlinux-dev-bc2d6508abefb3d6f3a2188dece555ce4108d3d3.tar.xz
linux-dev-bc2d6508abefb3d6f3a2188dece555ce4108d3d3.zip
drm/vmwgfx: Replace vram_size with prim_bb_mem for calculation of max resolution
In the future, Scanout buffers need not be backed by VRAM and the two definitions will differ. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Zack Rusin <zackr@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 ba49c1d69607..486adaf235d0 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@ -281,6 +281,7 @@ struct vmw_private {
unsigned int io_start;
uint32_t vram_start;
uint32_t vram_size;
+ uint32_t prim_bb_mem;
uint32_t mmio_start;
uint32_t mmio_size;
uint32_t fb_max_width;