[PATCH v2 02/11] gpu: host1x: Add missing DMA API include

Robin Murphy robin.murphy at arm.com
Fri Dec 10 17:54:43 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
Signed-off-by: Robin Murphy <robin.murphy at arm.com>
---

v2: No change

 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