summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_bo.c3
-rw-r--r--linux-core/drm_objects.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index ec63fa2a..e3ee497a 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -132,7 +132,7 @@ static void drm_bo_vm_post_move(struct drm_buffer_object *bo)
* Call bo->mutex locked.
*/
-static int drm_bo_add_ttm(struct drm_buffer_object *bo)
+int drm_bo_add_ttm(struct drm_buffer_object *bo)
{
struct drm_device *dev = bo->dev;
int ret = 0;
@@ -174,6 +174,7 @@ static int drm_bo_add_ttm(struct drm_buffer_object *bo)
return ret;
}
+EXPORT_SYMBOL(drm_bo_add_ttm);
static int drm_bo_handle_move_mem(struct drm_buffer_object *bo,
struct drm_bo_mem_reg *mem,
diff --git a/linux-core/drm_objects.h b/linux-core/drm_objects.h
index 3eb8b902..2493a804 100644
--- a/linux-core/drm_objects.h
+++ b/linux-core/drm_objects.h
@@ -801,6 +801,7 @@ extern void drm_bo_takedown_vm_locked(struct drm_buffer_object *bo);
* drm_bo_move.c
*/
+extern int drm_bo_add_ttm(struct drm_buffer_object *bo);
extern int drm_bo_move_ttm(struct drm_buffer_object *bo,
int evict, int no_wait,
struct drm_bo_mem_reg *new_mem);