drm/ttm: fix memory leak in ttm_bo_mem_space
Subsystems (3)
PATCH 1/1 drm/ttm: fix memory leak in ttm_bo_mem_space
Fix accidential removed line in commit 726b7d4170e5 "drm/ttm: return -EBUSY on pipelining with no_gpu_wait".
Signed-off-by Christian König <[email protected]>
--- drivers/gpu/drm/ttm/ttm_bo.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/ttm/ttm_bo.c +1 -0
@@ -1131,6 +1131,7 @@ int ttm_bo_mem_space(struct ttm_buffer_object *bo, goto error; } +return 0 ; }for (i =0 ; i < placement->num_busy_placement; ++i) {
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel