]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d77cd628b3ddc81fa9e09d334c1f1b0e97c6e9a
treeebc6fce5998699ce67ded595ce58c298ef7658aa
parent29c8bb9a9c72b244d46c8c01236685fcab479179
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