|
@@ -469,6 +469,7 @@ static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo,
|
|
* TODO: Explicit member copy would probably be better here.
|
|
* TODO: Explicit member copy would probably be better here.
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+ atomic_inc(&bo->glob->bo_count);
|
|
INIT_LIST_HEAD(&fbo->ddestroy);
|
|
INIT_LIST_HEAD(&fbo->ddestroy);
|
|
INIT_LIST_HEAD(&fbo->lru);
|
|
INIT_LIST_HEAD(&fbo->lru);
|
|
INIT_LIST_HEAD(&fbo->swap);
|
|
INIT_LIST_HEAD(&fbo->swap);
|