[PATCH 3/3] drm: Use a normal idr allocation for the obj->name

2016-01-05 Thread Daniel Vetter
On Mon, Jan 04, 2016 at 05:31:14PM +0200, Ville Syrjälä wrote: > On Mon, Jan 04, 2016 at 10:11:01AM +, Chris Wilson wrote: > > Unlike the handle, the name table uses a sleeping mutex rather than a > > spinlock. The allocation is in a normal context, and we can use the > > simpler sleeping gfp

[PATCH 3/3] drm: Use a normal idr allocation for the obj->name

2016-01-04 Thread Ville Syrjälä
On Mon, Jan 04, 2016 at 10:11:01AM +, Chris Wilson wrote: > Unlike the handle, the name table uses a sleeping mutex rather than a > spinlock. The allocation is in a normal context, and we can use the > simpler sleeping gfp_t, rather than have to take from the atomic > reserves. > > Signed-off-

[PATCH 3/3] drm: Use a normal idr allocation for the obj->name

2016-01-04 Thread Chris Wilson
Unlike the handle, the name table uses a sleeping mutex rather than a spinlock. The allocation is in a normal context, and we can use the simpler sleeping gfp_t, rather than have to take from the atomic reserves. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_gem.c | 4 +--- 1 file changed,