[PATCH 55/79] drm/xe: Cleanup headers in xe_ring_ops.c

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

xe_ring_ops.c doesn't use anything from xe_lrc_layout.h or xe_macros.h.
It also only needs the GT types header rather than the full GT header.
Drop the unnecessary includes.

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

diff --git a/drivers/gpu/drm/xe/xe_ring_ops.c b/drivers/gpu/drm/xe/xe_ring_ops.c
index a1fd99f2d539..248620b0901d 100644
--- a/drivers/gpu/drm/xe/xe_ring_ops.c
+++ b/drivers/gpu/drm/xe/xe_ring_ops.c
@@ -11,11 +11,9 @@
#include "instructions/xe_mi_commands.h"
#include "regs/xe_engine_regs.h"
#include "regs/xe_gt_regs.h"
-#include "regs/xe_lrc_layout.h"
#include "xe_exec_queue.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_lrc.h"
-#include "xe_macros.h"
#include "xe_sched_job.h"
#include "xe_sriov.h"
#include "xe_vm_types.h"
--
2.52.0