]> git.baikalelectronics.ru Git - kernel.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, 29 Sep 2021 21:30:00 +0000 (17:30 -0400)
commit2b6abd58a4b429d367455ebf17bfa667dea2220b
tree7869ed96673123d1c6a78bdc6059538388d7db2e
parente4c90263f13c09d7d7277adce10ecf285674337e
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