From: Luca Barbieri Date: Tue, 9 Feb 2010 05:49:11 +0000 (+0000) Subject: drm: introduce drm_gem_object_[handle_]unreference_unlocked X-Git-Tag: v2.6.34-rc1~209^2~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3ae90c099bb62387507e86da7cf799850444b08;p=pandora-kernel.git drm: introduce drm_gem_object_[handle_]unreference_unlocked This patch introduces the drm_gem_object_unreference_unlocked and drm_gem_object_handle_unreference_unlocked functions that do not require holding struct_mutex. drm_gem_object_unreference_unlocked calls the new ->gem_free_object_unlocked entry point if available, and otherwise just takes struct_mutex and just calls ->gem_free_object Signed-off-by: Luca Barbieri Signed-off-by: Dave Airlie --- Reading git-diff-tree failed