[PATCH 21/79] drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c

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

xe_gt_sriov_pf_service.c doesn't use anything from
guc_actions_sriov_abi.h, regs/xe_regs.h, or xe_gt_sriov_pf_helpers.h.
Drop the unnecessary includes. It does however need xe_assert.h and
xe_sriov.h which were being indirectly included, so add explicit
includes of those.

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

diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
index 2eb21610e5a0..b5e0a5b7723e 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c
@@ -5,20 +5,19 @@

#include <drm/drm_managed.h>

-#include "abi/guc_actions_sriov_abi.h"
#include "abi/guc_relay_actions_abi.h"

#include "regs/xe_gt_regs.h"
#include "regs/xe_guc_regs.h"
-#include "regs/xe_regs.h"

+#include "xe_assert.h"
#include "xe_mmio.h"
#include "xe_gt_sriov_printk.h"
-#include "xe_gt_sriov_pf_helpers.h"
#include "xe_gt_sriov_pf_service.h"
#include "xe_gt_sriov_pf_service_types.h"
#include "xe_guc_ct.h"
#include "xe_guc_hxg_helpers.h"
+#include "xe_sriov.h"
#include "xe_sriov_pf_service.h"

static const struct xe_reg tgl_runtime_regs[] = {
--
2.52.0