[PATCH 02/79] drm/xe: Drop unused header in xe_bo.c

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

xe_bo.c does not use anything from xe_gt.h; the include is only needed
by the kunit code in tests/xe_bo.c. Move the include to the test file
to match its actual usage.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
drivers/gpu/drm/xe/xe_bo.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/tests/xe_bo.c b/drivers/gpu/drm/xe/tests/xe_bo.c
index 2278e589a493..b7d8e45804cf 100644
--- a/drivers/gpu/drm/xe/tests/xe_bo.c
+++ b/drivers/gpu/drm/xe/tests/xe_bo.c
@@ -18,6 +18,7 @@
#include "tests/xe_test.h"

#include "xe_bo_evict.h"
+#include "xe_gt.h"
#include "xe_pci.h"
#include "xe_pm.h"

diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index 917e50c276ac..e9180b01a4e4 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -26,7 +26,6 @@
#include "xe_dma_buf.h"
#include "xe_drm_client.h"
#include "xe_ggtt.h"
-#include "xe_gt.h"
#include "xe_map.h"
#include "xe_migrate.h"
#include "xe_pat.h"
--
2.52.0