]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fail to load on RAVEN if SME is active
authorAlex Deucher <alexander.deucher@amd.com>
Sun, 6 Sep 2020 16:05:12 +0000 (12:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:43 +0000 (17:52 -0400)
commit74918c858fd6c2978f272648961351c5397d0995
tree68905dd0edc7b377d52a8f03ccfd800c31207578
parent3be7e310a9bc3f196f805d1365854a014eddaf52
drm/amdgpu: Fail to load on RAVEN if SME is active

Due to hardware bugs, scatter/gather display on raven requires
a 1:1 IOMMU mapping, however, SME (System Memory Encryption)
requires an indirect IOMMU mapping because the encryption bit
is beyond the DMA mask of the chip.  As such, the two are
incompatible.

Acked-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c