All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: fix compile failure by including <linux/swiotlb.h>
@ 2013-02-01 18:44 ` Chris Metcalf
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Metcalf @ 2013-02-01 18:44 UTC (permalink / raw)
  To: linux-kernel, David Airlie, Ben Skeggs, Dave Airlie,
	Maarten Lankhorst, Thomas Hellstrom, Alex Deucher, Jerome Glisse,
	Christian Konig, dri-devel

On tile architecture (with "make allyesconfig") including
<linux/swiotlb.h> is required to call swiotlb_nr_tbl().

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
---
 drivers/gpu/drm/nouveau/nouveau_bo.c |    1 +
 drivers/gpu/drm/radeon/radeon_ttm.c  |    1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
index 69d7b1d..1699a90 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bo.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bo.c
@@ -28,6 +28,7 @@
  */
 
 #include <core/engine.h>
+#include <linux/swiotlb.h>
 
 #include <subdev/fb.h>
 #include <subdev/vm.h>
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
index 1d8ff2f..93f760e 100644
--- a/drivers/gpu/drm/radeon/radeon_ttm.c
+++ b/drivers/gpu/drm/radeon/radeon_ttm.c
@@ -38,6 +38,7 @@
 #include <drm/radeon_drm.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
+#include <linux/swiotlb.h>
 #include "radeon_reg.h"
 #include "radeon.h"
 
-- 
1.7.10.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] drm: fix compile failure by including <linux/swiotlb.h>
@ 2013-02-01 18:44 Chris Metcalf
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Metcalf @ 2013-02-01 18:44 UTC (permalink / raw)
  To: linux-kernel, David Airlie, Ben Skeggs, Dave Airlie,
	Maarten Lankhorst, Thomas Hellstrom, Alex Deucher, Jerome Glisse,
	dri-devel

On tile architecture (with "make allyesconfig") including
<linux/swiotlb.h> is required to call swiotlb_nr_tbl().

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
---
 drivers/gpu/drm/nouveau/nouveau_bo.c |    1 +
 drivers/gpu/drm/radeon/radeon_ttm.c  |    1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
index 69d7b1d..1699a90 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bo.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bo.c
@@ -28,6 +28,7 @@
  */
 
 #include <core/engine.h>
+#include <linux/swiotlb.h>
 
 #include <subdev/fb.h>
 #include <subdev/vm.h>
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
index 1d8ff2f..93f760e 100644
--- a/drivers/gpu/drm/radeon/radeon_ttm.c
+++ b/drivers/gpu/drm/radeon/radeon_ttm.c
@@ -38,6 +38,7 @@
 #include <drm/radeon_drm.h>
 #include <linux/seq_file.h>
 #include <linux/slab.h>
+#include <linux/swiotlb.h>
 #include "radeon_reg.h"
 #include "radeon.h"
 
-- 
1.7.10.3

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

end of thread, other threads:[~2013-02-03 21:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 18:44 [PATCH] drm: fix compile failure by including <linux/swiotlb.h> Chris Metcalf
2013-02-01 18:44 ` Chris Metcalf
2013-02-03 21:58 ` Maarten Lankhorst
2013-02-03 21:58   ` Maarten Lankhorst
  -- strict thread matches above, loose matches on Subject: below --
2013-02-01 18:44 Chris Metcalf

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.