]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2551c19eb3521d1704d48031b3d242423248a0b1
tree65f7255ca8ef0700b754a71a07bada5c5a89c0a2
parent82c3e2d0890bd03090e1ada43e95c32cd4437415
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