linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/msm: fix build error
@ 2021-10-14  8:51 Yanteng Si
  2021-10-14  8:51 ` [PATCH 1/2] drm/msm: Fix missing include files in msm_gem.c Yanteng Si
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yanteng Si @ 2021-10-14  8:51 UTC (permalink / raw)
  To: robdclark, sean, airlied, daniel
  Cc: Yanteng Si, linux-arm-msm, dri-devel, freedreno

Include linux/vmalloc.h to fix below errors:

error: implicit declaration of function 'vmap';
error: implicit declaration of function 'register_vmap_purge_notifier'
error: implicit declaration of function 'unregister_vmap_purge_notifier'

Yanteng Si (2):
  drm/msm: Fix missing include files in msm_gem.c
  drm/msm: Fix missing include files in msm_gem_shrinker.c

 drivers/gpu/drm/msm/msm_gem.c          | 1 +
 drivers/gpu/drm/msm/msm_gem_shrinker.c | 2 ++
 2 files changed, 3 insertions(+)

-- 
2.27.0


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

* [PATCH 1/2] drm/msm: Fix missing include files in msm_gem.c
  2021-10-14  8:51 [PATCH 0/2] drm/msm: fix build error Yanteng Si
@ 2021-10-14  8:51 ` Yanteng Si
  2021-10-14  8:51 ` [PATCH 2/2] drm/msm: Fix missing include files in msm_gem_shrinker.c Yanteng Si
  2021-10-21 11:45 ` [PATCH 0/2] drm/msm: fix build error yanteng si
  2 siblings, 0 replies; 4+ messages in thread
From: Yanteng Si @ 2021-10-14  8:51 UTC (permalink / raw)
  To: robdclark, sean, airlied, daniel
  Cc: Yanteng Si, linux-arm-msm, dri-devel, freedreno

Include linux/vmalloc.h to fix below errors:
error: implicit declaration of function 'vmap'

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
---
 drivers/gpu/drm/msm/msm_gem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c
index 40a9863f5951..198caa9c22e4 100644
--- a/drivers/gpu/drm/msm/msm_gem.c
+++ b/drivers/gpu/drm/msm/msm_gem.c
@@ -5,6 +5,7 @@
  */
 
 #include <linux/dma-map-ops.h>
+#include <linux/vmalloc.h>
 #include <linux/spinlock.h>
 #include <linux/shmem_fs.h>
 #include <linux/dma-buf.h>
-- 
2.27.0


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

* [PATCH 2/2] drm/msm: Fix missing include files in msm_gem_shrinker.c
  2021-10-14  8:51 [PATCH 0/2] drm/msm: fix build error Yanteng Si
  2021-10-14  8:51 ` [PATCH 1/2] drm/msm: Fix missing include files in msm_gem.c Yanteng Si
@ 2021-10-14  8:51 ` Yanteng Si
  2021-10-21 11:45 ` [PATCH 0/2] drm/msm: fix build error yanteng si
  2 siblings, 0 replies; 4+ messages in thread
From: Yanteng Si @ 2021-10-14  8:51 UTC (permalink / raw)
  To: robdclark, sean, airlied, daniel
  Cc: Yanteng Si, linux-arm-msm, dri-devel, freedreno

Include linux/vmalloc.h to fix below errors:
error: implicit declaration of function 'register_vmap_purge_notifier'
error: implicit declaration of function 'unregister_vmap_purge_notifier'

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
---
 drivers/gpu/drm/msm/msm_gem_shrinker.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/msm/msm_gem_shrinker.c b/drivers/gpu/drm/msm/msm_gem_shrinker.c
index 0f1b29ee04a9..4a1420b05e97 100644
--- a/drivers/gpu/drm/msm/msm_gem_shrinker.c
+++ b/drivers/gpu/drm/msm/msm_gem_shrinker.c
@@ -4,6 +4,8 @@
  * Author: Rob Clark <robdclark@gmail.com>
  */
 
+#include <linux/vmalloc.h>
+
 #include "msm_drv.h"
 #include "msm_gem.h"
 #include "msm_gpu.h"
-- 
2.27.0


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

* Re: [PATCH 0/2] drm/msm: fix build error
  2021-10-14  8:51 [PATCH 0/2] drm/msm: fix build error Yanteng Si
  2021-10-14  8:51 ` [PATCH 1/2] drm/msm: Fix missing include files in msm_gem.c Yanteng Si
  2021-10-14  8:51 ` [PATCH 2/2] drm/msm: Fix missing include files in msm_gem_shrinker.c Yanteng Si
@ 2021-10-21 11:45 ` yanteng si
  2 siblings, 0 replies; 4+ messages in thread
From: yanteng si @ 2021-10-21 11:45 UTC (permalink / raw)
  To: robdclark, sean, airlied, Daniel Vetter
  Cc: Yanteng Si, linux-arm-msm, dri-devel, freedreno

Yanteng Si <siyanteng01@gmail.com> 于2021年10月14日周四 下午4:51写道:
>
> Include linux/vmalloc.h to fix below errors:
>
> error: implicit declaration of function 'vmap';
> error: implicit declaration of function 'register_vmap_purge_notifier'
> error: implicit declaration of function 'unregister_vmap_purge_notifier'
>
> Yanteng Si (2):
>   drm/msm: Fix missing include files in msm_gem.c
>   drm/msm: Fix missing include files in msm_gem_shrinker.c
ping?

Thanks,

Yanteng

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

end of thread, other threads:[~2021-10-21 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14  8:51 [PATCH 0/2] drm/msm: fix build error Yanteng Si
2021-10-14  8:51 ` [PATCH 1/2] drm/msm: Fix missing include files in msm_gem.c Yanteng Si
2021-10-14  8:51 ` [PATCH 2/2] drm/msm: Fix missing include files in msm_gem_shrinker.c Yanteng Si
2021-10-21 11:45 ` [PATCH 0/2] drm/msm: fix build error yanteng si

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).