[PATCH] drm/gem: handlecount isnt really a kref so dont make it one.
Chris Wilson
chris at chris-wilson.co.uk
Wed Sep 29 16:09:14 PDT 2010
On Wed, 29 Sep 2010 13:45:49 +1000, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at 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 at redhat.com>
Speaking as one who was recently confused by the not-a-kref nature of
handlecount:-
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
--
Chris Wilson, Intel Open Source Technology Centre
More information about the dri-devel
mailing list