drm: Include <linux/mem_encrypt.h> in drm_cache.c
Subsystems (2)
Thomas Zimmermann
maintainerPATCH 1/1 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.
--- drivers/gpu/drm/drm_cache.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_cache.c +1 -0
@@ -30,6 +30,7 @@#include <linux/export.h> #include <linux/highmem.h> +#include <linux/mem_encrypt.h> #include <xen/xen.h> #include <drm/drm_cache.h>
Signature · 6 lines
2.29.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 14.01.21 um 09:05 schrieb Thomas Zimmermann:
Quoted 4 lines
The function
drm_need_swiotbl()needsmem_encrypt_active()from <linux/mem_encrypt.h>. The include got lost when refactoring the code recently.
Quoted 11 lines
Signed-off-by Thomas Zimmermann <[email protected]>Fixes 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c")Reported-by kernel test robot <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc Christian König <[email protected]>Cc Daniel Vetter <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>
You are typing faster than me :)
Quoted 9 lines
--- drivers/gpu/drm/drm_cache.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/drm_cache.c +0
-0
drivers/gpu/drm/drm_cache.c line 36
Quoted 7 lines
drivers/gpu/drm/drm_cache.c +1
-0@@ -30,6 +30,7 @@#include <linux/export.h> #include <linux/highmem.h> +#include <linux/mem_encrypt.h> #include <xen/xen.h> #include <drm/drm_cache.h>
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi
Am 14.01.21 um 09:23 schrieb Christian König:
Quoted 17 lines
Am 14.01.21 um 09:05 schrieb Thomas Zimmermann:
Quoted 4 lines
The function
drm_need_swiotbl()needsmem_encrypt_active()from <linux/mem_encrypt.h>. The include got lost when refactoring the code recently.Quoted 11 lines
Signed-off-by Thomas Zimmermann <[email protected]>Fixes 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c")Reported-by kernel test robot <[email protected]>Cc Thomas Zimmermann <[email protected]>Cc Christian König <[email protected]>Cc Daniel Vetter <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>
Quoted 3 lines
You are typing faster than me :)
Reviewed-by Christian König <[email protected]>
Pushed to -misc-next. Thanks for the fast reply.
Best regards
Thomas
Quoted 20 lines
Quoted 10 lines
---
drivers/gpu/drm/drm_cache.c| 1 +1 file changed, 1 insertion(+)drivers/gpu/drm/drm_cache.c +0
-0drivers/gpu/drm/drm_cache.c line 34
Quoted 5 lines
drivers/gpu/drm/drm_cache.c +1
-0@@ -30,6 +30,7 @@ #include <linux/export.h> #include <linux/highmem.h> +#include <linux/mem_encrypt.h> #include <xen/xen.h> #include <drm/drm_cache.h>_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel