diff options
author | Dave Airlie <airlied@redhat.com> | 2020-10-19 17:13:12 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-10-20 05:04:04 +1000 |
commit | a07e32bda0265b62ed0f85fbdfcd316c1dfc98ca (patch) | |
tree | 14dcc2a42a57ff1b1c45b1984af9246f161aeed8 /drivers/gpu/drm/ttm/ttm_bo_util.c | |
parent | b8b99c7ddccea56b0ac589e5abf8274fe4118d4a (diff) |
drm/ttm: use new move interface for known system->ttm moves
In all 3 drivers there is a case where the driver knows the
bo is in SYSTEM so don't call the api that checks that.
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-4-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo_util.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_bo_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index 4a461226b6ba..7ea0482c1aee 100644 --- a/drivers/gpu/drm/ttm/ttm_bo_util.c +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c @@ -64,6 +64,7 @@ int ttm_bo_move_to_new_tt_mem(struct ttm_buffer_object *bo, return 0; } +EXPORT_SYMBOL(ttm_bo_move_to_new_tt_mem); static int ttm_bo_move_to_system(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx) |