]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Replace vram_size with prim_bb_mem for calculation of max resolution
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 21 Nov 2012 09:32:36 +0000 (10:32 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 17 Jan 2014 06:52:16 +0000 (07:52 +0100)
commitf6968ddd0d31d45ce2ecd31117b55d5e911b58d6
treecf22ddf749742801857bf11621bc06c4c75e49fc
parent7a318b9b52bec022117d3f2223f284ca755eb04c
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>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c