diff options
author | Christian König <christian.koenig@amd.com> | 2020-10-01 16:21:00 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-10-07 14:53:08 +0300 |
commit | 4ce032d64c2a30cf5b23c57b3328d5d2dab99a1f (patch) | |
tree | e973d4b533263673137af755ece8b0fbf44be1ed /drivers/gpu/drm/ttm/ttm_range_manager.c | |
parent | 3b53d304856b85ee2357264dfd39730b9c1674f5 (diff) | |
download | linux-4ce032d64c2a30cf5b23c57b3328d5d2dab99a1f.tar.xz |
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 'drivers/gpu/drm/ttm/ttm_range_manager.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_range_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_range_manager.c b/drivers/gpu/drm/ttm/ttm_range_manager.c index 1da0e277c511..ea77919569a2 100644 --- a/drivers/gpu/drm/ttm/ttm_range_manager.c +++ b/drivers/gpu/drm/ttm/ttm_range_manager.c @@ -149,7 +149,7 @@ int ttm_range_man_fini(struct ttm_bo_device *bdev, ttm_resource_manager_set_used(man, false); - ret = ttm_resource_manager_force_list_clean(bdev, man); + ret = ttm_resource_manager_evict_all(bdev, man); if (ret) return ret; |