]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitbc2d6508abefb3d6f3a2188dece555ce4108d3d3
treecf22ddf749742801857bf11621bc06c4c75e49fc
parentcfe4d53eee81878ded963e76957f4aeed85f0a82
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