Skip to content
Commit 4c08f019 authored by Zack Rusin's avatar Zack Rusin
Browse files

drm/vmwgfx: Enable DMA mappings with SEV



Enable DMA mappings in vmwgfx after TTM has been fixed in commit
3bf3710e ("drm/ttm: Add a generic TTM memcpy move for page-based iomem")

This enables full guest-backed memory support and in particular allows
usage of screen targets as the presentation mechanism.

Signed-off-by: default avatarZack Rusin <zack.rusin@broadcom.com>
Reported-by: default avatarYe Li <ye.li@broadcom.com>
Tested-by: default avatarYe Li <ye.li@broadcom.com>
Fixes: 3b0d6458 ("drm/vmwgfx: Refuse DMA operation when SEV encryption is active")
Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v6.6+
Reviewed-by: default avatarMartin Krastev <martin.krastev@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240408022802.358641-1-zack.rusin@broadcom.com
parent 3eadd887
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment