driver will use it to check if the bo is transferred bo. Change-Id: I6a4f3bc00621f9cb3fc24b3bc9d7d7a8ac6cd629 Signed-off-by: Chunming Zhou <david1.zhou@xxxxxxx> --- drivers/gpu/drm/ttm/ttm_bo_util.c | 3 ++- include/drm/ttm/ttm_bo_driver.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index f3bf545a79cf..1dda99b4724a 100644 --- a/drivers/gpu/drm/ttm/ttm_bo_util.c +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c @@ -457,7 +457,7 @@ int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, } EXPORT_SYMBOL(ttm_bo_move_memcpy); -static void ttm_transfered_destroy(struct ttm_buffer_object *bo) +void ttm_transfered_destroy(struct ttm_buffer_object *bo) { struct ttm_transfer_obj *fbo; @@ -465,6 +465,7 @@ static void ttm_transfered_destroy(struct ttm_buffer_object *bo) ttm_bo_unref(&fbo->bo); kfree(fbo); } +EXPORT_SYMBOL(ttm_transfered_destroy); /** * ttm_buffer_object_transfer diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h index 6847d4258db1..32cc054dfa99 100644 --- a/include/drm/ttm/ttm_bo_driver.h +++ b/include/drm/ttm/ttm_bo_driver.h @@ -855,6 +855,7 @@ int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx, struct ttm_mem_reg *new_mem); +void ttm_transfered_destroy(struct ttm_buffer_object *bo); /** * ttm_bo_free_old_node * -- 2.14.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel