Re: [Intel-gfx] [PATCH 29/66] drm: pre allocate node for create_block

2013-07-01 Thread Ben Widawsky
On Sun, Jun 30, 2013 at 02:34:43PM +0200, Daniel Vetter wrote: > On Thu, Jun 27, 2013 at 04:30:30PM -0700, Ben Widawsky wrote: > > For an upcoming patch where we introduce the i915 VMA, it's ideal to > > have the drm_mm_node as part of the VMA struct (ie. it's pre-allocated). > > Part of the conver

Re: [Intel-gfx] [PATCH 29/66] drm: pre allocate node for create_block

2013-06-30 Thread Daniel Vetter
On Thu, Jun 27, 2013 at 04:30:30PM -0700, Ben Widawsky wrote: > For an upcoming patch where we introduce the i915 VMA, it's ideal to > have the drm_mm_node as part of the VMA struct (ie. it's pre-allocated). > Part of the conversion to VMAs is to kill off obj->gtt_space. Doing this > will break a b

[Intel-gfx] [PATCH 29/66] drm: pre allocate node for create_block

2013-06-27 Thread Ben Widawsky
For an upcoming patch where we introduce the i915 VMA, it's ideal to have the drm_mm_node as part of the VMA struct (ie. it's pre-allocated). Part of the conversion to VMAs is to kill off obj->gtt_space. Doing this will break a bunch of code, but amongst them are 2 callers of drm_mm_create_block(),