Skip to contentSkip to conversation

drm/amdgpu: stop including swiotlb.h

PATCH Applied Christoph Hellwig 2 participants 2 messages May 18, 2023 – May 19, 2023

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

PATCH 1/1 drm/amdgpu: stop including swiotlb.h

amdgpu does not need swiotlb.h, so stop including it.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +0 -1
index 2cd081cbf70621..385e04612e4e9b 100644
@@ -38,7 +38,6 @@
 #include <linux/seq_file.h>
 #include <linux/slab.h>
 #include <linux/swap.h>
-#include <linux/swiotlb.h>
 #include <linux/dma-buf.h>
 #include <linux/sizes.h>
 #include <linux/module.h>
Signature · 1 line
2.39.2
Applied
#1 lore raw

Applied. Thanks!

Quoted 23 lines · Christoph Hellwig

amdgpu does not need swiotlb.h, so stop including it.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +0 -2
index 2cd081cbf70621..385e04612e4e9b 100644
@@ -38,7 +38,6 @@
 #include <linux/seq_file.h>
 #include <linux/slab.h>
 #include <linux/swap.h>
-#include <linux/swiotlb.h>
 #include <linux/dma-buf.h>
 #include <linux/sizes.h>
 #include <linux/module.h>
--

2.39.2