drm/vmwgfx: Look up user buffer objects without taking a reference
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 26 Sep 2018 14:03:57 +0000 (16:03 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Sep 2018 06:57:07 +0000 (08:57 +0200)
commitb733bc2e0accd60af23719fd1fc77941c11059f4
tree51ad685edbba9b9ad16b2489f3d186c7f5378976
parent64ad2abfe9a628ce79859d072704bd1ef7682044
drm/vmwgfx: Look up user buffer objects without taking a reference

Identically to how we look up ttm base objects witout reference, provide
the same functionality to vmw user buffer objects which derive from them.

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