Commit ea7d8c67 authored by Christian König's avatar Christian König

drm/ttm: stop exporting ttm_mem_io_* functions

Those are not supposed to be used by drivers.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/333290/
parent 51ea742c
...@@ -102,7 +102,6 @@ int ttm_mem_io_lock(struct ttm_mem_type_manager *man, bool interruptible) ...@@ -102,7 +102,6 @@ int ttm_mem_io_lock(struct ttm_mem_type_manager *man, bool interruptible)
mutex_lock(&man->io_reserve_mutex); mutex_lock(&man->io_reserve_mutex);
return 0; return 0;
} }
EXPORT_SYMBOL(ttm_mem_io_lock);
void ttm_mem_io_unlock(struct ttm_mem_type_manager *man) void ttm_mem_io_unlock(struct ttm_mem_type_manager *man)
{ {
...@@ -111,7 +110,6 @@ void ttm_mem_io_unlock(struct ttm_mem_type_manager *man) ...@@ -111,7 +110,6 @@ void ttm_mem_io_unlock(struct ttm_mem_type_manager *man)
mutex_unlock(&man->io_reserve_mutex); mutex_unlock(&man->io_reserve_mutex);
} }
EXPORT_SYMBOL(ttm_mem_io_unlock);
static int ttm_mem_io_evict(struct ttm_mem_type_manager *man) static int ttm_mem_io_evict(struct ttm_mem_type_manager *man)
{ {
...@@ -153,7 +151,6 @@ int ttm_mem_io_reserve(struct ttm_bo_device *bdev, ...@@ -153,7 +151,6 @@ int ttm_mem_io_reserve(struct ttm_bo_device *bdev,
} }
return ret; return ret;
} }
EXPORT_SYMBOL(ttm_mem_io_reserve);
void ttm_mem_io_free(struct ttm_bo_device *bdev, void ttm_mem_io_free(struct ttm_bo_device *bdev,
struct ttm_mem_reg *mem) struct ttm_mem_reg *mem)
...@@ -169,7 +166,6 @@ void ttm_mem_io_free(struct ttm_bo_device *bdev, ...@@ -169,7 +166,6 @@ void ttm_mem_io_free(struct ttm_bo_device *bdev,
bdev->driver->io_mem_free(bdev, mem); bdev->driver->io_mem_free(bdev, mem);
} }
EXPORT_SYMBOL(ttm_mem_io_free);
int ttm_mem_io_reserve_vm(struct ttm_buffer_object *bo) int ttm_mem_io_reserve_vm(struct ttm_buffer_object *bo)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment