[PATCH 4/9] drm: pre allocate node for create_block

2013-07-05 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

[PATCH 4/9] drm: pre allocate node for create_block

2013-07-05 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

[PATCH 4/9] drm: pre allocate node for create_block

2013-07-05 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(),

[PATCH 4/9] drm: pre allocate node for create_block

2013-07-05 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(),