linux/drivers/gpu/drm/ttm
Andrey Grodzovsky c97f082c13 drm/ttm: Clear all DMA mappings on demand
Used by drivers supporting hot unplug to handle all
DMA IOMMU group related dependencies before the group
is removed during device removal and we try to access
it after free when last device pointer from user space
is dropped.

v3:
Switch to ttm_bo_get_unless_zerom
Iterate bdev for pinned list
Switch to ttm_tt_unpopulate

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210827203910.5565-3-andrey.grodzovsky@amd.com
2021-09-01 09:15:01 -04:00
..
Makefile drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_agp_backend.c drm/ttm: cleanup ttm_agp_backend 2021-05-03 12:50:41 +02:00
ttm_bo.c drm/ttm: Create pinned list 2021-08-30 15:50:18 -04:00
ttm_bo_util.c drm/ttm: add missing NULL checks 2021-07-21 13:00:40 +02:00
ttm_bo_vm.c drm/ttm: nuke VM_MIXEDMAP on BO mappings v3 2021-06-08 11:47:51 +02:00
ttm_device.c drm/ttm: Clear all DMA mappings on demand 2021-09-01 09:15:01 -04:00
ttm_execbuf_util.c
ttm_module.c drm/ttm: Add a generic TTM memcpy move for page-based iomem 2021-06-07 16:07:08 +02:00
ttm_module.h drm/ttm: add ttm_sys_manager v3 2021-05-03 12:50:41 +02:00
ttm_pool.c drm/ttm: optimize the pool shrinker a bit v2 2021-08-27 09:55:39 +02:00
ttm_range_manager.c drm/ttm: add a check against null pointer dereference 2021-07-14 17:16:16 +02:00
ttm_resource.c drm/ttm: Add a generic TTM memcpy move for page-based iomem 2021-06-07 16:07:08 +02:00
ttm_sys_manager.c drm/ttm: flip the switch for driver allocated resources v2 2021-06-04 15:16:46 +02:00
ttm_tt.c drm/ttm: remove ttm_tt_destroy_common v2 2021-08-23 13:54:55 +02:00