linux/drivers/gpu/drm/ttm
Lin Yi 543c364d8e drm/ttm: fix dma_fence refcount imbalance on error path
the ttm_bo_add_move_fence takes a reference to the struct dma_fence, but
failed to release it on the error path, leading to a memory leak.
add dma_fence_put before return when error occur.

Signed-off-by: Lin Yi <teroincn@163.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-04-11 10:02:21 -05:00
..
Makefile drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver 2018-09-27 15:19:20 +02:00
ttm_agp_backend.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_manager.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_bo_util.c drm/ttm: fix LRU handling in ttm_buffer_object_transfer 2018-11-30 12:00:57 -05:00
ttm_bo_vm.c drm/ttm: stop always moving BOs on the LRU on page fault 2019-01-25 16:15:34 -05:00
ttm_bo.c drm/ttm: fix dma_fence refcount imbalance on error path 2019-04-11 10:02:21 -05:00
ttm_execbuf_util.c drm/ttm: allow reserving more than one shared slot v3 2018-12-07 17:53:44 -05:00
ttm_memory.c drm/ttm: Fix bo_global and mem_global kfree error 2018-11-07 17:05:55 -05:00
ttm_module.c Add SPDX idenitifier and clarify license 2018-05-15 13:44:27 -05:00
ttm_page_alloc_dma.c drm/ttm: remove dead codes 2018-08-27 11:11:02 -05:00
ttm_page_alloc.c drm/ttm: fix incrementing the page pointer for huge pages 2019-04-11 10:01:51 -05:00
ttm_tt.c drm/ttm: clean up non-x86 definitions on ttm_tt 2018-08-01 17:23:56 -05:00