]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/vmwgfx: Fix legacy surface reference size copyback
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 30 Jan 2014 10:18:38 +0000 (11:18 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Feb 2014 07:38:03 +0000 (08:38 +0100)
commitc1a21373d2cb94a7808161a8c237b249cd799ce7
treef999c8a9567b1aac1ee524748da9dd0dfdd61c11
parent0ccbbae43c2dfe45ded1d7ed59b8fc7ac8214fb0
drm/vmwgfx: Fix legacy surface reference size copyback

Surfaces created using the guest-backed surface interface only keeps the
base mip size, so only copy that if the legacy surface reference
ioctl requests the size information.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c