]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Partial revert of iova debugfs
authorTom St Denis <tom.stdenis@amd.com>
Tue, 19 Sep 2017 15:29:04 +0000 (11:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:15 +0000 (15:14 -0400)
commit2e186ce09a69da2f96d85567aff886d85a83d898
treede5d4777f67f6db74315f686c44134fb73faf054
parentc6bcafde6aa0aac90f763f0bcd513056246bbcff
drm/amd/amdgpu: Partial revert of iova debugfs

We discovered that on some devices even with iommu enabled
you can access all of system memory through the iommu translation.

Therefore, we revert the read method to the translation only service
and drop the write method completely.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christan König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c