diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2012-11-21 10:32:36 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2014-01-17 07:52:16 +0100 |
commit | bc2d6508abefb3d6f3a2188dece555ce4108d3d3 (patch) | |
tree | cf22ddf749742801857bf11621bc06c4c75e49fc /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | cfe4d53eee81878ded963e76957f4aeed85f0a82 (diff) | |
download | lwn-bc2d6508abefb3d6f3a2188dece555ce4108d3d3.tar.gz lwn-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.h | 1 |
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; |