From: Thomas Zimmermann Date: Thu, 14 Jan 2021 08:05:35 +0000 (+0100) Subject: drm: Include in drm_cache.c X-Git-Tag: v5.12-rc1~132^2~14^2~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=681045819636792158a93c556cab283311b17cc2;p=thirdparty%2Fkernel%2Flinux.git drm: Include in drm_cache.c The function drm_need_swiotbl() needs mem_encrypt_active() from . The include got lost when refactoring the code recently. Signed-off-by: Thomas Zimmermann Fixes: 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c") Reviewed-by: Christian König Reported-by: kernel test robot Cc: Thomas Zimmermann Cc: Christian König Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Link: https://patchwork.freedesktop.org/patch/msgid/20210114080535.17132-1-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c index 49551a7fa22f1..79a50ef1250fd 100644 --- a/drivers/gpu/drm/drm_cache.c +++ b/drivers/gpu/drm/drm_cache.c @@ -30,6 +30,7 @@ #include #include +#include #include #include