]> 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)
commitf08e79444ab620428794346ba59669db305be6f7
treecf22ddf749742801857bf11621bc06c4c75e49fc
parente806af4bca343c50eb8b4ded1a0d09d27a03b6df
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