[PATCH 40/79] drm/xe: Cleanup headers in xe_hw_fence.c

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

xe_hw_fence.c doesn't use anything from xe_bo.h or xe_gt.h. It also
doesn't need xe_device.h, only the xe_device_types.h header. Drop the
unnecessary includes.

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

diff --git a/drivers/gpu/drm/xe/xe_hw_fence.c b/drivers/gpu/drm/xe/xe_hw_fence.c
index 6b5bc67767d3..ae8ed15b64c5 100644
--- a/drivers/gpu/drm/xe/xe_hw_fence.c
+++ b/drivers/gpu/drm/xe/xe_hw_fence.c
@@ -8,9 +8,7 @@
#include <linux/device.h>
#include <linux/slab.h>

-#include "xe_bo.h"
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_device_types.h"
#include "xe_hw_engine.h"
#include "xe_macros.h"
#include "xe_map.h"
--
2.52.0