[PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread David Herrmann
Hi On Sat, Jul 27, 2013 at 3:06 PM, Chris Wilson wrote: > On Sat, Jul 27, 2013 at 01:38:42PM +0200, David Herrmann wrote: >> i915 is the last user of the weird search+get_block drm_mm API. Convert it >> to an explicit kmalloc()+insert_node(). This drops the last user of the >> node-cache in drm_

[PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread Chris Wilson
On Sat, Jul 27, 2013 at 03:09:48PM +0200, David Herrmann wrote: > Hi > > On Sat, Jul 27, 2013 at 3:06 PM, Chris Wilson > wrote: > > On Sat, Jul 27, 2013 at 01:38:42PM +0200, David Herrmann wrote: > >> i915 is the last user of the weird search+get_block drm_mm API. Convert it > >> to an explicit

[PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread Chris Wilson
On Sat, Jul 27, 2013 at 01:38:42PM +0200, David Herrmann wrote: > i915 is the last user of the weird search+get_block drm_mm API. Convert it > to an explicit kmalloc()+insert_node(). This drops the last user of the > node-cache in drm_mm. We can remove it now in a follow-up patch. > > v2: > - sim

[PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread David Herrmann
i915 is the last user of the weird search+get_block drm_mm API. Convert it to an explicit kmalloc()+insert_node(). This drops the last user of the node-cache in drm_mm. We can remove it now in a follow-up patch. v2: - simplify error path in i915_setup_compression() Cc: Daniel Vetter Cc: Chris W

Re: [PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread Chris Wilson
On Sat, Jul 27, 2013 at 03:09:48PM +0200, David Herrmann wrote: > Hi > > On Sat, Jul 27, 2013 at 3:06 PM, Chris Wilson > wrote: > > On Sat, Jul 27, 2013 at 01:38:42PM +0200, David Herrmann wrote: > >> i915 is the last user of the weird search+get_block drm_mm API. Convert it > >> to an explicit

Re: [PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread David Herrmann
Hi On Sat, Jul 27, 2013 at 3:06 PM, Chris Wilson wrote: > On Sat, Jul 27, 2013 at 01:38:42PM +0200, David Herrmann wrote: >> i915 is the last user of the weird search+get_block drm_mm API. Convert it >> to an explicit kmalloc()+insert_node(). This drops the last user of the >> node-cache in drm_m

Re: [PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread Chris Wilson
On Sat, Jul 27, 2013 at 01:38:42PM +0200, David Herrmann wrote: > i915 is the last user of the weird search+get_block drm_mm API. Convert it > to an explicit kmalloc()+insert_node(). This drops the last user of the > node-cache in drm_mm. We can remove it now in a follow-up patch. > > v2: > - sim

[PATCH v2 3/4] drm/i915: pre-alloc instead of drm_mm search/get_block

2013-07-27 Thread David Herrmann
i915 is the last user of the weird search+get_block drm_mm API. Convert it to an explicit kmalloc()+insert_node(). This drops the last user of the node-cache in drm_mm. We can remove it now in a follow-up patch. v2: - simplify error path in i915_setup_compression() Cc: Daniel Vetter Cc: Chris W