drm/vmwgfx: Refactor vmw_gb_surface_define_ioctl()
authorSinclair Yeh <syeh@vmware.com>
Thu, 5 Mar 2015 09:06:13 +0000 (01:06 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Aug 2015 12:01:06 +0000 (14:01 +0200)
Refactored vmw_gb_surface_define_ioctl() and made the surface
definition part a separate function.  This way other parts of vmwgfx
can use it to allocate kernel-visible GB surfaces.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c

Simple merge