]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Use drm_gem_object_[handle_]unreference_unlocked where possible
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 9 Feb 2010 05:49:12 +0000 (05:49 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 11 Feb 2010 04:22:34 +0000 (14:22 +1000)
commitbc9025bdc4e2b591734cca17697093845007b63d
treea115cc34ee9650d94df7eb9d166ba98eb9d674a7
parentc3ae90c099bb62387507e86da7cf799850444b08
Use drm_gem_object_[handle_]unreference_unlocked where possible

Mostly obvious simplifications.

The i915 pread/pwrite ioctls, intel_overlay_put_image and
nouveau_gem_new were incorrectly using the locked versions
without locking: this is also fixed in this patch.

Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
15 files changed:
drivers/gpu/drm/drm_gem.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_overlay.c
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/nouveau/nouveau_notifier.c
drivers/gpu/drm/nouveau/nv04_crtc.c
drivers/gpu/drm/nouveau/nv50_crtc.c
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_cursor.c
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_gem.c