Re: [PATCH] drm/gem: handlecount isnt really a kref so dont make it one.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Sep 2010 13:45:49 +1000, Dave Airlie <airlied@xxxxxxxxx> wrote:
> From: Dave Airlie <airlied@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>

Speaking as one who was recently confused by the not-a-kref nature of
handlecount:-
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux