Commit 06feb5df authored by Dave Airlie's avatar Dave Airlie
parent f0fe3f7b
...@@ -267,8 +267,8 @@ int qxl_ttm_init(struct qxl_device *qdev) ...@@ -267,8 +267,8 @@ int qxl_ttm_init(struct qxl_device *qdev)
void qxl_ttm_fini(struct qxl_device *qdev) void qxl_ttm_fini(struct qxl_device *qdev)
{ {
ttm_bo_clean_mm(&qdev->mman.bdev, TTM_PL_VRAM); ttm_range_man_fini(&qdev->mman.bdev, &qdev->mman.bdev.man[TTM_PL_VRAM]);
ttm_bo_clean_mm(&qdev->mman.bdev, TTM_PL_PRIV); ttm_range_man_fini(&qdev->mman.bdev, &qdev->mman.bdev.man[TTM_PL_PRIV]);
ttm_bo_device_release(&qdev->mman.bdev); ttm_bo_device_release(&qdev->mman.bdev);
DRM_INFO("qxl: ttm finalized\n"); DRM_INFO("qxl: ttm finalized\n");
} }
......
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