drm/amdgpu: add amdgpu_gart_map function v2
authorChristian König <christian.koenig@amd.com>
Thu, 29 Jun 2017 15:24:26 +0000 (17:24 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:06:20 +0000 (11:06 -0400)
commit0c2c421e2657da6eece66bd22eaaedf21dcebef7
tree59557f5bf5f01c107fb6aaf2afc24558d207a7b4
parentcc25188afdb886044785be4c29f3993c3a3b2b92
drm/amdgpu: add amdgpu_gart_map function v2

This allows us to write the mapped PTEs into
an IB instead of the table directly.

v2: fix build with debugfs enabled, remove unused assignment

Signed-off-by: Christian König <christian.koenig@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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c