Skip to contentSkip to conversation

drm/amdkfd: add missing include of mm.h

PATCH In review Oded Gabbay 2 participants 3 messages Mar 15, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdkfd: add missing include of mm.h

This patch fixes kernel build in ARCH=frv

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +1 -0
index d7509b706b26..ad7292fc454c 100644
@@ -26,6 +26,7 @@
 #define AMDGPU_AMDKFD_H_INCLUDED
 
 #include <linux/types.h>
+#include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <kgd_kfd_interface.h>
 #include <drm/ttm/ttm_execbuf_util.h>
Signature · 6 lines
2.14.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

Hi Dave,
Could you please apply this directly to drm-next ?
I don't have any pending pull requests at the moment and it seems redundant to send one for just a single patch.

Thanks,
Oded

Quoted 20 lines · Oded Gabbay

This patch fixes kernel build in ARCH=frv

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +1 -1
index d7509b706b26..ad7292fc454c 100644
@@ -26,6 +26,7 @@
 #define AMDGPU_AMDKFD_H_INCLUDED
 
 #include <linux/types.h>
+#include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <kgd_kfd_interface.h>
 #include <drm/ttm/ttm_execbuf_util.h>
--
Quoted 2 lines

2.14.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Acked-by on v1 1/1
#2 lore raw
In reply to Oded Gabbay
Quoted 3 lines · Oded Gabbay

This patch fixes kernel build in ARCH=frv

Quoted 19 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +1 -1
index d7509b706b26..ad7292fc454c 100644
@@ -26,6 +26,7 @@
 #define AMDGPU_AMDKFD_H_INCLUDED
 
 #include <linux/types.h>
+#include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <kgd_kfd_interface.h>
 #include <drm/ttm/ttm_execbuf_util.h>
--

2.14.3

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel