Commit a3431602 authored by Dave Airlie's avatar Dave Airlie

drm/vmwgfx/ttm: fix the non-THP cleanup path.

I fixed the init path, but missed the cleanup path.

Fixes: e0830704 ("drm/vmwgfx: takedown vram manager")
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200810054110.4192239-1-airlied@gmail.com
parent b2697559
...@@ -639,7 +639,7 @@ static void vmw_vram_manager_fini(struct vmw_private *dev_priv) ...@@ -639,7 +639,7 @@ static void vmw_vram_manager_fini(struct vmw_private *dev_priv)
#ifdef CONFIG_TRANSPARENT_HUGEPAGE #ifdef CONFIG_TRANSPARENT_HUGEPAGE
vmw_thp_fini(dev_priv); vmw_thp_fini(dev_priv);
#else #else
ttm_bo_man_fini(&dev_priv->bdev, TTM_PL_VRAM); ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
#endif #endif
} }
......
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