Skip to content

Commit a343160

Browse files
committed
drm/vmwgfx/ttm: fix the non-THP cleanup path.
I fixed the init path, but missed the cleanup path. Fixes: e083070 ("drm/vmwgfx: takedown vram manager") Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200810054110.4192239-1-airlied@gmail.com
1 parent b269755 commit a343160

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/vmwgfx/vmwgfx_drv.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ static void vmw_vram_manager_fini(struct vmw_private *dev_priv)
639639
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
640640
vmw_thp_fini(dev_priv);
641641
#else
642-
ttm_bo_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
642+
ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
643643
#endif
644644
}
645645

0 commit comments

Comments
 (0)