]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: drm/amdgpu: Handle IOMMU enabled case
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 24 Aug 2021 20:15:48 +0000 (16:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Sep 2021 20:55:11 +0000 (16:55 -0400)
commit18ba62ec41fa55682738fbc3dd4657b1eff8a369
tree94c332e8963358e52098870efc17b48a568c66be
parent8717afdee42e9cf7398e0e6df9d52d17797c452d
drm/amdgpu: drm/amdgpu: Handle IOMMU enabled case

Handle all DMA IOMMU group related dependencies before the
group is removed and we try to access it after free.

v2:
Move the actul handling function to TTM

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c