diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-02-09 06:49:11 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-11 05:21:24 +0100 |
commit | c3ae90c099bb62387507e86da7cf799850444b08 (patch) | |
tree | 4f546a65e35fddea09a97fbfd28ce724ea86f7c2 /drivers/gpu/drm/radeon/radeon_cs.c | |
parent | vgaarb: fix incorrect dereference of userspace pointer. (diff) | |
download | linux-c3ae90c099bb62387507e86da7cf799850444b08.tar.xz linux-c3ae90c099bb62387507e86da7cf799850444b08.zip |
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/radeon/radeon_cs.c')
0 files changed, 0 insertions, 0 deletions