drm/ttm: Add a ttm_ref_object_exists function
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 19 Mar 2014 12:23:20 +0000 (13:23 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 28 Mar 2014 13:19:03 +0000 (14:19 +0100)
commit0d3215e3857ab679f74c9b26b7e711955c9d0438
tree65f7255ca8ef0700b754a71a07bada5c5a89c0a2
parent6d10aab8f0658d624e5aafcd52b70afa23a75e5e
drm/ttm: Add a ttm_ref_object_exists function

A function to be used to check whether a caller has put a ref object
(opened) a struct ttm_base_object

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/ttm/ttm_object.c
include/drm/ttm/ttm_object.h