]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: fallback to dma_alloc_coherent when memory encryption is active
authorChristian König <christian.koenig@amd.com>
Wed, 13 Mar 2019 09:11:19 +0000 (10:11 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 1 Apr 2019 09:43:42 +0000 (11:43 +0200)
commit64e1f830ea5b3516a4256ed1c504a265d7f2a65c
tree4f896326659882e997d76688ef658719b7874f7c
parent088aed8bcab0fd63785144a0fdf53cbb6cee2ea8
drm: fallback to dma_alloc_coherent when memory encryption is active

We can't just map any randome page we get when memory encryption is
active.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.kernel.org/patch/10850833/
drivers/gpu/drm/drm_memory.c