All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: Include <linux/mem_encrypt.h> in drm_cache.c
@ 2021-01-14  8:05 Thomas Zimmermann
  2021-01-14  8:23 ` Christian König
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Zimmermann @ 2021-01-14  8:05 UTC (permalink / raw)
  To: daniel, airlied, maarten.lankhorst, mripard
  Cc: Daniel Vetter, Christian König, Thomas Zimmermann, dri-devel,
	kernel test robot

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: 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c")
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
---
 drivers/gpu/drm/drm_cache.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c
index 49551a7fa22f..79a50ef1250f 100644
--- a/drivers/gpu/drm/drm_cache.c
+++ b/drivers/gpu/drm/drm_cache.c
@@ -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>
-- 
2.29.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm: Include <linux/mem_encrypt.h> in drm_cache.c
  2021-01-14  8:05 [PATCH] drm: Include <linux/mem_encrypt.h> in drm_cache.c Thomas Zimmermann
@ 2021-01-14  8:23 ` Christian König
  2021-01-14  8:45   ` Thomas Zimmermann
  0 siblings, 1 reply; 3+ messages in thread
From: Christian König @ 2021-01-14  8:23 UTC (permalink / raw)
  To: Thomas Zimmermann, daniel, airlied, maarten.lankhorst, mripard
  Cc: Daniel Vetter, kernel test robot, dri-devel

Am 14.01.21 um 09:05 schrieb Thomas Zimmermann:
> 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: 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c")
> 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

You are typing faster than me :)

Reviewed-by: Christian König <christian.koenig@amd.com>

> ---
>   drivers/gpu/drm/drm_cache.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c
> index 49551a7fa22f..79a50ef1250f 100644
> --- a/drivers/gpu/drm/drm_cache.c
> +++ b/drivers/gpu/drm/drm_cache.c
> @@ -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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm: Include <linux/mem_encrypt.h> in drm_cache.c
  2021-01-14  8:23 ` Christian König
@ 2021-01-14  8:45   ` Thomas Zimmermann
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Zimmermann @ 2021-01-14  8:45 UTC (permalink / raw)
  To: Christian König, daniel, airlied, maarten.lankhorst, mripard
  Cc: Daniel Vetter, kernel test robot, dri-devel


[-- Attachment #1.1.1: Type: text/plain, Size: 1859 bytes --]

Hi

Am 14.01.21 um 09:23 schrieb Christian König:
> Am 14.01.21 um 09:05 schrieb Thomas Zimmermann:
>> 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: 3abc66706385 ("drm: Implement drm_need_swiotlb() in drm_cache.c")
>> 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
> 
> You are typing faster than me :)
> 
> Reviewed-by: Christian König <christian.koenig@amd.com>

Pushed to -misc-next. Thanks for the fast reply.

Best regards
Thomas

> 
>> ---
>>   drivers/gpu/drm/drm_cache.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c
>> index 49551a7fa22f..79a50ef1250f 100644
>> --- a/drivers/gpu/drm/drm_cache.c
>> +++ b/drivers/gpu/drm/drm_cache.c
>> @@ -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
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
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


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-14  8:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-14  8:05 [PATCH] drm: Include <linux/mem_encrypt.h> in drm_cache.c Thomas Zimmermann
2021-01-14  8:23 ` Christian König
2021-01-14  8:45   ` Thomas Zimmermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.