aboutsummaryrefslogtreecommitdiff
path: root/include/drm/drm_cache.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2015-04-07 15:56:07 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-07 18:11:25 +0200
commit0578be680c6623ad6515b60a0b41ec70ebc1f204 (patch)
tree3b25074a3f4cbb88413f8b5fde910453e9753658 /include/drm/drm_cache.h
parentbe26a66de5f5722388966a62d772df832818bcb9 (diff)
downloadlinux-linaro-stable-0578be680c6623ad6515b60a0b41ec70ebc1f204.tar.gz
drm: Use kref_put_mutex in drm_gem_object_unreference_unlocked
If kref_put_mutex returns true then the caller or the put function is responsible for unlocking the mutex. The usual pattern assumes that the free callback unlocks the mutex, but since that is shared with the locked variant we need to explicitly unlock here. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_cache.h')
0 files changed, 0 insertions, 0 deletions