drm/amd/amdgpu: add support for iova_to_phys to replace TTM trace (v5)
authorTom St Denis <tom.stdenis@amd.com>
Mon, 18 Sep 2017 11:28:14 +0000 (07:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:04 +0000 (15:14 -0400)
commit38290b2c456ade70db7cedf489332af5e4263fb0
tree6fa6bf91c990c0ed845646a401948db9f781ca07
parenta40cfa0bef9366ad156717078dae681305099a15
drm/amd/amdgpu: add support for iova_to_phys to replace TTM trace (v5)

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(v2): Add domain to iova debugfs
(v3): Add true read/write methods to access system memory of pages
      mapped to the device
(v4): Move get_domain call out of loop and return on error
(v5): Just use kmap/kunmap
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c