drm/amdgpu: replace iova debugfs file with iomem (v3)
authorTom St Denis <tom.stdenis@amd.com>
Fri, 23 Feb 2018 14:46:23 +0000 (09:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:11:54 +0000 (16:11 -0500)
commitebb043f267511a6e6ba2ee92e0146552432e8db2
treeebc6fce5998699ce67ded595ce58c298ef7658aa
parent65e4b49019029e7effcfc7855af822cd75f28c47
drm/amdgpu: replace iova debugfs file with iomem (v3)

This allows access to pages allocated through the driver with optional
IOMMU mapping.

v2: Fix number of bytes copied and add write method
v3: drop check for kmap return

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