aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>2021-08-27 16:39:08 -0400
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>2021-09-01 09:15:01 -0400
commitc97f082c135210da06a82c373fb660f8bfd57d95 (patch)
tree4883749fa9c348a8fe02a47d414ad77d7660a7a0 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentc302c98da646409d657a473da202f10f417f3ff1 (diff)
downloadlinux-c97f082c135210da06a82c373fb660f8bfd57d95.tar.gz
linux-c97f082c135210da06a82c373fb660f8bfd57d95.tar.bz2
linux-c97f082c135210da06a82c373fb660f8bfd57d95.zip
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions