[PATCH 06/25] drm/tegra: Use drm_gem_object_reference_unlocked

2015-10-21 Thread Thierry Reding
On Thu, Oct 15, 2015 at 09:36:22AM +0200, Daniel Vetter wrote: > This only grabs the mutex when really needed, but still has a > might-acquire lockdep check to make sure that's always possible. > With this patch tegra is officially struct_mutex free, yay! > > Cc: Thierry Reding > Signed-off-by: D

[PATCH 06/25] drm/tegra: Use drm_gem_object_reference_unlocked

2015-10-15 Thread Daniel Vetter
This only grabs the mutex when really needed, but still has a might-acquire lockdep check to make sure that's always possible. With this patch tegra is officially struct_mutex free, yay! Cc: Thierry Reding Signed-off-by: Daniel Vetter --- drivers/gpu/drm/tegra/drm.c | 4 +--- drivers/gpu/drm/te