From: Christian König Date: Tue, 5 Jan 2021 17:55:47 +0000 (+0100) Subject: drm/radeon: stop re-init the TTM page pool X-Git-Tag: Ubuntu-5.11.0-11.12~690^2^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e0658f970a7f3d85431c6803b7d5169444fb11b0;p=mirror_ubuntu-hirsute-kernel.git drm/radeon: stop re-init the TTM page pool Drivers are not supposed to init the page pool directly any more. Signed-off-by: Christian König Reviewed-by: Huang Rui Link: https://patchwork.freedesktop.org/patch/412153/ --- diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index d59ef6e92a40..23195d5d4e91 100644 --- a/drivers/gpu/drm/radeon/radeon_ttm.c +++ b/drivers/gpu/drm/radeon/radeon_ttm.c @@ -730,9 +730,6 @@ int radeon_ttm_init(struct radeon_device *rdev) } rdev->mman.initialized = true; - ttm_pool_init(&rdev->mman.bdev.pool, rdev->dev, rdev->need_swiotlb, - dma_addressing_limited(&rdev->pdev->dev)); - r = radeon_ttm_init_vram(rdev); if (r) { DRM_ERROR("Failed initializing VRAM heap.\n");