commit | 202f2fef7a1aa6b2e4fa6e1de3ef582342fd41f0 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Oct 14 13:20:40 2010 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Oct 19 09:19:28 2010 +0100 |
tree | 4094308fc3d12f51920e1889ff0160d78095f0d7 | |
parent | f0c43d9b7ec1bb9827b3dd5ac5915d22ceed8f6a [diff] |
drm/i915: Avoid taking the mutex for dropping the refcnt upon creation After allocation a handle for the fresh object, we know that we can safely drop the refcnt without triggering a free so we do not need the mutex. Strangely, this mutex acquisition is the one that appears on driver profiles. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>