diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2015-04-07 15:56:07 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-07 18:11:25 +0200 |
commit | 0578be680c6623ad6515b60a0b41ec70ebc1f204 (patch) | |
tree | 3b25074a3f4cbb88413f8b5fde910453e9753658 /drivers/gpu | |
parent | be26a66de5f5722388966a62d772df832818bcb9 (diff) | |
download | talos-op-linux-0578be680c6623ad6515b60a0b41ec70ebc1f204.tar.gz talos-op-linux-0578be680c6623ad6515b60a0b41ec70ebc1f204.zip |
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 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions