]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Include <linux/mem_encrypt.h> in drm_cache.c
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 14 Jan 2021 08:05:35 +0000 (09:05 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 14 Jan 2021 08:42:31 +0000 (09:42 +0100)
commit62995a0871be8e1d7dc28691c9a32ba3aa25b14e
tree082331be1ba8f53533931478481b68231f9514c2
parent162462ef91e1147b841c1c5b5d0b421863f395fd
drm: Include <linux/mem_encrypt.h> in drm_cache.c

The function drm_need_swiotbl() needs mem_encrypt_active() from
<linux/mem_encrypt.h>. The include got lost when refactoring the
code recently.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 7b0860368876 ("drm: Implement drm_need_swiotlb() in drm_cache.c")
Reviewed-by: Christian König <christian.koenig@amd.com>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Christian König <christian.koenig@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20210114080535.17132-1-tzimmermann@suse.de
drivers/gpu/drm/drm_cache.c