[PATCH 09/79] drm/xe: Cleanup headers in xe_gsc_debugfs.c

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

xe_gsc_debugfs doesn't use anything from xe_macros.h or xe_device.h.
Furthermore xe_gt.h is not necessary, only the corresponding 'types'
header. Drop/replace the unnecessary includes. Also add an explicit
include of drm_print.h which was being indirectly included.

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

diff --git a/drivers/gpu/drm/xe/xe_gsc_debugfs.c b/drivers/gpu/drm/xe/xe_gsc_debugfs.c
index b13928b50eb9..d4977e666946 100644
--- a/drivers/gpu/drm/xe/xe_gsc_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_gsc_debugfs.c
@@ -7,11 +7,10 @@

#include <drm/drm_debugfs.h>
#include <drm/drm_managed.h>
+#include <drm/drm_print.h>

-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_gsc.h"
-#include "xe_macros.h"
#include "xe_pm.h"

static struct xe_gt *
--
2.52.0