drm/ttm: flip over the range manager to self allocated nodes
[linux-2.6-microblaze.git] / include / drm / ttm / ttm_resource.h
index c17c1a5..803e487 100644 (file)
@@ -223,6 +223,9 @@ ttm_resource_manager_cleanup(struct ttm_resource_manager *man)
        man->move = NULL;
 }
 
+void ttm_resource_init(struct ttm_buffer_object *bo,
+                       const struct ttm_place *place,
+                       struct ttm_resource *res);
 int ttm_resource_alloc(struct ttm_buffer_object *bo,
                       const struct ttm_place *place,
                       struct ttm_resource **res);