]> Git Repo - linux.git/commitdiff
drm/vmwgfx/ttm: fix the non-THP cleanup path.
authorDave Airlie <[email protected]>
Mon, 10 Aug 2020 05:39:20 +0000 (15:39 +1000)
committerDave Airlie <[email protected]>
Tue, 11 Aug 2020 01:27:25 +0000 (11:27 +1000)
I fixed the init path, but missed the cleanup path.

Fixes: e0830704de7c ("drm/vmwgfx: takedown vram manager")
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

index a68ae0204bf52bdcc567406f417829a911f965e1..2c4858ea89b1c26d829cead74e01f855ff806433 100644 (file)
@@ -639,7 +639,7 @@ static void vmw_vram_manager_fini(struct vmw_private *dev_priv)
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
        vmw_thp_fini(dev_priv);
 #else
-       ttm_bo_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
+       ttm_range_man_fini(&dev_priv->bdev, TTM_PL_VRAM);
 #endif
 }
 
This page took 0.060577 seconds and 4 git commands to generate.