projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058b5e3
)
drm/radeon/ttm: use new takedown paths
author
Dave Airlie
<airlied@redhat.com>
Tue, 4 Aug 2020 02:56:04 +0000
(12:56 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 6 Aug 2020 02:32:03 +0000
(12:32 +1000)
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-32-airlied@gmail.com
drivers/gpu/drm/radeon/radeon_ttm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_ttm.c
b/drivers/gpu/drm/radeon/radeon_ttm.c
index 40959cea4476b7c16f49c716bf10a10db07f8270..18e6dca9b77eb24fb65da7d49857f302d884ed9a 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_ttm.c
+++ b/
drivers/gpu/drm/radeon/radeon_ttm.c
@@
-827,8
+827,8
@@
void radeon_ttm_fini(struct radeon_device *rdev)
}
radeon_bo_unref(&rdev->stolen_vga_memory);
}
- ttm_
bo_clean_mm(&rdev->mman.bdev, 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_VRAM]
);
+ ttm_
range_man_fini(&rdev->mman.bdev, &rdev->mman.bdev.man[TTM_PL_TT]
);
ttm_bo_device_release(&rdev->mman.bdev);
radeon_gart_fini(rdev);
rdev->mman.initialized = false;