Commit f0fe3f7b authored by Dave Airlie's avatar Dave Airlie
parent 058b5e34
...@@ -827,8 +827,8 @@ void radeon_ttm_fini(struct radeon_device *rdev) ...@@ -827,8 +827,8 @@ void radeon_ttm_fini(struct radeon_device *rdev)
} }
radeon_bo_unref(&rdev->stolen_vga_memory); radeon_bo_unref(&rdev->stolen_vga_memory);
} }
ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_VRAM); ttm_range_man_fini(&rdev->mman.bdev, &rdev->mman.bdev.man[TTM_PL_VRAM]);
ttm_bo_clean_mm(&rdev->mman.bdev, TTM_PL_TT); ttm_range_man_fini(&rdev->mman.bdev, &rdev->mman.bdev.man[TTM_PL_TT]);
ttm_bo_device_release(&rdev->mman.bdev); ttm_bo_device_release(&rdev->mman.bdev);
radeon_gart_fini(rdev); radeon_gart_fini(rdev);
rdev->mman.initialized = false; rdev->mman.initialized = false;
......
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