[PATCH 1/9] gpu: host1x: Add missing DMA API include

Robin Murphy robin.murphy at arm.com
Tue Nov 23 14:10:36 UTC 2021


Host1x seems to be relying on picking up dma-mapping.h transitively from
iova.h, which has no reason to include it in the first place. Fix the
former issue before we totally break things by fixing the latter one.

CC: Thierry Reding <thierry.reding at gmail.com>
CC: Mikko Perttunen <mperttunen at nvidia.com>
CC: dri-devel at lists.freedesktop.org
CC: linux-tegra at vger.kernel.org
Signed-off-by: Robin Murphy <robin.murphy at arm.com>
---

Feel free to pick this into drm-misc-next or drm-misc-fixes straight
away if that suits - it's only to avoid a build breakage once the rest
of the series gets queued.

Robin.

 drivers/gpu/host1x/bus.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/host1x/bus.c b/drivers/gpu/host1x/bus.c
index 218e3718fd68..881fad5c3307 100644
--- a/drivers/gpu/host1x/bus.c
+++ b/drivers/gpu/host1x/bus.c
@@ -5,6 +5,7 @@
  */
 
 #include <linux/debugfs.h>
+#include <linux/dma-mapping.h>
 #include <linux/host1x.h>
 #include <linux/of.h>
 #include <linux/seq_file.h>
-- 
2.28.0.dirty



More information about the dri-devel mailing list