aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/ttm/ttm_resource.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2020-10-01 15:21:00 +0200
committerChristian König <christian.koenig@amd.com>2020-10-07 13:53:08 +0200
commit4ce032d64c2a30cf5b23c57b3328d5d2dab99a1f (patch)
treee973d4b533263673137af755ece8b0fbf44be1ed /include/drm/ttm/ttm_resource.h
parentdrm/ttm: cleanup ttm_handle_caching_state_failure (diff)
downloadwireguard-linux-4ce032d64c2a30cf5b23c57b3328d5d2dab99a1f.tar.xz
wireguard-linux-4ce032d64c2a30cf5b23c57b3328d5d2dab99a1f.zip
drm/ttm: nuke ttm_bo_evict_mm and rename mgr function v3
Make it more clear what the resource manager function does and nuke the wrapper function. v2: nuke the wrapper v3: fix typo in radeon, rebased Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> (v2) Link: https://patchwork.freedesktop.org/patch/393914/
Diffstat (limited to 'include/drm/ttm/ttm_resource.h')
-rw-r--r--include/drm/ttm/ttm_resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_resource.h b/include/drm/ttm/ttm_resource.h
index 0e172d94a0c1..1b2f56163c6c 100644
--- a/include/drm/ttm/ttm_resource.h
+++ b/include/drm/ttm/ttm_resource.h
@@ -228,8 +228,8 @@ void ttm_resource_free(struct ttm_buffer_object *bo, struct ttm_resource *res);
void ttm_resource_manager_init(struct ttm_resource_manager *man,
unsigned long p_size);
-int ttm_resource_manager_force_list_clean(struct ttm_bo_device *bdev,
- struct ttm_resource_manager *man);
+int ttm_resource_manager_evict_all(struct ttm_bo_device *bdev,
+ struct ttm_resource_manager *man);
void ttm_resource_manager_debug(struct ttm_resource_manager *man,
struct drm_printer *p);