mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/ttm: drop type manager has_type
under driver control, this flag isn't needed anymore, remove the API that used to access it, and consoldiate with the used api. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-56-airlied@gmail.com
This commit is contained in:
@@ -146,7 +146,7 @@ void amdgpu_gtt_mgr_fini(struct amdgpu_device *adev)
|
||||
struct amdgpu_gtt_mgr *mgr = to_gtt_mgr(man);
|
||||
int ret;
|
||||
|
||||
ttm_mem_type_manager_disable(man);
|
||||
ttm_mem_type_manager_set_used(man, false);
|
||||
|
||||
ret = ttm_mem_type_manager_force_list_clean(&adev->mman.bdev, man);
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user