]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: stop evicting encrypted BOs to swap
authorChristian König <christian.koenig@amd.com>
Mon, 2 Mar 2020 12:00:07 +0000 (13:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:29 +0000 (16:20 -0400)
commit336b8b71fad97b4c63ef086adc7b8bbcfe6408e2
tree094773f599fee3e415f306263e0d3dbe83e0a92b
parent50323a00344bf119e5e843d3fe54e8d7d019ee44
drm/amdgpu: stop evicting encrypted BOs to swap

Swapping out encrypted BOs doesn't work because they can't change
their physical location without going through a bounce copy.

As a workaround disable evicting encrypted BOs to the system
domain for now.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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