Skip to contentSkip to conversation

drm/etnaviv: etnaviv_cmdbuf.c: Drop the unneeded include of drm_mm.h

PATCH Applied Sui Jingfeng 2 participants 3 messages Oct 25, 2024 – Dec 3, 2024

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

PATCH 1/1 drm/etnaviv: etnaviv_cmdbuf.c: Drop the unneeded include of drm_mm.h

The etnaviv_cmdbuf.c doesn't reference any functions or data members defined in drm_mm.h, remove unneeded headers may reduce kernel compile times.

---
 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c +0 -2
index 66a407f1b3ee..7aa5f14d0c87 100644
@@ -5,8 +5,6 @@
 
 #include <linux/dma-mapping.h>
 
-#include <drm/drm_mm.h>
-
 #include "etnaviv_cmdbuf.h"
 #include "etnaviv_gem.h"
 #include "etnaviv_gpu.h"
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw

Am Samstag, dem 26.10.2024 um 01:56 +0800 schrieb Sui Jingfeng:

Quoted 5 lines

The etnaviv_cmdbuf.c doesn't reference any functions or data members defined in drm_mm.h, remove unneeded headers may reduce kernel compile times.

Thanks, applied to etnaviv/next.

Quoted 17 lines
---
 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c +0 -2
index 66a407f1b3ee..7aa5f14d0c87 100644
@@ -5,8 +5,6 @@
 
 #include <linux/dma-mapping.h>
 
-#include <drm/drm_mm.h>
-
 #include "etnaviv_cmdbuf.h"
 #include "etnaviv_gem.h"
 #include "etnaviv_gpu.h"
maintainer Applied
#2 lore raw
In reply to Sui Jingfeng

Am Samstag, dem 26.10.2024 um 01:56 +0800 schrieb Sui Jingfeng:

Quoted 4 lines

The etnaviv_cmdbuf.c doesn't reference any functions or data members defined in drm_mm.h, remove unneeded headers may reduce kernel compile times.

Thanks, applied to etnaviv/next.

Regards,
Lucas

Quoted 18 lines
---
 drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/etnaviv/etnaviv_cmdbuf.c +0 -2
index 66a407f1b3ee..7aa5f14d0c87 100644
@@ -5,8 +5,6 @@
 
 #include <linux/dma-mapping.h>
 
-#include <drm/drm_mm.h>
-
 #include "etnaviv_cmdbuf.h"
 #include "etnaviv_gem.h"
 #include "etnaviv_gpu.h"