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)
commit233826a74881e38aca20ced22842322269877612
tree5c187cb3b90ec42220bb33122c7ede21ab03e693
parent7b64115fc79c766ba2f89ec822427d720f395f3f
drm/vmwgfx: Refactor vmw_gb_surface_define_ioctl()

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