[PATCH 53/79] drm/xe: Cleanup headers in xe_reg_sr.c

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

xe_reg_sr.c doesn't use anything from the register headers 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_reg_sr.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_reg_sr.c b/drivers/gpu/drm/xe/xe_reg_sr.c
index 1a465385f909..d3e13ea33123 100644
--- a/drivers/gpu/drm/xe/xe_reg_sr.c
+++ b/drivers/gpu/drm/xe/xe_reg_sr.c
@@ -13,16 +13,13 @@
#include <drm/drm_managed.h>
#include <drm/drm_print.h>

-#include "regs/xe_engine_regs.h"
-#include "regs/xe_gt_regs.h"
#include "xe_device.h"
#include "xe_device_types.h"
#include "xe_force_wake.h"
-#include "xe_gt.h"
#include "xe_gt_mcr.h"
#include "xe_gt_printk.h"
+#include "xe_gt_types.h"
#include "xe_hw_engine_types.h"
-#include "xe_macros.h"
#include "xe_mmio.h"
#include "xe_rtp_types.h"

--
2.52.0