Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e96a135 authored by Monk Liu's avatar Monk Liu Committed by Alex Deucher
Browse files

drm/ttm: fix missing inc bo_count

parent b249e18d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -469,6 +469,7 @@ static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo,
	 * TODO: Explicit member copy would probably be better here.
	 */

	atomic_inc(&bo->glob->bo_count);
	INIT_LIST_HEAD(&fbo->ddestroy);
	INIT_LIST_HEAD(&fbo->lru);
	INIT_LIST_HEAD(&fbo->swap);