drm/amdgpu: add full TMZ support into amdgpu_ttm_map_buffer v2
authorChristian König <christian.koenig@amd.com>
Thu, 19 Mar 2020 12:57:40 +0000 (13:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:30 +0000 (16:20 -0400)
commit9504578314a70e6d96ee812dc93b5b5c9514b988
treec3b7322972b83903ee58929a100cb0da899d2cb9
parentf0ee63cbc5264dbbdb994e87504b0b033149da55
drm/amdgpu: add full TMZ support into amdgpu_ttm_map_buffer v2

This should allow us to also support VRAM->GTT moves.

v2: fix missing vram_base_adjustment

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Tested-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c