drm/amdgpu: use BOs GART instance for mapping addresses v4
authorChristian König <christian.koenig@amd.com>
Mon, 30 Nov 2015 13:19:26 +0000 (14:19 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:17:05 +0000 (14:17 -0500)
commit9ab21462894ddcb5463211cefaab18334fdde244
tree82f9e20226ecbabc757003b1fd197b867b673674
parentb07c9d2a73f4b956ee141005e7dfbada4e51c52c
drm/amdgpu: use BOs GART instance for mapping addresses v4

That allows the VM code to use GART BOs from other driver instances.

v2: don't use copy optimization for foreign GARTs, that won't work.
v3: some more comment cleanups
v4: agd: rebase on upstream

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_vm.c