On Wed, 29 Sep 2010 13:45:49 +1000, Dave Airlie airlied@gmail.com wrote:
From: Dave Airlie airlied@redhat.com
There were lots of places being inconsistent since handle count looked like a kref but it really wasn't.
Fix this my just making handle count an atomic on the object, and have it increase the normal object kref.
Now i915/radeon/nouveau drivers can drop the normal reference on userspace object creation.
Signed-off-by: Dave Airlie airlied@redhat.com
Speaking as one who was recently confused by the not-a-kref nature of handlecount:- Reviewed-by: Chris Wilson chris@chris-wilson.co.uk