diff options
author | 2020-08-04 12:56:28 +1000 | |
---|---|---|
committer | 2020-08-06 13:12:40 +1000 | |
commit | 90a0489a718b87bc0674792f9eafac007e0ea3d6 (patch) | |
tree | a4ae53e808b1b49c329b9d8f7ec1b55223df74db /drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | |
parent | drm/ttm: drop list of memory managers from device. (v2) (diff) | |
download | linux-dev-90a0489a718b87bc0674792f9eafac007e0ea3d6.tar.xz linux-dev-90a0489a718b87bc0674792f9eafac007e0ea3d6.zip |
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
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_thp.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c index 0b9c29249393..4110e8309188 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c @@ -152,7 +152,7 @@ void vmw_thp_fini(struct vmw_private *dev_priv) struct drm_mm *mm = &rman->mm; int ret; - ttm_mem_type_manager_disable(man); + ttm_mem_type_manager_set_used(man, false); ret = ttm_mem_type_manager_force_list_clean(&dev_priv->bdev, man); if (ret) |