]> 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)
commit33532cb0a2a30b2d3df9bd6941458219448c6b62
treede5d4777f67f6db74315f686c44134fb73faf054
parent37fc4406ddc6287d9919a54c73e06cc49b07e73c
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