]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff08b77a494bb68f2e8cfb74bf117e78a2fa182b
treec3b7322972b83903ee58929a100cb0da899d2cb9
parent249d16dd0deb024b04cfc1b75fdfd55c358eb9ee
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