diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-02-09 05:49:11 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-11 14:21:24 +1000 |
commit | c3ae90c099bb62387507e86da7cf799850444b08 (patch) | |
tree | 4f546a65e35fddea09a97fbfd28ce724ea86f7c2 /drivers/gpu/drm/nouveau/nv50_crtc.c | |
parent | 77c1ff3982c6b36961725dd19e872a1c07df7f3b (diff) |
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 <luca@luca-barbieri.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_crtc.c')
0 files changed, 0 insertions, 0 deletions