summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-10-19 17:13:13 +1000
committerDave Airlie <airlied@redhat.com>2020-10-20 05:04:04 +1000
commitc37d951cb42aa340513c0bc2df10b7324fa0d856 (patch)
tree83d533b60aed4bde40bbaf2171e3cb06e7fcc8dc /include/drm/ttm
parenta07e32bda0265b62ed0f85fbdfcd316c1dfc98ca (diff)
downloadlinux-c37d951cb42aa340513c0bc2df10b7324fa0d856.tar.gz
linux-c37d951cb42aa340513c0bc2df10b7324fa0d856.tar.bz2
linux-c37d951cb42aa340513c0bc2df10b7324fa0d856.zip
drm/ttm: add move old to system to drivers.
Uninline ttm_bo_move_ttm. Eventually want to unhook the unbind out. Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201019071314.1671485-5-airlied@gmail.com
Diffstat (limited to 'include/drm/ttm')
-rw-r--r--include/drm/ttm/ttm_bo_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 1f4d2b1febd0..9e60e6814ba1 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -596,6 +596,8 @@ int ttm_bo_move_ttm(struct ttm_buffer_object *bo,
int ttm_bo_move_to_new_tt_mem(struct ttm_buffer_object *bo,
struct ttm_operation_ctx *ctx,
struct ttm_resource *new_mem);
+int ttm_bo_move_to_system(struct ttm_buffer_object *bo,
+ struct ttm_operation_ctx *ctx);
/**
* ttm_bo_move_memcpy