Skip to contentSkip to conversation

drm/etnaviv: Drop the <linux/pm_runtime.h> header

PATCH In review Sui Jingfeng 2 participants 2 messages Aug 25, 2024 – Aug 26, 2024

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

PATCH 1/1 drm/etnaviv: Drop the <linux/pm_runtime.h> header

Currently, the etnaviv_gem_submit.c isn't call any runtime power management functions. So drop it, we can re-include it when the header really get used though.

---
 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c +0 -1
index 3d0f8d182506..3c0a5c3e0e3d 100644
@@ -6,7 +6,6 @@
 #include <drm/drm_file.h>
 #include <linux/dma-fence-array.h>
 #include <linux/file.h>
-#include <linux/pm_runtime.h>
 #include <linux/dma-resv.h>
 #include <linux/sync_file.h>
 #include <linux/uaccess.h>
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines

Currently, the etnaviv_gem_submit.c isn't call any runtime power management functions. So drop it, we can re-include it when the header really get used though.

Quoted 19 lines
---
 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c +0 -2
index 3d0f8d182506..3c0a5c3e0e3d 100644
@@ -6,7 +6,6 @@
 #include <drm/drm_file.h>
 #include <linux/dma-fence-array.h>
 #include <linux/file.h>
-#include <linux/pm_runtime.h>
 #include <linux/dma-resv.h>
 #include <linux/sync_file.h>
 #include <linux/uaccess.h>
--

2.34.1

Signature · 5 lines
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy