[PATCH 29/79] drm/xe: Cleanup headers in xe_guc_debugfs.c

Matt Roper
2026-01-13T23:03:50Z

xe_guc_debugfs.c doesn't use anything from xe_macros.h. It also doesn't
need xe_device.h and xe_gt.h, only their corresponding 'types' headers.
Remove/replace the unnecessary includes.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_guc_debugfs.c b/drivers/gpu/drm/xe/xe_guc_debugfs.c
index 23827e87450f..2f23119686d4 100644
--- a/drivers/gpu/drm/xe/xe_guc_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_guc_debugfs.c
@@ -8,13 +8,12 @@
#include <drm/drm_debugfs.h>
#include <drm/drm_managed.h>

-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_device_types.h"
+#include "xe_gt_types.h"
#include "xe_guc.h"
#include "xe_guc_ct.h"
#include "xe_guc_log.h"
#include "xe_guc_pc.h"
-#include "xe_macros.h"
#include "xe_pm.h"

/*
--
2.52.0