[PATCH] drm: gem objects do not have a handle upon creation

2010-09-06 Thread Chris Wilson
On Sun, 5 Sep 2010 23:54:32 +0100, Chris Wilson wrote: > kref_init(handlecount) initialises the number of handles to 1 upon > creation when it should remain 0 until the first allocation. All the > drivers were working around this by deleting the extra count when they > created the first handle f

Re: [PATCH] drm: gem objects do not have a handle upon creation

2010-09-06 Thread Chris Wilson
On Sun, 5 Sep 2010 23:54:32 +0100, Chris Wilson wrote: > kref_init(handlecount) initialises the number of handles to 1 upon > creation when it should remain 0 until the first allocation. All the > drivers were working around this by deleting the extra count when they > created the first handle f

[PATCH] drm: gem objects do not have a handle upon creation

2010-09-05 Thread Chris Wilson
kref_init(handlecount) initialises the number of handles to 1 upon creation when it should remain 0 until the first allocation. All the drivers were working around this by deleting the extra count when they created the first handle for the object in spite of the documentation saying that it was une

[PATCH] drm: gem objects do not have a handle upon creation

2010-09-05 Thread Chris Wilson
kref_init(handlecount) initialises the number of handles to 1 upon creation when it should remain 0 until the first allocation. All the drivers were working around this by deleting the extra count when they created the first handle for the object in spite of the documentation saying that it was une