* [PATCH 00/79] Cleanup unused headers reported by clangd
@ 2026-01-13 23:03 Matt Roper
2026-01-13 23:03 ` [PATCH 01/79] drm/xe: Cleanup headers in xe_bb.c Matt Roper
` (82 more replies)
0 siblings, 83 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
clangd[1] helpfully flags #include's of headers that aren't being
directly used by the file including them. In most cases we can either
drop those #include statements or replace them with a more targeted
include (such as xe_gt.h to xe_gt_types.h). Let's drop/simplify a bunch
of the unnecessary includes in our driver's .c files; this may help
speed up partial rebuilds for developers since the build system won't
see as many false dependencies.
There's more header-related cleanup that could be done (e.g., some of
our headers incorrectly include other headers they don't need), but that
can wait for a follow-up series; this one is already long enough.
[1] https://clangd.llvm.org/
Matt Roper (79):
drm/xe: Cleanup headers in xe_bb.c
drm/xe: Drop unused header in xe_bo.c
drm/xe: Cleanup headers in xe_devcoredump.c
drm/xe: Drop unused header in xe_device.c
drm/xe: Drop unused header in xe_exec.c
drm/xe: Cleanup headers in xe_execlist.c
drm/xe: Drop unused headers in xe_exec_queue.c
drm/xe: Simplify headers in xe_ggtt.c
drm/xe: Cleanup headers in xe_gsc_debugfs.c
drm/xe: Simplify header in xe_gsc_proxy.c
drm/xe: Drop unused headers in xe_gsc_submit.c
drm/xe: Drop unused headers in xe_gt.c
drm/xe: Cleanup headers in xe_gt_clock.c
drm/xe: Drop unused header in xe_gt_debugfs.c
drm/xe: Drop unused header in xe_gt_idle.c
drm/xe: Drop unused header in xe_gt_mcr.c
drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
drm/xe: Drop unused header in xe_gt_sriov_vf.c
drm/xe: Simplify header in xe_gt_stats.c
drm/xe: Simplify header in xe_gt_sysfs.c
drm/xe: Simplify header in xe_gt_throttle.c
drm/xe: Drop unused headers in xe_guc_ads.c
drm/xe: Drop unused header in xe_guc_buf.c
drm/xe: Cleanup headers in xe_guc_capture.c
drm/xe: Cleanup headers in xe_guc_debugfs.c
drm/xe: Simplify headers in xe_guc_hwconfig.c
drm/xe: Simplify header in xe_guc_log.c
drm/xe: Cleanup headers in xe_guc_relay.c
drm/xe: Drop unused headers in xe_guc_submit.c
drm/xe: Drop unused header in xe_heci_gsc.c
drm/xe: Drop unused header in xe_huc.c
drm/xe: Clean up headers in xe_huc_debugfs.c
drm/xe: Drop unused header in xe_hw_engine.c
drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
drm/xe: Simplify include in xe_hw_engine_group.c
drm/xe: Cleanup headers in xe_hw_fence.c
drm/xe: Cleanup headers in xe_i2c.c
drm/xe: Drop unused header in xe_irq.c
drm/xe: Drop unused headers in xe_memirq.c
drm/xe: Drop unused headers in xe_mmio.c
drm/xe: Drop unused headers in xe_mocs.c
drm/xe: Simplify include in xe_module.c
drm/xe: Drop unused header in xe_nvm.c
drm/xe: Drop unused headers in xe_page_reclaim.c
drm/xe: Drop unused header in xe_pci.c
drm/xe: Simplify include in xe_psmi.c
drm/xe: Drop unused header in xe_pxp.c
drm/xe: Simplify header in xe_pxp_debugfs.c
drm/xe: Cleanup headers in xe_reg_sr.c
drm/xe: Drop unused headers in xe_reg_whitelist.c
drm/xe: Cleanup headers in xe_ring_ops.c
drm/xe: Drop unused header in xe_rtp.c
drm/xe: Simplify header in xe_sa.c
drm/xe: Simplify header in xe_sched_job.c
drm/xe: Drop unused header in xe_sriov_packet.c
drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
drm/xe: Drop unused header in xe_sriov_vf.c
drm/xe: Cleanup headers in xe_step.c
drm/xe: Drop unused header in xe_survivability_mode.c
drm/xe: Cleanup headers in xe_tile.c
drm/xe: Cleanup headers in xe_tlb_inval.c
drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
drm/xe: Drop unused header in xe_ttm_sys_mgr.c
drm/xe: Drop unused header in xe_ttm_vram_mgr.c
drm/xe: Drop unused headers in xe_uc.c
drm/xe: Cleanup headers in xe_uc_debugfs.c
drm/xe: Simplify header in xe_uc_fw.c
drm/xe: Drop unused header in xe_validation.c
drm/xe: Drop unused header in xe_vm.c
drm/xe: Drop unused headers in xe_vram.c
drm/xe: Drop unused header in xe_vram_freq.c
drm/xe: Drop unused header in xe_vsec.c
drm/xe: Simplify header in xe_wa.c
drm/xe: Drop unused header in xe_wait_user_fence.c
drm/xe: Simplify header in xe_wopcm.c
drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
drivers/gpu/drm/xe/xe_bb.c | 3 +--
drivers/gpu/drm/xe/xe_bo.c | 1 -
drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
drivers/gpu/drm/xe/xe_device.c | 1 -
drivers/gpu/drm/xe/xe_exec.c | 1 -
drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
drivers/gpu/drm/xe/xe_execlist.c | 3 +--
drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
drivers/gpu/drm/xe/xe_gt.c | 2 --
drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++---
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
drivers/gpu/drm/xe/xe_huc.c | 1 -
drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
drivers/gpu/drm/xe/xe_hw_fence.c | 4 +---
drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
drivers/gpu/drm/xe/xe_irq.c | 1 -
drivers/gpu/drm/xe/xe_memirq.c | 2 --
drivers/gpu/drm/xe/xe_mmio.c | 4 ----
drivers/gpu/drm/xe/xe_mocs.c | 2 --
drivers/gpu/drm/xe/xe_module.c | 2 +-
drivers/gpu/drm/xe/xe_nvm.c | 1 -
drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
drivers/gpu/drm/xe/xe_pci.c | 1 -
drivers/gpu/drm/xe/xe_psmi.c | 2 +-
drivers/gpu/drm/xe/xe_pxp.c | 1 -
drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
drivers/gpu/drm/xe/xe_reg_sr.c | 5 +----
drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
drivers/gpu/drm/xe/xe_ring_ops.c | 4 +---
drivers/gpu/drm/xe/xe_rtp.c | 1 -
drivers/gpu/drm/xe/xe_sa.c | 2 +-
drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
drivers/gpu/drm/xe/xe_step.c | 3 ++-
drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
drivers/gpu/drm/xe/xe_tile.c | 3 +--
drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
drivers/gpu/drm/xe/xe_uc.c | 2 --
drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
drivers/gpu/drm/xe/xe_validation.c | 1 -
drivers/gpu/drm/xe/xe_vm.c | 1 -
drivers/gpu/drm/xe/xe_vram.c | 2 --
drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
drivers/gpu/drm/xe/xe_vsec.c | 1 -
drivers/gpu/drm/xe/xe_wa.c | 2 +-
drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
80 files changed, 45 insertions(+), 129 deletions(-)
--
2.52.0
^ permalink raw reply [flat|nested] 93+ messages in thread
* [PATCH 01/79] drm/xe: Cleanup headers in xe_bb.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 02/79] drm/xe: Drop unused header in xe_bo.c Matt Roper
` (81 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_bb.c only requires xe_device_types.h, not xe_device.h and doesn't use
anything from xe_hw_fence.h at all. Drop/replace the unnecessary
includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_bb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_bb.c b/drivers/gpu/drm/xe/xe_bb.c
index 6d20229c11de..8b678297aaa2 100644
--- a/drivers/gpu/drm/xe/xe_bb.c
+++ b/drivers/gpu/drm/xe/xe_bb.c
@@ -7,10 +7,9 @@
#include "instructions/xe_mi_commands.h"
#include "xe_assert.h"
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_exec_queue_types.h"
#include "xe_gt.h"
-#include "xe_hw_fence.h"
#include "xe_sa.h"
#include "xe_sched_job.h"
#include "xe_vm_types.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 02/79] drm/xe: Drop unused header in xe_bo.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
2026-01-13 23:03 ` [PATCH 01/79] drm/xe: Cleanup headers in xe_bb.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 03/79] drm/xe: Cleanup headers in xe_devcoredump.c Matt Roper
` (80 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
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
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 03/79] drm/xe: Cleanup headers in xe_devcoredump.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
2026-01-13 23:03 ` [PATCH 01/79] drm/xe: Cleanup headers in xe_bb.c Matt Roper
2026-01-13 23:03 ` [PATCH 02/79] drm/xe: Drop unused header in xe_bo.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 04/79] drm/xe: Drop unused header in xe_device.c Matt Roper
` (79 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
The devcoredump code only needs xe_gt_types.h, not xe_gt.h and doesn't
use anything from xe_module.h. Drop/replace the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_devcoredump.c b/drivers/gpu/drm/xe/xe_devcoredump.c
index 7263c2a5f3a8..cf41bb6d2172 100644
--- a/drivers/gpu/drm/xe/xe_devcoredump.c
+++ b/drivers/gpu/drm/xe/xe_devcoredump.c
@@ -15,14 +15,13 @@
#include "xe_device.h"
#include "xe_exec_queue.h"
#include "xe_force_wake.h"
-#include "xe_gt.h"
#include "xe_gt_printk.h"
+#include "xe_gt_types.h"
#include "xe_guc_capture.h"
#include "xe_guc_ct.h"
#include "xe_guc_log.h"
#include "xe_guc_submit.h"
#include "xe_hw_engine.h"
-#include "xe_module.h"
#include "xe_pm.h"
#include "xe_sched_job.h"
#include "xe_vm.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 04/79] drm/xe: Drop unused header in xe_device.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (2 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 03/79] drm/xe: Cleanup headers in xe_devcoredump.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 05/79] drm/xe: Drop unused header in xe_exec.c Matt Roper
` (78 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_device.c doesn't use anything from xe_gsc_proxy.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_device.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
index 7190b208e3da..495310a624b5 100644
--- a/drivers/gpu/drm/xe/xe_device.c
+++ b/drivers/gpu/drm/xe/xe_device.c
@@ -35,7 +35,6 @@
#include "xe_exec_queue.h"
#include "xe_force_wake.h"
#include "xe_ggtt.h"
-#include "xe_gsc_proxy.h"
#include "xe_gt.h"
#include "xe_gt_mcr.h"
#include "xe_gt_printk.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 05/79] drm/xe: Drop unused header in xe_exec.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (3 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 04/79] drm/xe: Drop unused header in xe_device.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 06/79] drm/xe: Cleanup headers in xe_execlist.c Matt Roper
` (77 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_exec.c doesn't use anything from xe_bo.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_exec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_exec.c b/drivers/gpu/drm/xe/xe_exec.c
index 730a5c9c2637..a5485fe6e3f1 100644
--- a/drivers/gpu/drm/xe/xe_exec.c
+++ b/drivers/gpu/drm/xe/xe_exec.c
@@ -11,7 +11,6 @@
#include <uapi/drm/xe_drm.h>
#include <linux/delay.h>
-#include "xe_bo.h"
#include "xe_device.h"
#include "xe_exec_queue.h"
#include "xe_hw_engine_group.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 06/79] drm/xe: Cleanup headers in xe_execlist.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (4 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 05/79] drm/xe: Drop unused header in xe_exec.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 07/79] drm/xe: Drop unused headers in xe_exec_queue.c Matt Roper
` (76 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_execlist.c only needs the GT type header, not the full GT header.
Also, nothing from xe_hw_fence.h is used. Dropreplace the unnecessary
includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_execlist.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_execlist.c b/drivers/gpu/drm/xe/xe_execlist.c
index 46c17a18a3f4..8bf330aeaec0 100644
--- a/drivers/gpu/drm/xe/xe_execlist.c
+++ b/drivers/gpu/drm/xe/xe_execlist.c
@@ -15,8 +15,7 @@
#include "xe_bo.h"
#include "xe_device.h"
#include "xe_exec_queue.h"
-#include "xe_gt.h"
-#include "xe_hw_fence.h"
+#include "xe_gt_types.h"
#include "xe_irq.h"
#include "xe_lrc.h"
#include "xe_macros.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 07/79] drm/xe: Drop unused headers in xe_exec_queue.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (5 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 06/79] drm/xe: Cleanup headers in xe_execlist.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 08/79] drm/xe: Simplify headers in xe_ggtt.c Matt Roper
` (75 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_exec_queue.h does not use anything from xe_ring_ops_types.h or
xe_hw_fence.h. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
index b5737563ee14..a940849bb6c7 100644
--- a/drivers/gpu/drm/xe/xe_exec_queue.c
+++ b/drivers/gpu/drm/xe/xe_exec_queue.c
@@ -21,13 +21,11 @@
#include "xe_gt_sriov_vf.h"
#include "xe_hw_engine_class_sysfs.h"
#include "xe_hw_engine_group.h"
-#include "xe_hw_fence.h"
#include "xe_irq.h"
#include "xe_lrc.h"
#include "xe_macros.h"
#include "xe_migrate.h"
#include "xe_pm.h"
-#include "xe_ring_ops_types.h"
#include "xe_trace.h"
#include "xe_vm.h"
#include "xe_pxp.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 08/79] drm/xe: Simplify headers in xe_ggtt.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (6 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 07/79] drm/xe: Drop unused headers in xe_exec_queue.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 09/79] drm/xe: Cleanup headers in xe_gsc_debugfs.c Matt Roper
` (74 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_ggtt.c doesn't use anything from xe_device.h and only needs the GT
'types' header rather than the full GT header. Drop/replace the
unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_ggtt.c b/drivers/gpu/drm/xe/xe_ggtt.c
index cb23d97845a8..60665ad1415b 100644
--- a/drivers/gpu/drm/xe/xe_ggtt.c
+++ b/drivers/gpu/drm/xe/xe_ggtt.c
@@ -20,9 +20,8 @@
#include "regs/xe_regs.h"
#include "xe_assert.h"
#include "xe_bo.h"
-#include "xe_device.h"
-#include "xe_gt.h"
#include "xe_gt_printk.h"
+#include "xe_gt_types.h"
#include "xe_map.h"
#include "xe_mmio.h"
#include "xe_pm.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 09/79] drm/xe: Cleanup headers in xe_gsc_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (7 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 08/79] drm/xe: Simplify headers in xe_ggtt.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 10/79] drm/xe: Simplify header in xe_gsc_proxy.c Matt Roper
` (73 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gsc_debugfs doesn't use anything from xe_macros.h or xe_device.h.
Furthermore xe_gt.h is not necessary, only the corresponding 'types'
header. Drop/replace the unnecessary includes. Also add an explicit
include of drm_print.h which was being indirectly included.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gsc_debugfs.c b/drivers/gpu/drm/xe/xe_gsc_debugfs.c
index b13928b50eb9..d4977e666946 100644
--- a/drivers/gpu/drm/xe/xe_gsc_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_gsc_debugfs.c
@@ -7,11 +7,10 @@
#include <drm/drm_debugfs.h>
#include <drm/drm_managed.h>
+#include <drm/drm_print.h>
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_gsc.h"
-#include "xe_macros.h"
#include "xe_pm.h"
static struct xe_gt *
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 10/79] drm/xe: Simplify header in xe_gsc_proxy.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (8 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 09/79] drm/xe: Cleanup headers in xe_gsc_debugfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 11/79] drm/xe: Drop unused headers in xe_gsc_submit.c Matt Roper
` (72 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gsc_proxy.c doesn't use anything from xe_gt.h and only needs the
corresponding 'types' header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gsc_proxy.c b/drivers/gpu/drm/xe/xe_gsc_proxy.c
index e7573a0c5e5d..42438b21f235 100644
--- a/drivers/gpu/drm/xe/xe_gsc_proxy.c
+++ b/drivers/gpu/drm/xe/xe_gsc_proxy.c
@@ -18,8 +18,8 @@
#include "xe_force_wake.h"
#include "xe_gsc.h"
#include "xe_gsc_submit.h"
-#include "xe_gt.h"
#include "xe_gt_printk.h"
+#include "xe_gt_types.h"
#include "xe_map.h"
#include "xe_mmio.h"
#include "xe_pm.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 11/79] drm/xe: Drop unused headers in xe_gsc_submit.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (9 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 10/79] drm/xe: Simplify header in xe_gsc_proxy.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 12/79] drm/xe: Drop unused headers in xe_gt.c Matt Roper
` (71 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gsc_submit.c doesn't use anything from xe_gt_printk.h or
xe_gsc_regs.h. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gsc_submit.c b/drivers/gpu/drm/xe/xe_gsc_submit.c
index 9ede483d37ef..08082b596501 100644
--- a/drivers/gpu/drm/xe/xe_gsc_submit.c
+++ b/drivers/gpu/drm/xe/xe_gsc_submit.c
@@ -11,12 +11,10 @@
#include "xe_assert.h"
#include "xe_bb.h"
#include "xe_exec_queue.h"
-#include "xe_gt_printk.h"
#include "xe_gt_types.h"
#include "xe_map.h"
#include "xe_sched_job.h"
#include "instructions/xe_gsc_commands.h"
-#include "regs/xe_gsc_regs.h"
#define GSC_HDR_SIZE (sizeof(struct intel_gsc_mtl_header)) /* shorthand define */
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 12/79] drm/xe: Drop unused headers in xe_gt.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (10 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 11/79] drm/xe: Drop unused headers in xe_gsc_submit.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 13/79] drm/xe: Cleanup headers in xe_gt_clock.c Matt Roper
` (70 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt.c doesn't use anything from xe_gfxpipe_commands.h or xe_bo.h.
Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index 04dbf995a18b..9d090d0f2438 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -13,13 +13,11 @@
#include <generated/xe_wa_oob.h>
#include "instructions/xe_alu_commands.h"
-#include "instructions/xe_gfxpipe_commands.h"
#include "instructions/xe_mi_commands.h"
#include "regs/xe_engine_regs.h"
#include "regs/xe_gt_regs.h"
#include "xe_assert.h"
#include "xe_bb.h"
-#include "xe_bo.h"
#include "xe_device.h"
#include "xe_eu_stall.h"
#include "xe_exec_queue.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 13/79] drm/xe: Cleanup headers in xe_gt_clock.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (11 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 12/79] drm/xe: Drop unused headers in xe_gt.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 14/79] drm/xe: Drop unused header in xe_gt_debugfs.c Matt Roper
` (69 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_clock.c doesn't use anything from xe_regs.h, xe_assert.h,
xe_device.h, or xe_macros.h. It also doesn't need xe_gt.h, just the
corresponding 'types' header. Drop/replace the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_clock.c b/drivers/gpu/drm/xe/xe_gt_clock.c
index bfc25c46f798..53b3835192da 100644
--- a/drivers/gpu/drm/xe/xe_gt_clock.c
+++ b/drivers/gpu/drm/xe/xe_gt_clock.c
@@ -8,12 +8,8 @@
#include "xe_gt_clock.h"
#include "regs/xe_gt_regs.h"
-#include "regs/xe_regs.h"
-#include "xe_assert.h"
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_gt_printk.h"
-#include "xe_macros.h"
#include "xe_mmio.h"
#define f19_2_mhz 19200000
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 14/79] drm/xe: Drop unused header in xe_gt_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (12 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 13/79] drm/xe: Cleanup headers in xe_gt_clock.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 15/79] drm/xe: Drop unused header in xe_gt_idle.c Matt Roper
` (68 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_debugfs.c doesn't use anything from xe_macros.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_debugfs.c b/drivers/gpu/drm/xe/xe_gt_debugfs.c
index e4f38b5150fc..4363bc9c3606 100644
--- a/drivers/gpu/drm/xe/xe_gt_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_gt_debugfs.c
@@ -22,7 +22,6 @@
#include "xe_guc_hwconfig.h"
#include "xe_hw_engine.h"
#include "xe_lrc.h"
-#include "xe_macros.h"
#include "xe_mocs.h"
#include "xe_pat.h"
#include "xe_pm.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 15/79] drm/xe: Drop unused header in xe_gt_idle.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (13 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 14/79] drm/xe: Drop unused header in xe_gt_debugfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 16/79] drm/xe: Drop unused header in xe_gt_mcr.c Matt Roper
` (67 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_idle.c doesn't use anything from xe_macros.h. Drop the
unnecessary header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_idle.c b/drivers/gpu/drm/xe/xe_gt_idle.c
index c1c9bec3c487..7a569e1730a4 100644
--- a/drivers/gpu/drm/xe/xe_gt_idle.c
+++ b/drivers/gpu/drm/xe/xe_gt_idle.c
@@ -13,7 +13,6 @@
#include "xe_gt_sysfs.h"
#include "xe_guc_pc.h"
#include "regs/xe_gt_regs.h"
-#include "xe_macros.h"
#include "xe_mmio.h"
#include "xe_pm.h"
#include "xe_sriov.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 16/79] drm/xe: Drop unused header in xe_gt_mcr.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (14 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 15/79] drm/xe: Drop unused header in xe_gt_idle.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 17/79] drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c Matt Roper
` (66 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_mcr.c doesn't use anything from xe_gt.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_mcr.c b/drivers/gpu/drm/xe/xe_gt_mcr.c
index 164010860664..7c1fe9ac120d 100644
--- a/drivers/gpu/drm/xe/xe_gt_mcr.c
+++ b/drivers/gpu/drm/xe/xe_gt_mcr.c
@@ -7,7 +7,6 @@
#include "regs/xe_gt_regs.h"
#include "xe_assert.h"
-#include "xe_gt.h"
#include "xe_gt_printk.h"
#include "xe_gt_topology.h"
#include "xe_gt_types.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 17/79] drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (15 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 16/79] drm/xe: Drop unused header in xe_gt_mcr.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 18/79] drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c Matt Roper
` (65 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_sriov_pf_config.c doesn't use anything from xe_guc_fwif.h or
xe_map.h. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
index 9f2525f3cb37..23601ce79348 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
@@ -24,13 +24,11 @@
#include "xe_guc_buf.h"
#include "xe_guc_ct.h"
#include "xe_guc_db_mgr.h"
-#include "xe_guc_fwif.h"
#include "xe_guc_id_mgr.h"
#include "xe_guc_klv_helpers.h"
#include "xe_guc_klv_thresholds_set.h"
#include "xe_guc_submit.h"
#include "xe_lmtt.h"
-#include "xe_map.h"
#include "xe_migrate.h"
#include "xe_sriov.h"
#include "xe_ttm_vram_mgr.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 18/79] drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (16 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 17/79] drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 19/79] drm/xe: Simplify header in xe_gt_sriov_pf_migration.c Matt Roper
` (64 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_sriov_pf_debugfs.c doesn't use anything from xe_bo.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
index 47d288c53539..f97abb02aebd 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
@@ -8,7 +8,6 @@
#include <drm/drm_print.h>
#include <drm/drm_debugfs.h>
-#include "xe_bo.h"
#include "xe_debugfs.h"
#include "xe_device.h"
#include "xe_gt.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 19/79] drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (17 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 18/79] drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 20/79] drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c Matt Roper
` (63 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_sriov_pf_migration.c doesn't directly use anything from
xe_gt_sriov_pf_helpers.h. Instead it just needs xe_sriov_pf_helpers.h,
which was being included indirectly. Switch the includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
index 7410e7b93256..87a164efcc33 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
@@ -14,7 +14,6 @@
#include "xe_gt_sriov_pf.h"
#include "xe_gt_sriov_pf_config.h"
#include "xe_gt_sriov_pf_control.h"
-#include "xe_gt_sriov_pf_helpers.h"
#include "xe_gt_sriov_pf_migration.h"
#include "xe_gt_sriov_printk.h"
#include "xe_guc.h"
@@ -25,6 +24,7 @@
#include "xe_sriov.h"
#include "xe_sriov_packet.h"
#include "xe_sriov_packet_types.h"
+#include "xe_sriov_pf_helpers.h"
#include "xe_sriov_pf_migration.h"
#define XE_GT_SRIOV_PF_MIGRATION_RING_SIZE 5
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 20/79] drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (18 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 19/79] drm/xe: Simplify header in xe_gt_sriov_pf_migration.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 21/79] drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c Matt Roper
` (62 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_sriov_pf_policy.c doesn't use anything from xe_bo.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
index c28606ca6623..848e24926ecd 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
@@ -7,7 +7,6 @@
#include "abi/guc_actions_sriov_abi.h"
-#include "xe_bo.h"
#include "xe_gt.h"
#include "xe_gt_sriov_pf_helpers.h"
#include "xe_gt_sriov_pf_policy.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 21/79] drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (19 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 20/79] drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 22/79] drm/xe: Drop unused header in xe_gt_sriov_vf.c Matt Roper
` (61 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
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
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 22/79] drm/xe: Drop unused header in xe_gt_sriov_vf.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (20 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 21/79] drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 23/79] drm/xe: Simplify header in xe_gt_stats.c Matt Roper
` (60 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_sriov_vf.c doesn't use anything from xe_gtt_defs.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
index d91c65dc3496..30e8c2cf5f09 100644
--- a/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_gt_sriov_vf.c
@@ -15,7 +15,6 @@
#include "abi/guc_klvs_abi.h"
#include "abi/guc_relay_actions_abi.h"
#include "regs/xe_gt_regs.h"
-#include "regs/xe_gtt_defs.h"
#include "xe_assert.h"
#include "xe_device.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 23/79] drm/xe: Simplify header in xe_gt_stats.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (21 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 22/79] drm/xe: Drop unused header in xe_gt_sriov_vf.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 24/79] drm/xe: Simplify header in xe_gt_sysfs.c Matt Roper
` (59 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_stats.c doesn't use anything from xe_gt.h; it only needs the
corresponding "types" header. Replace the include accordingly.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_stats.c b/drivers/gpu/drm/xe/xe_gt_stats.c
index 8294bcd40310..37506434d7a3 100644
--- a/drivers/gpu/drm/xe/xe_gt_stats.c
+++ b/drivers/gpu/drm/xe/xe_gt_stats.c
@@ -7,8 +7,8 @@
#include <drm/drm_print.h>
-#include "xe_gt.h"
#include "xe_gt_stats.h"
+#include "xe_gt_types.h"
/**
* xe_gt_stats_incr - Increments the specified stats counter
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 24/79] drm/xe: Simplify header in xe_gt_sysfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (22 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 23/79] drm/xe: Simplify header in xe_gt_stats.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 25/79] drm/xe: Simplify header in xe_gt_throttle.c Matt Roper
` (58 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_sysfs.c doesn't use anything from xe_gt.h; it only needs the
corresponding "types" header. Replace the include accordingly.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_sysfs.c b/drivers/gpu/drm/xe/xe_gt_sysfs.c
index ec2b8246204b..1448be047b4a 100644
--- a/drivers/gpu/drm/xe/xe_gt_sysfs.c
+++ b/drivers/gpu/drm/xe/xe_gt_sysfs.c
@@ -10,7 +10,7 @@
#include <drm/drm_managed.h>
-#include "xe_gt.h"
+#include "xe_gt_types.h"
static void xe_gt_sysfs_kobj_release(struct kobject *kobj)
{
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 25/79] drm/xe: Simplify header in xe_gt_throttle.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (23 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 24/79] drm/xe: Simplify header in xe_gt_sysfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-14 5:07 ` Raag Jadav
2026-01-13 23:03 ` [PATCH 26/79] drm/xe: Drop unused headers in xe_guc_ads.c Matt Roper
` (57 subsequent siblings)
82 siblings, 1 reply; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_gt_throttle.c doesn't use anything from xe_device.h; it only needs
the corresponding 'types' header. Replace the include accordingly.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_throttle.c b/drivers/gpu/drm/xe/xe_gt_throttle.c
index 570358310e97..1e7e3a31aa69 100644
--- a/drivers/gpu/drm/xe/xe_gt_throttle.c
+++ b/drivers/gpu/drm/xe/xe_gt_throttle.c
@@ -6,7 +6,7 @@
#include <drm/drm_managed.h>
#include <regs/xe_gt_regs.h>
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_gt.h"
#include "xe_gt_sysfs.h"
#include "xe_gt_throttle.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 26/79] drm/xe: Drop unused headers in xe_guc_ads.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (24 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 25/79] drm/xe: Simplify header in xe_gt_throttle.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 27/79] drm/xe: Drop unused header in xe_guc_buf.c Matt Roper
` (56 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_ads.c doesn't use anything from xe_platform_types.h or
xe_uc_fw.h. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_ads.c b/drivers/gpu/drm/xe/xe_guc_ads.c
index 7e1cb6093de7..f4cbc030f4c8 100644
--- a/drivers/gpu/drm/xe/xe_guc_ads.c
+++ b/drivers/gpu/drm/xe/xe_guc_ads.c
@@ -28,8 +28,6 @@
#include "xe_lrc.h"
#include "xe_map.h"
#include "xe_mmio.h"
-#include "xe_platform_types.h"
-#include "xe_uc_fw.h"
#include "xe_wa.h"
/* Slack of a few additional entries per engine */
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 27/79] drm/xe: Drop unused header in xe_guc_buf.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (25 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 26/79] drm/xe: Drop unused headers in xe_guc_ads.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 28/79] drm/xe: Cleanup headers in xe_guc_capture.c Matt Roper
` (55 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_buf.c doesn't use anything from xe_asert.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_buf.c b/drivers/gpu/drm/xe/xe_guc_buf.c
index c36fc31e0438..11f77decd8d1 100644
--- a/drivers/gpu/drm/xe/xe_guc_buf.c
+++ b/drivers/gpu/drm/xe/xe_guc_buf.c
@@ -6,7 +6,6 @@
#include <linux/cleanup.h>
#include <drm/drm_managed.h>
-#include "xe_assert.h"
#include "xe_bo.h"
#include "xe_gt_printk.h"
#include "xe_guc.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 28/79] drm/xe: Cleanup headers in xe_guc_capture.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (26 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 27/79] drm/xe: Drop unused header in xe_guc_buf.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 29/79] drm/xe: Cleanup headers in xe_guc_debugfs.c Matt Roper
` (54 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_capture.c doesn't use anything from xe_guc_regs.h, xe_regs.h, or
xe_guc_ads.h. It also doesn't need xe_bo.h, just xe_bo_types.h.
Drop/replace the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_capture.c b/drivers/gpu/drm/xe/xe_guc_capture.c
index bdd700ac1e54..2f5816c78fba 100644
--- a/drivers/gpu/drm/xe/xe_guc_capture.c
+++ b/drivers/gpu/drm/xe/xe_guc_capture.c
@@ -13,17 +13,14 @@
#include "abi/guc_log_abi.h"
#include "regs/xe_engine_regs.h"
#include "regs/xe_gt_regs.h"
-#include "regs/xe_guc_regs.h"
-#include "regs/xe_regs.h"
-#include "xe_bo.h"
+#include "xe_bo_types.h"
#include "xe_device.h"
#include "xe_exec_queue_types.h"
#include "xe_gt.h"
#include "xe_gt_mcr.h"
#include "xe_gt_printk.h"
#include "xe_guc.h"
-#include "xe_guc_ads.h"
#include "xe_guc_capture.h"
#include "xe_guc_capture_types.h"
#include "xe_guc_ct.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 29/79] drm/xe: Cleanup headers in xe_guc_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (27 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 28/79] drm/xe: Cleanup headers in xe_guc_capture.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 30/79] drm/xe: Simplify headers in xe_guc_hwconfig.c Matt Roper
` (53 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_debugfs.c doesn't use anything from xe_macros.h. It also doesn't
need xe_device.h and xe_gt.h, only their corresponding 'types' headers.
Remove/replace the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_debugfs.c b/drivers/gpu/drm/xe/xe_guc_debugfs.c
index 23827e87450f..2f23119686d4 100644
--- a/drivers/gpu/drm/xe/xe_guc_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_guc_debugfs.c
@@ -8,13 +8,12 @@
#include <drm/drm_debugfs.h>
#include <drm/drm_managed.h>
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_device_types.h"
+#include "xe_gt_types.h"
#include "xe_guc.h"
#include "xe_guc_ct.h"
#include "xe_guc_log.h"
#include "xe_guc_pc.h"
-#include "xe_macros.h"
#include "xe_pm.h"
/*
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 30/79] drm/xe: Simplify headers in xe_guc_hwconfig.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (28 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 29/79] drm/xe: Cleanup headers in xe_guc_debugfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 31/79] drm/xe: Simplify header in xe_guc_log.c Matt Roper
` (52 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_hwconfig.c doesn't use anything from xe_device.h or xe_gt.h;
instead if only needs the corresponding 'types' headers. Replace the
includes accordingly.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_hwconfig.c b/drivers/gpu/drm/xe/xe_guc_hwconfig.c
index af2c817d552c..b300901dbb8e 100644
--- a/drivers/gpu/drm/xe/xe_guc_hwconfig.c
+++ b/drivers/gpu/drm/xe/xe_guc_hwconfig.c
@@ -10,8 +10,8 @@
#include "abi/guc_actions_abi.h"
#include "xe_bo.h"
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_device_types.h"
+#include "xe_gt_types.h"
#include "xe_guc.h"
#include "xe_map.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 31/79] drm/xe: Simplify header in xe_guc_log.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (29 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 30/79] drm/xe: Simplify headers in xe_guc_hwconfig.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 32/79] drm/xe: Cleanup headers in xe_guc_relay.c Matt Roper
` (51 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_log.c only needs xe_gt_types.h; it doesn't use anything from
xe_gt.h. Replace the include to reflect this.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_log.c b/drivers/gpu/drm/xe/xe_guc_log.c
index d7473b9673bb..acac66a4eca7 100644
--- a/drivers/gpu/drm/xe/xe_guc_log.c
+++ b/drivers/gpu/drm/xe/xe_guc_log.c
@@ -15,8 +15,8 @@
#include "xe_bo.h"
#include "xe_devcoredump.h"
#include "xe_force_wake.h"
-#include "xe_gt.h"
#include "xe_gt_printk.h"
+#include "xe_gt_types.h"
#include "xe_map.h"
#include "xe_mmio.h"
#include "xe_module.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 32/79] drm/xe: Cleanup headers in xe_guc_relay.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (30 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 31/79] drm/xe: Simplify header in xe_guc_log.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 33/79] drm/xe: Drop unused headers in xe_guc_submit.c Matt Roper
` (50 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_relay.c doesn't use anything from xe_gt.h. If also doesn't need
xe_device.h, only xe_device_types.h. Drop/replace the unnecessary
includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_relay.c b/drivers/gpu/drm/xe/xe_guc_relay.c
index 0c0ff24ba62a..577a315854af 100644
--- a/drivers/gpu/drm/xe/xe_guc_relay.c
+++ b/drivers/gpu/drm/xe/xe_guc_relay.c
@@ -17,8 +17,7 @@
#include "abi/guc_relay_communication_abi.h"
#include "xe_assert.h"
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_device_types.h"
#include "xe_gt_sriov_printk.h"
#include "xe_gt_sriov_pf_service.h"
#include "xe_guc.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 33/79] drm/xe: Drop unused headers in xe_guc_submit.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (31 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 32/79] drm/xe: Cleanup headers in xe_guc_relay.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 34/79] drm/xe: Drop unused header in xe_heci_gsc.c Matt Roper
` (49 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_guc_submit.c doesn't use anything from xe_lrc_layout.h or
xe_hw_fence.h. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_submit.c b/drivers/gpu/drm/xe/xe_guc_submit.c
index be8fa76baf1d..a27ea931b956 100644
--- a/drivers/gpu/drm/xe/xe_guc_submit.c
+++ b/drivers/gpu/drm/xe/xe_guc_submit.c
@@ -17,7 +17,6 @@
#include "abi/guc_actions_abi.h"
#include "abi/guc_actions_slpc_abi.h"
#include "abi/guc_klvs_abi.h"
-#include "regs/xe_lrc_layout.h"
#include "xe_assert.h"
#include "xe_bo.h"
#include "xe_devcoredump.h"
@@ -36,7 +35,6 @@
#include "xe_guc_klv_helpers.h"
#include "xe_guc_submit_types.h"
#include "xe_hw_engine.h"
-#include "xe_hw_fence.h"
#include "xe_lrc.h"
#include "xe_macros.h"
#include "xe_map.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 34/79] drm/xe: Drop unused header in xe_heci_gsc.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (32 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 33/79] drm/xe: Drop unused headers in xe_guc_submit.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 35/79] drm/xe: Drop unused header in xe_huc.c Matt Roper
` (48 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_heci_gsc.c doesn't use anything from xe_drv.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_heci_gsc.c b/drivers/gpu/drm/xe/xe_heci_gsc.c
index 495cdd4f948d..c1f15313f92e 100644
--- a/drivers/gpu/drm/xe/xe_heci_gsc.c
+++ b/drivers/gpu/drm/xe/xe_heci_gsc.c
@@ -11,7 +11,6 @@
#include <drm/drm_print.h>
#include "xe_device_types.h"
-#include "xe_drv.h"
#include "xe_heci_gsc.h"
#include "regs/xe_gsc_regs.h"
#include "xe_platform_types.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 35/79] drm/xe: Drop unused header in xe_huc.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (33 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 34/79] drm/xe: Drop unused header in xe_heci_gsc.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 36/79] drm/xe: Clean up headers in xe_huc_debugfs.c Matt Roper
` (47 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_huc.c doesn't use anything from xe_assert.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_huc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_huc.c b/drivers/gpu/drm/xe/xe_huc.c
index 4212162913af..57afe21444b1 100644
--- a/drivers/gpu/drm/xe/xe_huc.c
+++ b/drivers/gpu/drm/xe/xe_huc.c
@@ -12,7 +12,6 @@
#include "abi/gsc_pxp_commands_abi.h"
#include "regs/xe_gsc_regs.h"
#include "regs/xe_guc_regs.h"
-#include "xe_assert.h"
#include "xe_bo.h"
#include "xe_device.h"
#include "xe_force_wake.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 36/79] drm/xe: Clean up headers in xe_huc_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (34 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 35/79] drm/xe: Drop unused header in xe_huc.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 37/79] drm/xe: Drop unused header in xe_hw_engine.c Matt Roper
` (46 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_huc_debugfs.c doesn't use anything from xe_device.h or xe_macros.h.
It also doesn't need xe_gt.h, only xe_gt_types.h. Drop/replace the
unnecessary includes. Also add an explicit include of drm_print.h,
which was being indirectly included previously.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_huc_debugfs.c b/drivers/gpu/drm/xe/xe_huc_debugfs.c
index df9c4d79b710..80829967b3d7 100644
--- a/drivers/gpu/drm/xe/xe_huc_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_huc_debugfs.c
@@ -7,11 +7,10 @@
#include <drm/drm_debugfs.h>
#include <drm/drm_managed.h>
+#include <drm/drm_print.h>
-#include "xe_device.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_huc.h"
-#include "xe_macros.h"
#include "xe_pm.h"
static struct xe_gt *
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 37/79] drm/xe: Drop unused header in xe_hw_engine.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (35 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 36/79] drm/xe: Clean up headers in xe_huc_debugfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 38/79] drm/xe: Simplify include in xe_hw_engine_class_sysfs.c Matt Roper
` (45 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_hw_engine.c doesn't use anything from xe_macros.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_hw_engine.c b/drivers/gpu/drm/xe/xe_hw_engine.c
index 6a9e2a4272dd..4d3ee5226e3a 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine.c
+++ b/drivers/gpu/drm/xe/xe_hw_engine.c
@@ -33,7 +33,6 @@
#include "xe_hw_fence.h"
#include "xe_irq.h"
#include "xe_lrc.h"
-#include "xe_macros.h"
#include "xe_mmio.h"
#include "xe_reg_sr.h"
#include "xe_reg_whitelist.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 38/79] drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (36 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 37/79] drm/xe: Drop unused header in xe_hw_engine.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 39/79] drm/xe: Simplify include in xe_hw_engine_group.c Matt Roper
` (44 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_hw_engine_class_sysfs.c only needs the device type header, not
xe_device.h.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c b/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
index cb45cdceef67..3c65becb39ad 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
+++ b/drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c
@@ -7,7 +7,7 @@
#include <linux/kobject.h>
#include <linux/sysfs.h>
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_gt.h"
#include "xe_hw_engine_class_sysfs.h"
#include "xe_pm.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 39/79] drm/xe: Simplify include in xe_hw_engine_group.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (37 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 38/79] drm/xe: Simplify include in xe_hw_engine_class_sysfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 40/79] drm/xe: Cleanup headers in xe_hw_fence.c Matt Roper
` (43 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_hw_engine_group.c only needs the device type header, not xe_device.h.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_hw_engine_group.c b/drivers/gpu/drm/xe/xe_hw_engine_group.c
index f69a32c27458..2ef33dfbe3a2 100644
--- a/drivers/gpu/drm/xe/xe_hw_engine_group.c
+++ b/drivers/gpu/drm/xe/xe_hw_engine_group.c
@@ -6,7 +6,7 @@
#include <drm/drm_managed.h>
#include "xe_assert.h"
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_exec_queue.h"
#include "xe_gt.h"
#include "xe_gt_stats.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 40/79] drm/xe: Cleanup headers in xe_hw_fence.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (38 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 39/79] drm/xe: Simplify include in xe_hw_engine_group.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c Matt Roper
` (42 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
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
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (39 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 40/79] drm/xe: Cleanup headers in xe_hw_fence.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-14 5:12 ` Raag Jadav
2026-01-13 23:03 ` [PATCH 42/79] drm/xe: Drop unused header in xe_irq.c Matt Roper
` (41 subsequent siblings)
82 siblings, 1 reply; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_i2c.c doesn't use anything from xe_device.h or xe_platform_types.h.
Drop the unnecessary includes. However it does require xe_sriov.h which
was being indirectly included; add an explicit include for that.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
index befc77e46eae..1e1fb72e49bf 100644
--- a/drivers/gpu/drm/xe/xe_i2c.c
+++ b/drivers/gpu/drm/xe/xe_i2c.c
@@ -5,6 +5,7 @@
* Copyright (C) 2025 Intel Corporation.
*/
+#include <drm/drm_print.h>
#include <linux/array_size.h>
#include <linux/container_of.h>
#include <linux/device.h>
@@ -26,11 +27,10 @@
#include "regs/xe_i2c_regs.h"
#include "regs/xe_irq_regs.h"
-#include "xe_device.h"
#include "xe_device_types.h"
#include "xe_i2c.h"
#include "xe_mmio.h"
-#include "xe_platform_types.h"
+#include "xe_sriov.h"
#include "xe_survivability_mode.h"
/**
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 42/79] drm/xe: Drop unused header in xe_irq.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (40 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 43/79] drm/xe: Drop unused headers in xe_memirq.c Matt Roper
` (40 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_irq.c doesn't use anything from xe_guc_regs.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_irq.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c
index baf5d2c6e802..7560a45f7f64 100644
--- a/drivers/gpu/drm/xe/xe_irq.c
+++ b/drivers/gpu/drm/xe/xe_irq.c
@@ -10,7 +10,6 @@
#include <drm/drm_managed.h>
#include "display/xe_display.h"
-#include "regs/xe_guc_regs.h"
#include "regs/xe_irq_regs.h"
#include "xe_device.h"
#include "xe_drv.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 43/79] drm/xe: Drop unused headers in xe_memirq.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (41 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 42/79] drm/xe: Drop unused header in xe_irq.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 44/79] drm/xe: Drop unused headers in xe_mmio.c Matt Roper
` (39 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_memirq.c doesn't use anything from xe_regs.h or xe_map.h. Drop the
unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_memirq.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_memirq.c b/drivers/gpu/drm/xe/xe_memirq.c
index b0c7ce0a5d1e..811e07136efb 100644
--- a/drivers/gpu/drm/xe/xe_memirq.c
+++ b/drivers/gpu/drm/xe/xe_memirq.c
@@ -7,7 +7,6 @@
#include "regs/xe_guc_regs.h"
#include "regs/xe_irq_regs.h"
-#include "regs/xe_regs.h"
#include "xe_assert.h"
#include "xe_bo.h"
@@ -16,7 +15,6 @@
#include "xe_gt.h"
#include "xe_guc.h"
#include "xe_hw_engine.h"
-#include "xe_map.h"
#include "xe_memirq.h"
#include "xe_tile_printk.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 44/79] drm/xe: Drop unused headers in xe_mmio.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (42 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 43/79] drm/xe: Drop unused headers in xe_memirq.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 45/79] drm/xe: Drop unused headers in xe_mocs.c Matt Roper
` (38 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_mmio.c doesn't use anything from xe_regs.h, xe_gt.h, xe_gt_printk.h,
or xe_macros.h. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_mmio.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_mmio.c b/drivers/gpu/drm/xe/xe_mmio.c
index 350dca1f0925..bcb6674b7dac 100644
--- a/drivers/gpu/drm/xe/xe_mmio.c
+++ b/drivers/gpu/drm/xe/xe_mmio.c
@@ -14,12 +14,8 @@
#include <drm/drm_print.h>
#include "regs/xe_bars.h"
-#include "regs/xe_regs.h"
#include "xe_device.h"
-#include "xe_gt.h"
-#include "xe_gt_printk.h"
#include "xe_gt_sriov_vf.h"
-#include "xe_macros.h"
#include "xe_sriov.h"
#include "xe_trace.h"
#include "xe_wa.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 45/79] drm/xe: Drop unused headers in xe_mocs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (43 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 44/79] drm/xe: Drop unused headers in xe_mmio.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 46/79] drm/xe: Simplify include in xe_module.c Matt Roper
` (37 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_mocs.c doesn't use anything from xe_bo.h or xe_step_types.h. Drop
the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_mocs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
index 0b7225bd77e0..54822497c21e 100644
--- a/drivers/gpu/drm/xe/xe_mocs.c
+++ b/drivers/gpu/drm/xe/xe_mocs.c
@@ -6,7 +6,6 @@
#include "xe_mocs.h"
#include "regs/xe_gt_regs.h"
-#include "xe_bo.h"
#include "xe_device.h"
#include "xe_exec_queue.h"
#include "xe_force_wake.h"
@@ -17,7 +16,6 @@
#include "xe_platform_types.h"
#include "xe_pm.h"
#include "xe_sriov.h"
-#include "xe_step_types.h"
#if IS_ENABLED(CONFIG_DRM_XE_DEBUG)
#define mocs_dbg xe_gt_dbg
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 46/79] drm/xe: Simplify include in xe_module.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (44 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 45/79] drm/xe: Drop unused headers in xe_mocs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 47/79] drm/xe: Drop unused header in xe_nvm.c Matt Roper
` (36 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_module.c only needs the device types header and doesn't use anything
from the main device header. Replace the include of xe_device.h with
xe_device_types.h.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 9934f90691fd..a0048f64ed12 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -10,7 +10,7 @@
#include <drm/drm_module.h>
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_drv.h"
#include "xe_configfs.h"
#include "xe_hw_fence.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 47/79] drm/xe: Drop unused header in xe_nvm.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (45 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 46/79] drm/xe: Simplify include in xe_module.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 48/79] drm/xe: Drop unused headers in xe_page_reclaim.c Matt Roper
` (35 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_nvm.c doesn't use anything from xe_device.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_nvm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_nvm.c b/drivers/gpu/drm/xe/xe_nvm.c
index 01510061d4d4..437375046517 100644
--- a/drivers/gpu/drm/xe/xe_nvm.c
+++ b/drivers/gpu/drm/xe/xe_nvm.c
@@ -6,7 +6,6 @@
#include <linux/intel_dg_nvm_aux.h>
#include <linux/pci.h>
-#include "xe_device.h"
#include "xe_device_types.h"
#include "xe_mmio.h"
#include "xe_nvm.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 48/79] drm/xe: Drop unused headers in xe_page_reclaim.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (46 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 47/79] drm/xe: Drop unused header in xe_nvm.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 49/79] drm/xe: Drop unused header in xe_pci.c Matt Roper
` (34 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_page_reclaim.c doesn't use anything from xe_gt_regs.h, xe_assert.h,
xe_mmio.h, or xe_vm.h. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_page_reclaim.c b/drivers/gpu/drm/xe/xe_page_reclaim.c
index a8f35919a9da..e13c71a89da2 100644
--- a/drivers/gpu/drm/xe/xe_page_reclaim.c
+++ b/drivers/gpu/drm/xe/xe_page_reclaim.c
@@ -10,15 +10,11 @@
#include "xe_page_reclaim.h"
-#include "regs/xe_gt_regs.h"
-#include "xe_assert.h"
#include "xe_gt_stats.h"
#include "xe_macros.h"
-#include "xe_mmio.h"
#include "xe_pat.h"
#include "xe_sa.h"
#include "xe_tlb_inval_types.h"
-#include "xe_vm.h"
/**
* xe_page_reclaim_skip() - Decide whether PRL should be skipped for a VMA
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 49/79] drm/xe: Drop unused header in xe_pci.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (47 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 48/79] drm/xe: Drop unused headers in xe_page_reclaim.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 50/79] drm/xe: Simplify include in xe_psmi.c Matt Roper
` (33 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_pci.c doesn't use anything from xe_macros.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_pci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 5c705124270e..2c3656126751 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -24,7 +24,6 @@
#include "xe_gt.h"
#include "xe_gt_sriov_vf.h"
#include "xe_guc.h"
-#include "xe_macros.h"
#include "xe_mmio.h"
#include "xe_module.h"
#include "xe_pci_rebar.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 50/79] drm/xe: Simplify include in xe_psmi.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (48 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 49/79] drm/xe: Drop unused header in xe_pci.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 51/79] drm/xe: Drop unused header in xe_pxp.c Matt Roper
` (32 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_psmi.c only needs the device type header, not the full xe_device.c.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_psmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_psmi.c b/drivers/gpu/drm/xe/xe_psmi.c
index 6a54e38b81ba..899b01f72ba3 100644
--- a/drivers/gpu/drm/xe/xe_psmi.c
+++ b/drivers/gpu/drm/xe/xe_psmi.c
@@ -6,7 +6,7 @@
#include <linux/debugfs.h>
#include "xe_bo.h"
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_configfs.h"
#include "xe_psmi.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 51/79] drm/xe: Drop unused header in xe_pxp.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (49 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 50/79] drm/xe: Simplify include in xe_psmi.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 52/79] drm/xe: Simplify header in xe_pxp_debugfs.c Matt Roper
` (31 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_pxp.c doesn't use anything from xe_gt.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_pxp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_pxp.c b/drivers/gpu/drm/xe/xe_pxp.c
index 508f4c128a48..d61446bf9c19 100644
--- a/drivers/gpu/drm/xe/xe_pxp.c
+++ b/drivers/gpu/drm/xe/xe_pxp.c
@@ -15,7 +15,6 @@
#include "xe_force_wake.h"
#include "xe_guc_submit.h"
#include "xe_gsc_proxy.h"
-#include "xe_gt.h"
#include "xe_gt_types.h"
#include "xe_huc.h"
#include "xe_mmio.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 52/79] drm/xe: Simplify header in xe_pxp_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (50 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 51/79] drm/xe: Drop unused header in xe_pxp.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 53/79] drm/xe: Cleanup headers in xe_reg_sr.c Matt Roper
` (30 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_pxp_debugfs.c only needs the device type header rather than the full
device header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_pxp_debugfs.c b/drivers/gpu/drm/xe/xe_pxp_debugfs.c
index 525a2f6bb076..d6e2e41bc88c 100644
--- a/drivers/gpu/drm/xe/xe_pxp_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_pxp_debugfs.c
@@ -11,7 +11,7 @@
#include <drm/drm_managed.h>
#include <drm/drm_print.h>
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_pxp.h"
#include "xe_pxp_types.h"
#include "regs/xe_irq_regs.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 53/79] drm/xe: Cleanup headers in xe_reg_sr.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (51 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 52/79] drm/xe: Simplify header in xe_pxp_debugfs.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:03 ` [PATCH 54/79] drm/xe: Drop unused headers in xe_reg_whitelist.c Matt Roper
` (29 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
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
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 54/79] drm/xe: Drop unused headers in xe_reg_whitelist.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (52 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 53/79] drm/xe: Cleanup headers in xe_reg_sr.c Matt Roper
@ 2026-01-13 23:03 ` Matt Roper
2026-01-13 23:04 ` [PATCH 55/79] drm/xe: Cleanup headers in xe_ring_ops.c Matt Roper
` (28 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:03 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_reg_whitelist.c doesn't use anything from xe_regs.h (all of the
registers in the whitelists come from GT, OA, or engine register headers
instead). Drop the unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_reg_whitelist.c b/drivers/gpu/drm/xe/xe_reg_whitelist.c
index 1391cb6ec9c6..1d36c09681aa 100644
--- a/drivers/gpu/drm/xe/xe_reg_whitelist.c
+++ b/drivers/gpu/drm/xe/xe_reg_whitelist.c
@@ -8,7 +8,6 @@
#include "regs/xe_engine_regs.h"
#include "regs/xe_gt_regs.h"
#include "regs/xe_oa_regs.h"
-#include "regs/xe_regs.h"
#include "xe_device.h"
#include "xe_gt_types.h"
#include "xe_gt_printk.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 55/79] drm/xe: Cleanup headers in xe_ring_ops.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (53 preceding siblings ...)
2026-01-13 23:03 ` [PATCH 54/79] drm/xe: Drop unused headers in xe_reg_whitelist.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 56/79] drm/xe: Drop unused header in xe_rtp.c Matt Roper
` (27 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
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
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 56/79] drm/xe: Drop unused header in xe_rtp.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (54 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 55/79] drm/xe: Cleanup headers in xe_ring_ops.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 57/79] drm/xe: Simplify header in xe_sa.c Matt Roper
` (26 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_rtp.c doesn't use anything from xe_macros.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_rtp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_rtp.c b/drivers/gpu/drm/xe/xe_rtp.c
index ed509b1c8cfc..b7c26e2fb411 100644
--- a/drivers/gpu/drm/xe/xe_rtp.c
+++ b/drivers/gpu/drm/xe/xe_rtp.c
@@ -12,7 +12,6 @@
#include "xe_configfs.h"
#include "xe_gt.h"
#include "xe_gt_topology.h"
-#include "xe_macros.h"
#include "xe_reg_sr.h"
#include "xe_sriov.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 57/79] drm/xe: Simplify header in xe_sa.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (55 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 56/79] drm/xe: Drop unused header in xe_rtp.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 58/79] drm/xe: Simplify header in xe_sched_job.c Matt Roper
` (25 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_sa.c only needs the device type header rather than the full device
header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_sa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_sa.c b/drivers/gpu/drm/xe/xe_sa.c
index a87c1436c7c1..b738102575d4 100644
--- a/drivers/gpu/drm/xe/xe_sa.c
+++ b/drivers/gpu/drm/xe/xe_sa.c
@@ -10,7 +10,7 @@
#include <drm/drm_managed.h>
#include "xe_bo.h"
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_map.h"
static void xe_sa_bo_manager_fini(struct drm_device *drm, void *arg)
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 58/79] drm/xe: Simplify header in xe_sched_job.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (56 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 57/79] drm/xe: Simplify header in xe_sa.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 59/79] drm/xe: Drop unused header in xe_sriov_packet.c Matt Roper
` (24 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_sched_job.c only needs the GT types header rather than the full GT
header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_sched_job.c b/drivers/gpu/drm/xe/xe_sched_job.c
index 39aec7f6d86d..3927666fe556 100644
--- a/drivers/gpu/drm/xe/xe_sched_job.c
+++ b/drivers/gpu/drm/xe/xe_sched_job.c
@@ -11,7 +11,7 @@
#include "xe_device.h"
#include "xe_exec_queue.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_hw_engine_types.h"
#include "xe_hw_fence.h"
#include "xe_lrc.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 59/79] drm/xe: Drop unused header in xe_sriov_packet.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (57 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 58/79] drm/xe: Simplify header in xe_sched_job.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 60/79] drm/xe: Drop unused header in xe_sriov_pf_debugfs.c Matt Roper
` (23 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_sriov_packet.c doesn't use anything from xe_printk.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_sriov_packet.c b/drivers/gpu/drm/xe/xe_sriov_packet.c
index 2cefefaed9ba..7a4c3de662e5 100644
--- a/drivers/gpu/drm/xe/xe_sriov_packet.c
+++ b/drivers/gpu/drm/xe/xe_sriov_packet.c
@@ -6,7 +6,6 @@
#include "xe_bo.h"
#include "xe_device.h"
#include "xe_guc_klv_helpers.h"
-#include "xe_printk.h"
#include "xe_sriov_packet.h"
#include "xe_sriov_packet_types.h"
#include "xe_sriov_pf_helpers.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 60/79] drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (58 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 59/79] drm/xe: Drop unused header in xe_sriov_packet.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 61/79] drm/xe: Drop unused header in xe_sriov_vf.c Matt Roper
` (22 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_sriov_pf_debugfs.c doesn't use anything from xe_sriov_printk.h. Drop
the unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c b/drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c
index e84bdde9bc80..81b377830d6d 100644
--- a/drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c
@@ -16,7 +16,6 @@
#include "xe_sriov_pf_migration.h"
#include "xe_sriov_pf_provision.h"
#include "xe_sriov_pf_service.h"
-#include "xe_sriov_printk.h"
#include "xe_tile_sriov_pf_debugfs.h"
/*
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 61/79] drm/xe: Drop unused header in xe_sriov_vf.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (59 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 60/79] drm/xe: Drop unused header in xe_sriov_pf_debugfs.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 62/79] drm/xe: Cleanup headers in xe_step.c Matt Roper
` (21 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_sriov_vf.c doesn't need anything from xe_gt.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_sriov_vf.c b/drivers/gpu/drm/xe/xe_sriov_vf.c
index 1b75405b8d02..29894bd081c0 100644
--- a/drivers/gpu/drm/xe/xe_sriov_vf.c
+++ b/drivers/gpu/drm/xe/xe_sriov_vf.c
@@ -6,7 +6,6 @@
#include <drm/drm_debugfs.h>
#include <drm/drm_managed.h>
-#include "xe_gt.h"
#include "xe_gt_sriov_vf.h"
#include "xe_guc.h"
#include "xe_sriov_printk.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 62/79] drm/xe: Cleanup headers in xe_step.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (60 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 61/79] drm/xe: Drop unused header in xe_sriov_vf.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 63/79] drm/xe: Drop unused header in xe_survivability_mode.c Matt Roper
` (20 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_step.c only needs the device types header, not the full device
header. Drop the unnecessary include. However it does require
drm_print.h, which was being indirectly included via the device header
so also add an explicit include of drm_print.h.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_step.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_step.c b/drivers/gpu/drm/xe/xe_step.c
index 10e88f2c9615..2860986f82f7 100644
--- a/drivers/gpu/drm/xe/xe_step.c
+++ b/drivers/gpu/drm/xe/xe_step.c
@@ -5,10 +5,11 @@
#include "xe_step.h"
+#include <drm/drm_print.h>
#include <kunit/visibility.h>
#include <linux/bitfield.h>
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_platform_types.h"
/*
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 63/79] drm/xe: Drop unused header in xe_survivability_mode.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (61 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 62/79] drm/xe: Cleanup headers in xe_step.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 64/79] drm/xe: Cleanup headers in xe_tile.c Matt Roper
` (19 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_survivability_mode.c doesn't use anything from xe_gt.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_survivability_mode.c b/drivers/gpu/drm/xe/xe_survivability_mode.c
index 31456f432fc8..6578ffc77bd5 100644
--- a/drivers/gpu/drm/xe/xe_survivability_mode.c
+++ b/drivers/gpu/drm/xe/xe_survivability_mode.c
@@ -12,7 +12,6 @@
#include "xe_configfs.h"
#include "xe_device.h"
-#include "xe_gt.h"
#include "xe_heci_gsc.h"
#include "xe_i2c.h"
#include "xe_mmio.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 64/79] drm/xe: Cleanup headers in xe_tile.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (62 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 63/79] drm/xe: Drop unused header in xe_survivability_mode.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 65/79] drm/xe: Cleanup headers in xe_tlb_inval.c Matt Roper
` (18 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_tile.c only needs the device 'types' header rather than the full
device header. It also doesn't use anything from xe_gt.h. Drop/replace
the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_tile.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_tile.c b/drivers/gpu/drm/xe/xe_tile.c
index eb262aad11da..c465aae7883c 100644
--- a/drivers/gpu/drm/xe/xe_tile.c
+++ b/drivers/gpu/drm/xe/xe_tile.c
@@ -9,9 +9,8 @@
#include <drm/drm_pagemap_util.h>
#include "xe_bo.h"
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_ggtt.h"
-#include "xe_gt.h"
#include "xe_memirq.h"
#include "xe_migrate.h"
#include "xe_pcode.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 65/79] drm/xe: Cleanup headers in xe_tlb_inval.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (63 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 64/79] drm/xe: Cleanup headers in xe_tile.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 66/79] drm/xe: Drop unused header in xe_ttm_stolen_mgr.c Matt Roper
` (17 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_tlb.inval.c doesn't need anything from abi/guc_actions_abi.h,
xe_gt_printk.h, or xe_guc.h. It also only needs the "types" headers for
GT/device rather than the full headers. Drop the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_tlb_inval.c b/drivers/gpu/drm/xe/xe_tlb_inval.c
index dec042248164..8f6c2c665d91 100644
--- a/drivers/gpu/drm/xe/xe_tlb_inval.c
+++ b/drivers/gpu/drm/xe/xe_tlb_inval.c
@@ -5,13 +5,10 @@
#include <drm/drm_managed.h>
-#include "abi/guc_actions_abi.h"
-#include "xe_device.h"
+#include "xe_device_types.h"
#include "xe_force_wake.h"
-#include "xe_gt.h"
-#include "xe_gt_printk.h"
#include "xe_gt_stats.h"
-#include "xe_guc.h"
+#include "xe_gt_types.h"
#include "xe_guc_ct.h"
#include "xe_guc_tlb_inval.h"
#include "xe_mmio.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 66/79] drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (64 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 65/79] drm/xe: Cleanup headers in xe_tlb_inval.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 67/79] drm/xe: Drop unused header in xe_ttm_sys_mgr.c Matt Roper
` (16 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_ttm_stolen_mgr.c doesn't need anything from xe_gt.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
index 1bddecfb723a..27c9d72222cf 100644
--- a/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
+++ b/drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
@@ -17,7 +17,6 @@
#include "regs/xe_regs.h"
#include "xe_bo.h"
#include "xe_device.h"
-#include "xe_gt.h"
#include "xe_gt_printk.h"
#include "xe_mmio.h"
#include "xe_res_cursor.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 67/79] drm/xe: Drop unused header in xe_ttm_sys_mgr.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (65 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 66/79] drm/xe: Drop unused header in xe_ttm_stolen_mgr.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 68/79] drm/xe: Drop unused header in xe_ttm_vram_mgr.c Matt Roper
` (15 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_ttm_sys_mgr.c doesn't need anything from xe_gt.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_ttm_sys_mgr.c b/drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
index 3e404eb8d098..99fb7e99eb7f 100644
--- a/drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
+++ b/drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
@@ -13,7 +13,6 @@
#include <drm/ttm/ttm_tt.h>
#include "xe_bo.h"
-#include "xe_gt.h"
struct xe_ttm_sys_node {
struct ttm_buffer_object *tbo;
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 68/79] drm/xe: Drop unused header in xe_ttm_vram_mgr.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (66 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 67/79] drm/xe: Drop unused header in xe_ttm_sys_mgr.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 69/79] drm/xe: Drop unused headers in xe_uc.c Matt Roper
` (14 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_ttm_vram_mgr.c doesn't need anything from xe_gt.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
index 9f70802fce92..6553a19f7cf2 100644
--- a/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
+++ b/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
@@ -12,7 +12,6 @@
#include "xe_bo.h"
#include "xe_device.h"
-#include "xe_gt.h"
#include "xe_res_cursor.h"
#include "xe_ttm_vram_mgr.h"
#include "xe_vram_types.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 69/79] drm/xe: Drop unused headers in xe_uc.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (67 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 68/79] drm/xe: Drop unused header in xe_ttm_vram_mgr.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 70/79] drm/xe: Cleanup headers in xe_uc_debugfs.c Matt Roper
` (13 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_uc.c doesn't use anything from xe_gsc_proxy.h or xe_uc_fw.h. Drop
the unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_uc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_uc.c b/drivers/gpu/drm/xe/xe_uc.c
index 157520ea1783..3f63c2a7e86d 100644
--- a/drivers/gpu/drm/xe/xe_uc.c
+++ b/drivers/gpu/drm/xe/xe_uc.c
@@ -8,7 +8,6 @@
#include "xe_assert.h"
#include "xe_device.h"
#include "xe_gsc.h"
-#include "xe_gsc_proxy.h"
#include "xe_gt.h"
#include "xe_gt_printk.h"
#include "xe_gt_sriov_vf.h"
@@ -17,7 +16,6 @@
#include "xe_guc_engine_activity.h"
#include "xe_huc.h"
#include "xe_sriov.h"
-#include "xe_uc_fw.h"
#include "xe_wopcm.h"
static struct xe_gt *
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 70/79] drm/xe: Cleanup headers in xe_uc_debugfs.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (68 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 69/79] drm/xe: Drop unused headers in xe_uc.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 71/79] drm/xe: Simplify header in xe_uc_fw.c Matt Roper
` (12 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_uc_debugfs.c doesn't directly use anything from xe_gt.h; it only
needs to implicit inclusion of xe_uc_types.h. Directly include the UC
type header and drop the GT header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_uc_debugfs.c b/drivers/gpu/drm/xe/xe_uc_debugfs.c
index 24a4209051ee..45119993f5cb 100644
--- a/drivers/gpu/drm/xe/xe_uc_debugfs.c
+++ b/drivers/gpu/drm/xe/xe_uc_debugfs.c
@@ -7,12 +7,12 @@
#include <drm/drm_debugfs.h>
-#include "xe_gt.h"
#include "xe_gsc_debugfs.h"
#include "xe_guc_debugfs.h"
#include "xe_huc_debugfs.h"
#include "xe_macros.h"
#include "xe_uc_debugfs.h"
+#include "xe_uc_types.h"
void xe_uc_debugfs_register(struct xe_uc *uc, struct dentry *parent)
{
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 71/79] drm/xe: Simplify header in xe_uc_fw.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (69 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 70/79] drm/xe: Cleanup headers in xe_uc_debugfs.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 72/79] drm/xe: Drop unused header in xe_validation.c Matt Roper
` (11 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_uc_fw.c only needs the GT 'types' header rather than the full GT
header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_uc_fw.c b/drivers/gpu/drm/xe/xe_uc_fw.c
index 7455ac3300c6..6a8e692fd7a1 100644
--- a/drivers/gpu/drm/xe/xe_uc_fw.c
+++ b/drivers/gpu/drm/xe/xe_uc_fw.c
@@ -14,9 +14,9 @@
#include "xe_device_types.h"
#include "xe_force_wake.h"
#include "xe_gsc.h"
-#include "xe_gt.h"
#include "xe_gt_printk.h"
#include "xe_gt_sriov_vf.h"
+#include "xe_gt_types.h"
#include "xe_guc.h"
#include "xe_map.h"
#include "xe_mmio.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 72/79] drm/xe: Drop unused header in xe_validation.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (70 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 71/79] drm/xe: Simplify header in xe_uc_fw.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 73/79] drm/xe: Drop unused header in xe_vm.c Matt Roper
` (10 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_validation.c doesn't use anything from xe_bo.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_validation.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_validation.c b/drivers/gpu/drm/xe/xe_validation.c
index 826cd09966ef..a611438eaafe 100644
--- a/drivers/gpu/drm/xe/xe_validation.c
+++ b/drivers/gpu/drm/xe/xe_validation.c
@@ -2,7 +2,6 @@
/*
* Copyright © 2024 Intel Corporation
*/
-#include "xe_bo.h"
#include <drm/drm_exec.h>
#include <drm/drm_gem.h>
#include <drm/drm_gpuvm.h>
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 73/79] drm/xe: Drop unused header in xe_vm.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (71 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 72/79] drm/xe: Drop unused header in xe_validation.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 74/79] drm/xe: Drop unused headers in xe_vram.c Matt Roper
` (9 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_vm.c doesn't use anything from xe_res_cursor.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_vm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
index 694f592a0f01..4a316bd49135 100644
--- a/drivers/gpu/drm/xe/xe_vm.c
+++ b/drivers/gpu/drm/xe/xe_vm.c
@@ -33,7 +33,6 @@
#include "xe_preempt_fence.h"
#include "xe_pt.h"
#include "xe_pxp.h"
-#include "xe_res_cursor.h"
#include "xe_sriov_vf.h"
#include "xe_svm.h"
#include "xe_sync.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 74/79] drm/xe: Drop unused headers in xe_vram.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (72 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 73/79] drm/xe: Drop unused header in xe_vm.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 75/79] drm/xe: Drop unused header in xe_vram_freq.c Matt Roper
` (8 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_vram.c doesn't use anything from xe_bo.h or xe_module.h. Drop the
unnecessary includes.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_vram.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_vram.c b/drivers/gpu/drm/xe/xe_vram.c
index c64d98bf1723..77a06418892d 100644
--- a/drivers/gpu/drm/xe/xe_vram.c
+++ b/drivers/gpu/drm/xe/xe_vram.c
@@ -13,12 +13,10 @@
#include "regs/xe_gt_regs.h"
#include "regs/xe_regs.h"
#include "xe_assert.h"
-#include "xe_bo.h"
#include "xe_device.h"
#include "xe_force_wake.h"
#include "xe_gt_mcr.h"
#include "xe_mmio.h"
-#include "xe_module.h"
#include "xe_sriov.h"
#include "xe_tile_sriov_vf.h"
#include "xe_ttm_vram_mgr.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 75/79] drm/xe: Drop unused header in xe_vram_freq.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (73 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 74/79] drm/xe: Drop unused headers in xe_vram.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 76/79] drm/xe: Drop unused header in xe_vsec.c Matt Roper
` (7 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_vram_freq.c doesn't use anything from xe_gt_types.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_vram_freq.c b/drivers/gpu/drm/xe/xe_vram_freq.c
index 17bc84da4cdc..6f8281e0b96a 100644
--- a/drivers/gpu/drm/xe/xe_vram_freq.c
+++ b/drivers/gpu/drm/xe/xe_vram_freq.c
@@ -5,7 +5,6 @@
#include <linux/sysfs.h>
#include <drm/drm_managed.h>
-#include "xe_gt_types.h"
#include "xe_pcode.h"
#include "xe_pcode_api.h"
#include "xe_tile.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 76/79] drm/xe: Drop unused header in xe_vsec.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (74 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 75/79] drm/xe: Drop unused header in xe_vram_freq.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 77/79] drm/xe: Simplify header in xe_wa.c Matt Roper
` (6 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_vsec.c doesn't use anything from xe_drv.h. Drop the unnecessary
include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_vsec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_vsec.c b/drivers/gpu/drm/xe/xe_vsec.c
index c83ea3d48fae..4ebb4dbe1c9b 100644
--- a/drivers/gpu/drm/xe/xe_vsec.c
+++ b/drivers/gpu/drm/xe/xe_vsec.c
@@ -12,7 +12,6 @@
#include "xe_device.h"
#include "xe_device_types.h"
-#include "xe_drv.h"
#include "xe_mmio.h"
#include "xe_platform_types.h"
#include "xe_pm.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 77/79] drm/xe: Simplify header in xe_wa.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (75 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 76/79] drm/xe: Drop unused header in xe_vsec.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 78/79] drm/xe: Drop unused header in xe_wait_user_fence.c Matt Roper
` (5 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_wa.c doesn't use anything from xe_gt.h and only needs the
corresponding 'types' header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_wa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
index a93717e77da0..a991ee2b8781 100644
--- a/drivers/gpu/drm/xe/xe_wa.c
+++ b/drivers/gpu/drm/xe/xe_wa.c
@@ -19,7 +19,7 @@
#include "regs/xe_regs.h"
#include "xe_device_types.h"
#include "xe_force_wake.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_hw_engine_types.h"
#include "xe_mmio.h"
#include "xe_platform_types.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 78/79] drm/xe: Drop unused header in xe_wait_user_fence.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (76 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 77/79] drm/xe: Simplify header in xe_wa.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:04 ` [PATCH 79/79] drm/xe: Simplify header in xe_wopcm.c Matt Roper
` (4 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_wait_user_fence.c doesn't use anything from xe_gt.h. Drop the
unnecessary include.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_wait_user_fence.c b/drivers/gpu/drm/xe/xe_wait_user_fence.c
index 5b4264ea38bd..51eb940ceb4e 100644
--- a/drivers/gpu/drm/xe/xe_wait_user_fence.c
+++ b/drivers/gpu/drm/xe/xe_wait_user_fence.c
@@ -11,7 +11,6 @@
#include <uapi/drm/xe_drm.h>
#include "xe_device.h"
-#include "xe_gt.h"
#include "xe_macros.h"
#include "xe_exec_queue.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* [PATCH 79/79] drm/xe: Simplify header in xe_wopcm.c
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (77 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 78/79] drm/xe: Drop unused header in xe_wait_user_fence.c Matt Roper
@ 2026-01-13 23:04 ` Matt Roper
2026-01-13 23:17 ` ✓ CI.KUnit: success for Cleanup unused headers reported by clangd Patchwork
` (3 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-13 23:04 UTC (permalink / raw)
To: intel-xe; +Cc: matthew.d.roper
xe_wopcm.c only needs the GT type header rather than the full GT header.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_wopcm.c b/drivers/gpu/drm/xe/xe_wopcm.c
index ada0d0aa6b74..dde4f4967ca3 100644
--- a/drivers/gpu/drm/xe/xe_wopcm.c
+++ b/drivers/gpu/drm/xe/xe_wopcm.c
@@ -10,7 +10,7 @@
#include "regs/xe_guc_regs.h"
#include "xe_device.h"
#include "xe_force_wake.h"
-#include "xe_gt.h"
+#include "xe_gt_types.h"
#include "xe_mmio.h"
#include "xe_uc_fw.h"
--
2.52.0
^ permalink raw reply related [flat|nested] 93+ messages in thread
* ✓ CI.KUnit: success for Cleanup unused headers reported by clangd
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (78 preceding siblings ...)
2026-01-13 23:04 ` [PATCH 79/79] drm/xe: Simplify header in xe_wopcm.c Matt Roper
@ 2026-01-13 23:17 ` Patchwork
2026-01-14 0:03 ` ✓ Xe.CI.BAT: " Patchwork
` (2 subsequent siblings)
82 siblings, 0 replies; 93+ messages in thread
From: Patchwork @ 2026-01-13 23:17 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
== Series Details ==
Series: Cleanup unused headers reported by clangd
URL : https://patchwork.freedesktop.org/series/160053/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[23:15:49] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:15:53] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[23:16:25] Starting KUnit Kernel (1/1)...
[23:16:25] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:16:25] ================== guc_buf (11 subtests) ===================
[23:16:25] [PASSED] test_smallest
[23:16:25] [PASSED] test_largest
[23:16:25] [PASSED] test_granular
[23:16:25] [PASSED] test_unique
[23:16:25] [PASSED] test_overlap
[23:16:25] [PASSED] test_reusable
[23:16:25] [PASSED] test_too_big
[23:16:25] [PASSED] test_flush
[23:16:25] [PASSED] test_lookup
[23:16:25] [PASSED] test_data
[23:16:25] [PASSED] test_class
[23:16:25] ===================== [PASSED] guc_buf =====================
[23:16:25] =================== guc_dbm (7 subtests) ===================
[23:16:25] [PASSED] test_empty
[23:16:25] [PASSED] test_default
[23:16:25] ======================== test_size ========================
[23:16:25] [PASSED] 4
[23:16:25] [PASSED] 8
[23:16:25] [PASSED] 32
[23:16:25] [PASSED] 256
[23:16:25] ==================== [PASSED] test_size ====================
[23:16:25] ======================= test_reuse ========================
[23:16:25] [PASSED] 4
[23:16:25] [PASSED] 8
[23:16:25] [PASSED] 32
[23:16:25] [PASSED] 256
[23:16:25] =================== [PASSED] test_reuse ====================
[23:16:25] =================== test_range_overlap ====================
[23:16:25] [PASSED] 4
[23:16:25] [PASSED] 8
[23:16:25] [PASSED] 32
[23:16:25] [PASSED] 256
[23:16:25] =============== [PASSED] test_range_overlap ================
[23:16:25] =================== test_range_compact ====================
[23:16:25] [PASSED] 4
[23:16:25] [PASSED] 8
[23:16:25] [PASSED] 32
[23:16:25] [PASSED] 256
[23:16:25] =============== [PASSED] test_range_compact ================
[23:16:25] ==================== test_range_spare =====================
[23:16:25] [PASSED] 4
[23:16:25] [PASSED] 8
[23:16:25] [PASSED] 32
[23:16:25] [PASSED] 256
[23:16:25] ================ [PASSED] test_range_spare =================
[23:16:25] ===================== [PASSED] guc_dbm =====================
[23:16:25] =================== guc_idm (6 subtests) ===================
[23:16:25] [PASSED] bad_init
[23:16:25] [PASSED] no_init
[23:16:25] [PASSED] init_fini
[23:16:25] [PASSED] check_used
[23:16:25] [PASSED] check_quota
[23:16:25] [PASSED] check_all
[23:16:25] ===================== [PASSED] guc_idm =====================
[23:16:25] ================== no_relay (3 subtests) ===================
[23:16:25] [PASSED] xe_drops_guc2pf_if_not_ready
[23:16:25] [PASSED] xe_drops_guc2vf_if_not_ready
[23:16:25] [PASSED] xe_rejects_send_if_not_ready
[23:16:25] ==================== [PASSED] no_relay =====================
[23:16:25] ================== pf_relay (14 subtests) ==================
[23:16:25] [PASSED] pf_rejects_guc2pf_too_short
[23:16:25] [PASSED] pf_rejects_guc2pf_too_long
[23:16:25] [PASSED] pf_rejects_guc2pf_no_payload
[23:16:25] [PASSED] pf_fails_no_payload
[23:16:25] [PASSED] pf_fails_bad_origin
[23:16:25] [PASSED] pf_fails_bad_type
[23:16:25] [PASSED] pf_txn_reports_error
[23:16:25] [PASSED] pf_txn_sends_pf2guc
[23:16:25] [PASSED] pf_sends_pf2guc
[23:16:25] [SKIPPED] pf_loopback_nop
[23:16:25] [SKIPPED] pf_loopback_echo
[23:16:25] [SKIPPED] pf_loopback_fail
[23:16:25] [SKIPPED] pf_loopback_busy
[23:16:25] [SKIPPED] pf_loopback_retry
[23:16:25] ==================== [PASSED] pf_relay =====================
[23:16:25] ================== vf_relay (3 subtests) ===================
[23:16:25] [PASSED] vf_rejects_guc2vf_too_short
[23:16:25] [PASSED] vf_rejects_guc2vf_too_long
[23:16:25] [PASSED] vf_rejects_guc2vf_no_payload
[23:16:25] ==================== [PASSED] vf_relay =====================
[23:16:25] ================ pf_gt_config (6 subtests) =================
[23:16:25] [PASSED] fair_contexts_1vf
[23:16:25] [PASSED] fair_doorbells_1vf
[23:16:25] [PASSED] fair_ggtt_1vf
[23:16:25] ====================== fair_contexts ======================
[23:16:25] [PASSED] 1 VF
[23:16:25] [PASSED] 2 VFs
[23:16:25] [PASSED] 3 VFs
[23:16:25] [PASSED] 4 VFs
[23:16:25] [PASSED] 5 VFs
[23:16:25] [PASSED] 6 VFs
[23:16:25] [PASSED] 7 VFs
[23:16:25] [PASSED] 8 VFs
[23:16:25] [PASSED] 9 VFs
[23:16:25] [PASSED] 10 VFs
[23:16:25] [PASSED] 11 VFs
[23:16:25] [PASSED] 12 VFs
[23:16:25] [PASSED] 13 VFs
[23:16:25] [PASSED] 14 VFs
[23:16:25] [PASSED] 15 VFs
[23:16:25] [PASSED] 16 VFs
[23:16:25] [PASSED] 17 VFs
[23:16:25] [PASSED] 18 VFs
[23:16:25] [PASSED] 19 VFs
[23:16:25] [PASSED] 20 VFs
[23:16:25] [PASSED] 21 VFs
[23:16:25] [PASSED] 22 VFs
[23:16:25] [PASSED] 23 VFs
[23:16:25] [PASSED] 24 VFs
[23:16:25] [PASSED] 25 VFs
[23:16:25] [PASSED] 26 VFs
[23:16:25] [PASSED] 27 VFs
[23:16:25] [PASSED] 28 VFs
[23:16:25] [PASSED] 29 VFs
[23:16:25] [PASSED] 30 VFs
[23:16:25] [PASSED] 31 VFs
[23:16:25] [PASSED] 32 VFs
[23:16:25] [PASSED] 33 VFs
[23:16:25] [PASSED] 34 VFs
[23:16:25] [PASSED] 35 VFs
[23:16:25] [PASSED] 36 VFs
[23:16:25] [PASSED] 37 VFs
[23:16:25] [PASSED] 38 VFs
[23:16:25] [PASSED] 39 VFs
[23:16:25] [PASSED] 40 VFs
[23:16:25] [PASSED] 41 VFs
[23:16:25] [PASSED] 42 VFs
[23:16:25] [PASSED] 43 VFs
[23:16:25] [PASSED] 44 VFs
[23:16:25] [PASSED] 45 VFs
[23:16:25] [PASSED] 46 VFs
[23:16:25] [PASSED] 47 VFs
[23:16:25] [PASSED] 48 VFs
[23:16:25] [PASSED] 49 VFs
[23:16:25] [PASSED] 50 VFs
[23:16:25] [PASSED] 51 VFs
[23:16:25] [PASSED] 52 VFs
[23:16:25] [PASSED] 53 VFs
[23:16:25] [PASSED] 54 VFs
[23:16:25] [PASSED] 55 VFs
[23:16:25] [PASSED] 56 VFs
[23:16:25] [PASSED] 57 VFs
[23:16:25] [PASSED] 58 VFs
[23:16:25] [PASSED] 59 VFs
[23:16:25] [PASSED] 60 VFs
[23:16:25] [PASSED] 61 VFs
[23:16:25] [PASSED] 62 VFs
[23:16:25] [PASSED] 63 VFs
[23:16:25] ================== [PASSED] fair_contexts ==================
[23:16:25] ===================== fair_doorbells ======================
[23:16:25] [PASSED] 1 VF
[23:16:25] [PASSED] 2 VFs
[23:16:25] [PASSED] 3 VFs
[23:16:25] [PASSED] 4 VFs
[23:16:25] [PASSED] 5 VFs
[23:16:25] [PASSED] 6 VFs
[23:16:25] [PASSED] 7 VFs
[23:16:25] [PASSED] 8 VFs
[23:16:25] [PASSED] 9 VFs
[23:16:25] [PASSED] 10 VFs
[23:16:25] [PASSED] 11 VFs
[23:16:25] [PASSED] 12 VFs
[23:16:25] [PASSED] 13 VFs
[23:16:25] [PASSED] 14 VFs
[23:16:25] [PASSED] 15 VFs
[23:16:25] [PASSED] 16 VFs
[23:16:25] [PASSED] 17 VFs
[23:16:25] [PASSED] 18 VFs
[23:16:25] [PASSED] 19 VFs
[23:16:25] [PASSED] 20 VFs
[23:16:25] [PASSED] 21 VFs
[23:16:25] [PASSED] 22 VFs
[23:16:25] [PASSED] 23 VFs
[23:16:25] [PASSED] 24 VFs
[23:16:25] [PASSED] 25 VFs
[23:16:25] [PASSED] 26 VFs
[23:16:25] [PASSED] 27 VFs
[23:16:25] [PASSED] 28 VFs
[23:16:25] [PASSED] 29 VFs
[23:16:25] [PASSED] 30 VFs
[23:16:25] [PASSED] 31 VFs
[23:16:25] [PASSED] 32 VFs
[23:16:25] [PASSED] 33 VFs
[23:16:25] [PASSED] 34 VFs
[23:16:25] [PASSED] 35 VFs
[23:16:25] [PASSED] 36 VFs
[23:16:25] [PASSED] 37 VFs
[23:16:25] [PASSED] 38 VFs
[23:16:25] [PASSED] 39 VFs
[23:16:25] [PASSED] 40 VFs
[23:16:25] [PASSED] 41 VFs
[23:16:25] [PASSED] 42 VFs
[23:16:25] [PASSED] 43 VFs
[23:16:25] [PASSED] 44 VFs
[23:16:25] [PASSED] 45 VFs
[23:16:25] [PASSED] 46 VFs
[23:16:25] [PASSED] 47 VFs
[23:16:25] [PASSED] 48 VFs
[23:16:25] [PASSED] 49 VFs
[23:16:25] [PASSED] 50 VFs
[23:16:25] [PASSED] 51 VFs
[23:16:25] [PASSED] 52 VFs
[23:16:25] [PASSED] 53 VFs
[23:16:25] [PASSED] 54 VFs
[23:16:25] [PASSED] 55 VFs
[23:16:25] [PASSED] 56 VFs
[23:16:25] [PASSED] 57 VFs
[23:16:25] [PASSED] 58 VFs
[23:16:25] [PASSED] 59 VFs
[23:16:25] [PASSED] 60 VFs
[23:16:25] [PASSED] 61 VFs
[23:16:25] [PASSED] 62 VFs
[23:16:25] [PASSED] 63 VFs
[23:16:25] ================= [PASSED] fair_doorbells ==================
[23:16:25] ======================== fair_ggtt ========================
[23:16:25] [PASSED] 1 VF
[23:16:25] [PASSED] 2 VFs
[23:16:25] [PASSED] 3 VFs
[23:16:25] [PASSED] 4 VFs
[23:16:25] [PASSED] 5 VFs
[23:16:25] [PASSED] 6 VFs
[23:16:25] [PASSED] 7 VFs
[23:16:25] [PASSED] 8 VFs
[23:16:25] [PASSED] 9 VFs
[23:16:25] [PASSED] 10 VFs
[23:16:25] [PASSED] 11 VFs
[23:16:25] [PASSED] 12 VFs
[23:16:25] [PASSED] 13 VFs
[23:16:25] [PASSED] 14 VFs
[23:16:25] [PASSED] 15 VFs
[23:16:25] [PASSED] 16 VFs
[23:16:25] [PASSED] 17 VFs
[23:16:25] [PASSED] 18 VFs
[23:16:25] [PASSED] 19 VFs
[23:16:25] [PASSED] 20 VFs
[23:16:25] [PASSED] 21 VFs
[23:16:25] [PASSED] 22 VFs
[23:16:25] [PASSED] 23 VFs
[23:16:25] [PASSED] 24 VFs
[23:16:25] [PASSED] 25 VFs
[23:16:25] [PASSED] 26 VFs
[23:16:25] [PASSED] 27 VFs
[23:16:25] [PASSED] 28 VFs
[23:16:25] [PASSED] 29 VFs
[23:16:25] [PASSED] 30 VFs
[23:16:25] [PASSED] 31 VFs
[23:16:25] [PASSED] 32 VFs
[23:16:25] [PASSED] 33 VFs
[23:16:25] [PASSED] 34 VFs
[23:16:25] [PASSED] 35 VFs
[23:16:25] [PASSED] 36 VFs
[23:16:25] [PASSED] 37 VFs
[23:16:25] [PASSED] 38 VFs
[23:16:25] [PASSED] 39 VFs
[23:16:25] [PASSED] 40 VFs
[23:16:25] [PASSED] 41 VFs
[23:16:25] [PASSED] 42 VFs
[23:16:25] [PASSED] 43 VFs
[23:16:25] [PASSED] 44 VFs
[23:16:25] [PASSED] 45 VFs
[23:16:25] [PASSED] 46 VFs
[23:16:25] [PASSED] 47 VFs
[23:16:25] [PASSED] 48 VFs
[23:16:25] [PASSED] 49 VFs
[23:16:25] [PASSED] 50 VFs
[23:16:25] [PASSED] 51 VFs
[23:16:25] [PASSED] 52 VFs
[23:16:25] [PASSED] 53 VFs
[23:16:25] [PASSED] 54 VFs
[23:16:25] [PASSED] 55 VFs
[23:16:25] [PASSED] 56 VFs
[23:16:25] [PASSED] 57 VFs
[23:16:25] [PASSED] 58 VFs
[23:16:25] [PASSED] 59 VFs
[23:16:25] [PASSED] 60 VFs
[23:16:25] [PASSED] 61 VFs
[23:16:25] [PASSED] 62 VFs
[23:16:25] [PASSED] 63 VFs
[23:16:25] ==================== [PASSED] fair_ggtt ====================
[23:16:25] ================== [PASSED] pf_gt_config ===================
[23:16:25] ===================== lmtt (1 subtest) =====================
[23:16:25] ======================== test_ops =========================
[23:16:25] [PASSED] 2-level
[23:16:25] [PASSED] multi-level
[23:16:25] ==================== [PASSED] test_ops =====================
[23:16:25] ====================== [PASSED] lmtt =======================
[23:16:25] ================= pf_service (11 subtests) =================
[23:16:25] [PASSED] pf_negotiate_any
[23:16:25] [PASSED] pf_negotiate_base_match
[23:16:25] [PASSED] pf_negotiate_base_newer
[23:16:25] [PASSED] pf_negotiate_base_next
[23:16:25] [SKIPPED] pf_negotiate_base_older
[23:16:25] [PASSED] pf_negotiate_base_prev
[23:16:25] [PASSED] pf_negotiate_latest_match
[23:16:25] [PASSED] pf_negotiate_latest_newer
[23:16:25] [PASSED] pf_negotiate_latest_next
[23:16:25] [SKIPPED] pf_negotiate_latest_older
[23:16:25] [SKIPPED] pf_negotiate_latest_prev
[23:16:25] =================== [PASSED] pf_service ====================
[23:16:25] ================= xe_guc_g2g (2 subtests) ==================
[23:16:25] ============== xe_live_guc_g2g_kunit_default ==============
[23:16:25] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[23:16:25] ============== xe_live_guc_g2g_kunit_allmem ===============
[23:16:25] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[23:16:25] =================== [SKIPPED] xe_guc_g2g ===================
[23:16:25] =================== xe_mocs (2 subtests) ===================
[23:16:25] ================ xe_live_mocs_kernel_kunit ================
[23:16:25] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[23:16:25] ================ xe_live_mocs_reset_kunit =================
[23:16:25] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[23:16:25] ==================== [SKIPPED] xe_mocs =====================
[23:16:25] ================= xe_migrate (2 subtests) ==================
[23:16:25] ================= xe_migrate_sanity_kunit =================
[23:16:25] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[23:16:25] ================== xe_validate_ccs_kunit ==================
[23:16:25] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[23:16:25] =================== [SKIPPED] xe_migrate ===================
[23:16:25] ================== xe_dma_buf (1 subtest) ==================
[23:16:25] ==================== xe_dma_buf_kunit =====================
[23:16:25] ================ [SKIPPED] xe_dma_buf_kunit ================
[23:16:25] =================== [SKIPPED] xe_dma_buf ===================
[23:16:25] ================= xe_bo_shrink (1 subtest) =================
[23:16:25] =================== xe_bo_shrink_kunit ====================
[23:16:25] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[23:16:25] ================== [SKIPPED] xe_bo_shrink ==================
[23:16:25] ==================== xe_bo (2 subtests) ====================
[23:16:25] ================== xe_ccs_migrate_kunit ===================
[23:16:25] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[23:16:25] ==================== xe_bo_evict_kunit ====================
[23:16:25] =============== [SKIPPED] xe_bo_evict_kunit ================
[23:16:25] ===================== [SKIPPED] xe_bo ======================
[23:16:25] ==================== args (13 subtests) ====================
[23:16:25] [PASSED] count_args_test
[23:16:25] [PASSED] call_args_example
[23:16:25] [PASSED] call_args_test
[23:16:25] [PASSED] drop_first_arg_example
[23:16:25] [PASSED] drop_first_arg_test
[23:16:25] [PASSED] first_arg_example
[23:16:25] [PASSED] first_arg_test
[23:16:25] [PASSED] last_arg_example
[23:16:25] [PASSED] last_arg_test
[23:16:25] [PASSED] pick_arg_example
[23:16:25] [PASSED] if_args_example
[23:16:25] [PASSED] if_args_test
[23:16:25] [PASSED] sep_comma_example
[23:16:25] ====================== [PASSED] args =======================
[23:16:25] =================== xe_pci (3 subtests) ====================
[23:16:25] ==================== check_graphics_ip ====================
[23:16:25] [PASSED] 12.00 Xe_LP
[23:16:25] [PASSED] 12.10 Xe_LP+
[23:16:25] [PASSED] 12.55 Xe_HPG
[23:16:25] [PASSED] 12.60 Xe_HPC
[23:16:25] [PASSED] 12.70 Xe_LPG
[23:16:25] [PASSED] 12.71 Xe_LPG
[23:16:25] [PASSED] 12.74 Xe_LPG+
[23:16:25] [PASSED] 20.01 Xe2_HPG
[23:16:25] [PASSED] 20.02 Xe2_HPG
[23:16:25] [PASSED] 20.04 Xe2_LPG
[23:16:25] [PASSED] 30.00 Xe3_LPG
[23:16:25] [PASSED] 30.01 Xe3_LPG
[23:16:25] [PASSED] 30.03 Xe3_LPG
[23:16:25] [PASSED] 30.04 Xe3_LPG
[23:16:25] [PASSED] 30.05 Xe3_LPG
[23:16:25] [PASSED] 35.11 Xe3p_XPC
[23:16:25] ================ [PASSED] check_graphics_ip ================
[23:16:25] ===================== check_media_ip ======================
[23:16:25] [PASSED] 12.00 Xe_M
[23:16:25] [PASSED] 12.55 Xe_HPM
[23:16:25] [PASSED] 13.00 Xe_LPM+
[23:16:25] [PASSED] 13.01 Xe2_HPM
[23:16:25] [PASSED] 20.00 Xe2_LPM
[23:16:25] [PASSED] 30.00 Xe3_LPM
[23:16:25] [PASSED] 30.02 Xe3_LPM
[23:16:25] [PASSED] 35.00 Xe3p_LPM
[23:16:25] [PASSED] 35.03 Xe3p_HPM
[23:16:25] ================= [PASSED] check_media_ip ==================
[23:16:25] =================== check_platform_desc ===================
[23:16:25] [PASSED] 0x9A60 (TIGERLAKE)
[23:16:25] [PASSED] 0x9A68 (TIGERLAKE)
[23:16:25] [PASSED] 0x9A70 (TIGERLAKE)
[23:16:25] [PASSED] 0x9A40 (TIGERLAKE)
[23:16:25] [PASSED] 0x9A49 (TIGERLAKE)
[23:16:25] [PASSED] 0x9A59 (TIGERLAKE)
[23:16:25] [PASSED] 0x9A78 (TIGERLAKE)
[23:16:25] [PASSED] 0x9AC0 (TIGERLAKE)
[23:16:25] [PASSED] 0x9AC9 (TIGERLAKE)
[23:16:25] [PASSED] 0x9AD9 (TIGERLAKE)
[23:16:25] [PASSED] 0x9AF8 (TIGERLAKE)
[23:16:25] [PASSED] 0x4C80 (ROCKETLAKE)
[23:16:25] [PASSED] 0x4C8A (ROCKETLAKE)
[23:16:25] [PASSED] 0x4C8B (ROCKETLAKE)
[23:16:25] [PASSED] 0x4C8C (ROCKETLAKE)
[23:16:25] [PASSED] 0x4C90 (ROCKETLAKE)
[23:16:25] [PASSED] 0x4C9A (ROCKETLAKE)
[23:16:25] [PASSED] 0x4680 (ALDERLAKE_S)
[23:16:25] [PASSED] 0x4682 (ALDERLAKE_S)
[23:16:25] [PASSED] 0x4688 (ALDERLAKE_S)
[23:16:25] [PASSED] 0x468A (ALDERLAKE_S)
[23:16:25] [PASSED] 0x468B (ALDERLAKE_S)
[23:16:25] [PASSED] 0x4690 (ALDERLAKE_S)
[23:16:25] [PASSED] 0x4692 (ALDERLAKE_S)
[23:16:25] [PASSED] 0x4693 (ALDERLAKE_S)
[23:16:25] [PASSED] 0x46A0 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46A1 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46A2 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46A3 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46A6 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46A8 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46AA (ALDERLAKE_P)
[23:16:25] [PASSED] 0x462A (ALDERLAKE_P)
[23:16:25] [PASSED] 0x4626 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x4628 (ALDERLAKE_P)
stty: 'standard input': Inappropriate ioctl for device
[23:16:25] [PASSED] 0x46B0 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46B1 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46B2 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46B3 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46C0 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46C1 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46C2 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46C3 (ALDERLAKE_P)
[23:16:25] [PASSED] 0x46D0 (ALDERLAKE_N)
[23:16:25] [PASSED] 0x46D1 (ALDERLAKE_N)
[23:16:25] [PASSED] 0x46D2 (ALDERLAKE_N)
[23:16:25] [PASSED] 0x46D3 (ALDERLAKE_N)
[23:16:25] [PASSED] 0x46D4 (ALDERLAKE_N)
[23:16:25] [PASSED] 0xA721 (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7A1 (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7A9 (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7AC (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7AD (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA720 (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7A0 (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7A8 (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7AA (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA7AB (ALDERLAKE_P)
[23:16:25] [PASSED] 0xA780 (ALDERLAKE_S)
[23:16:25] [PASSED] 0xA781 (ALDERLAKE_S)
[23:16:25] [PASSED] 0xA782 (ALDERLAKE_S)
[23:16:25] [PASSED] 0xA783 (ALDERLAKE_S)
[23:16:25] [PASSED] 0xA788 (ALDERLAKE_S)
[23:16:25] [PASSED] 0xA789 (ALDERLAKE_S)
[23:16:25] [PASSED] 0xA78A (ALDERLAKE_S)
[23:16:25] [PASSED] 0xA78B (ALDERLAKE_S)
[23:16:25] [PASSED] 0x4905 (DG1)
[23:16:25] [PASSED] 0x4906 (DG1)
[23:16:25] [PASSED] 0x4907 (DG1)
[23:16:25] [PASSED] 0x4908 (DG1)
[23:16:25] [PASSED] 0x4909 (DG1)
[23:16:25] [PASSED] 0x56C0 (DG2)
[23:16:25] [PASSED] 0x56C2 (DG2)
[23:16:25] [PASSED] 0x56C1 (DG2)
[23:16:25] [PASSED] 0x7D51 (METEORLAKE)
[23:16:25] [PASSED] 0x7DD1 (METEORLAKE)
[23:16:25] [PASSED] 0x7D41 (METEORLAKE)
[23:16:25] [PASSED] 0x7D67 (METEORLAKE)
[23:16:25] [PASSED] 0xB640 (METEORLAKE)
[23:16:25] [PASSED] 0x56A0 (DG2)
[23:16:25] [PASSED] 0x56A1 (DG2)
[23:16:25] [PASSED] 0x56A2 (DG2)
[23:16:25] [PASSED] 0x56BE (DG2)
[23:16:25] [PASSED] 0x56BF (DG2)
[23:16:25] [PASSED] 0x5690 (DG2)
[23:16:25] [PASSED] 0x5691 (DG2)
[23:16:25] [PASSED] 0x5692 (DG2)
[23:16:25] [PASSED] 0x56A5 (DG2)
[23:16:25] [PASSED] 0x56A6 (DG2)
[23:16:25] [PASSED] 0x56B0 (DG2)
[23:16:25] [PASSED] 0x56B1 (DG2)
[23:16:25] [PASSED] 0x56BA (DG2)
[23:16:25] [PASSED] 0x56BB (DG2)
[23:16:25] [PASSED] 0x56BC (DG2)
[23:16:25] [PASSED] 0x56BD (DG2)
[23:16:25] [PASSED] 0x5693 (DG2)
[23:16:25] [PASSED] 0x5694 (DG2)
[23:16:25] [PASSED] 0x5695 (DG2)
[23:16:25] [PASSED] 0x56A3 (DG2)
[23:16:25] [PASSED] 0x56A4 (DG2)
[23:16:25] [PASSED] 0x56B2 (DG2)
[23:16:25] [PASSED] 0x56B3 (DG2)
[23:16:25] [PASSED] 0x5696 (DG2)
[23:16:25] [PASSED] 0x5697 (DG2)
[23:16:25] [PASSED] 0xB69 (PVC)
[23:16:25] [PASSED] 0xB6E (PVC)
[23:16:25] [PASSED] 0xBD4 (PVC)
[23:16:25] [PASSED] 0xBD5 (PVC)
[23:16:25] [PASSED] 0xBD6 (PVC)
[23:16:25] [PASSED] 0xBD7 (PVC)
[23:16:25] [PASSED] 0xBD8 (PVC)
[23:16:25] [PASSED] 0xBD9 (PVC)
[23:16:25] [PASSED] 0xBDA (PVC)
[23:16:25] [PASSED] 0xBDB (PVC)
[23:16:25] [PASSED] 0xBE0 (PVC)
[23:16:25] [PASSED] 0xBE1 (PVC)
[23:16:25] [PASSED] 0xBE5 (PVC)
[23:16:25] [PASSED] 0x7D40 (METEORLAKE)
[23:16:25] [PASSED] 0x7D45 (METEORLAKE)
[23:16:25] [PASSED] 0x7D55 (METEORLAKE)
[23:16:25] [PASSED] 0x7D60 (METEORLAKE)
[23:16:25] [PASSED] 0x7DD5 (METEORLAKE)
[23:16:25] [PASSED] 0x6420 (LUNARLAKE)
[23:16:25] [PASSED] 0x64A0 (LUNARLAKE)
[23:16:25] [PASSED] 0x64B0 (LUNARLAKE)
[23:16:25] [PASSED] 0xE202 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE209 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE20B (BATTLEMAGE)
[23:16:25] [PASSED] 0xE20C (BATTLEMAGE)
[23:16:25] [PASSED] 0xE20D (BATTLEMAGE)
[23:16:25] [PASSED] 0xE210 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE211 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE212 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE216 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE220 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE221 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE222 (BATTLEMAGE)
[23:16:25] [PASSED] 0xE223 (BATTLEMAGE)
[23:16:25] [PASSED] 0xB080 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB081 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB082 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB083 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB084 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB085 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB086 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB087 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB08F (PANTHERLAKE)
[23:16:25] [PASSED] 0xB090 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB0A0 (PANTHERLAKE)
[23:16:25] [PASSED] 0xB0B0 (PANTHERLAKE)
[23:16:25] [PASSED] 0xFD80 (PANTHERLAKE)
[23:16:25] [PASSED] 0xFD81 (PANTHERLAKE)
[23:16:25] [PASSED] 0xD740 (NOVALAKE_S)
[23:16:25] [PASSED] 0xD741 (NOVALAKE_S)
[23:16:25] [PASSED] 0xD742 (NOVALAKE_S)
[23:16:25] [PASSED] 0xD743 (NOVALAKE_S)
[23:16:25] [PASSED] 0xD744 (NOVALAKE_S)
[23:16:25] [PASSED] 0xD745 (NOVALAKE_S)
[23:16:25] [PASSED] 0x674C (CRESCENTISLAND)
[23:16:25] =============== [PASSED] check_platform_desc ===============
[23:16:25] ===================== [PASSED] xe_pci ======================
[23:16:25] =================== xe_rtp (2 subtests) ====================
[23:16:25] =============== xe_rtp_process_to_sr_tests ================
[23:16:25] [PASSED] coalesce-same-reg
[23:16:25] [PASSED] no-match-no-add
[23:16:25] [PASSED] match-or
[23:16:25] [PASSED] match-or-xfail
[23:16:25] [PASSED] no-match-no-add-multiple-rules
[23:16:25] [PASSED] two-regs-two-entries
[23:16:25] [PASSED] clr-one-set-other
[23:16:25] [PASSED] set-field
[23:16:25] [PASSED] conflict-duplicate
[23:16:25] [PASSED] conflict-not-disjoint
[23:16:25] [PASSED] conflict-reg-type
[23:16:25] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[23:16:25] ================== xe_rtp_process_tests ===================
[23:16:25] [PASSED] active1
[23:16:25] [PASSED] active2
[23:16:25] [PASSED] active-inactive
[23:16:25] [PASSED] inactive-active
[23:16:25] [PASSED] inactive-1st_or_active-inactive
[23:16:25] [PASSED] inactive-2nd_or_active-inactive
[23:16:25] [PASSED] inactive-last_or_active-inactive
[23:16:25] [PASSED] inactive-no_or_active-inactive
[23:16:25] ============== [PASSED] xe_rtp_process_tests ===============
[23:16:25] ===================== [PASSED] xe_rtp ======================
[23:16:25] ==================== xe_wa (1 subtest) =====================
[23:16:25] ======================== xe_wa_gt =========================
[23:16:25] [PASSED] TIGERLAKE B0
[23:16:25] [PASSED] DG1 A0
[23:16:25] [PASSED] DG1 B0
[23:16:25] [PASSED] ALDERLAKE_S A0
[23:16:25] [PASSED] ALDERLAKE_S B0
[23:16:25] [PASSED] ALDERLAKE_S C0
[23:16:25] [PASSED] ALDERLAKE_S D0
[23:16:25] [PASSED] ALDERLAKE_P A0
[23:16:25] [PASSED] ALDERLAKE_P B0
[23:16:25] [PASSED] ALDERLAKE_P C0
[23:16:25] [PASSED] ALDERLAKE_S RPLS D0
[23:16:25] [PASSED] ALDERLAKE_P RPLU E0
[23:16:25] [PASSED] DG2 G10 C0
[23:16:25] [PASSED] DG2 G11 B1
[23:16:25] [PASSED] DG2 G12 A1
[23:16:25] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[23:16:25] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[23:16:25] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[23:16:25] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[23:16:25] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[23:16:25] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[23:16:25] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[23:16:25] ==================== [PASSED] xe_wa_gt =====================
[23:16:25] ====================== [PASSED] xe_wa ======================
[23:16:25] ============================================================
[23:16:25] Testing complete. Ran 512 tests: passed: 494, skipped: 18
[23:16:25] Elapsed time: 36.012s total, 4.223s configuring, 31.272s building, 0.470s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[23:16:25] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:16:27] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[23:16:52] Starting KUnit Kernel (1/1)...
[23:16:52] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:16:52] ============ drm_test_pick_cmdline (2 subtests) ============
[23:16:52] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[23:16:52] =============== drm_test_pick_cmdline_named ===============
[23:16:52] [PASSED] NTSC
[23:16:52] [PASSED] NTSC-J
[23:16:52] [PASSED] PAL
[23:16:52] [PASSED] PAL-M
[23:16:52] =========== [PASSED] drm_test_pick_cmdline_named ===========
[23:16:52] ============== [PASSED] drm_test_pick_cmdline ==============
[23:16:52] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[23:16:52] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[23:16:52] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[23:16:52] =========== drm_validate_clone_mode (2 subtests) ===========
[23:16:52] ============== drm_test_check_in_clone_mode ===============
[23:16:52] [PASSED] in_clone_mode
[23:16:52] [PASSED] not_in_clone_mode
[23:16:52] ========== [PASSED] drm_test_check_in_clone_mode ===========
[23:16:52] =============== drm_test_check_valid_clones ===============
[23:16:52] [PASSED] not_in_clone_mode
[23:16:52] [PASSED] valid_clone
[23:16:52] [PASSED] invalid_clone
[23:16:52] =========== [PASSED] drm_test_check_valid_clones ===========
[23:16:52] ============= [PASSED] drm_validate_clone_mode =============
[23:16:52] ============= drm_validate_modeset (1 subtest) =============
[23:16:52] [PASSED] drm_test_check_connector_changed_modeset
[23:16:52] ============== [PASSED] drm_validate_modeset ===============
[23:16:52] ====== drm_test_bridge_get_current_state (2 subtests) ======
[23:16:52] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[23:16:52] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[23:16:52] ======== [PASSED] drm_test_bridge_get_current_state ========
[23:16:52] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[23:16:52] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[23:16:52] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[23:16:52] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[23:16:52] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[23:16:52] ============== drm_bridge_alloc (2 subtests) ===============
[23:16:52] [PASSED] drm_test_drm_bridge_alloc_basic
[23:16:52] [PASSED] drm_test_drm_bridge_alloc_get_put
[23:16:52] ================ [PASSED] drm_bridge_alloc =================
[23:16:52] ================== drm_buddy (8 subtests) ==================
[23:16:52] [PASSED] drm_test_buddy_alloc_limit
[23:16:52] [PASSED] drm_test_buddy_alloc_optimistic
[23:16:52] [PASSED] drm_test_buddy_alloc_pessimistic
[23:16:52] [PASSED] drm_test_buddy_alloc_pathological
[23:16:52] [PASSED] drm_test_buddy_alloc_contiguous
[23:16:52] [PASSED] drm_test_buddy_alloc_clear
[23:16:52] [PASSED] drm_test_buddy_alloc_range_bias
[23:16:52] [PASSED] drm_test_buddy_fragmentation_performance
[23:16:52] ==================== [PASSED] drm_buddy ====================
[23:16:52] ============= drm_cmdline_parser (40 subtests) =============
[23:16:52] [PASSED] drm_test_cmdline_force_d_only
[23:16:52] [PASSED] drm_test_cmdline_force_D_only_dvi
[23:16:52] [PASSED] drm_test_cmdline_force_D_only_hdmi
[23:16:52] [PASSED] drm_test_cmdline_force_D_only_not_digital
[23:16:52] [PASSED] drm_test_cmdline_force_e_only
[23:16:52] [PASSED] drm_test_cmdline_res
[23:16:52] [PASSED] drm_test_cmdline_res_vesa
[23:16:52] [PASSED] drm_test_cmdline_res_vesa_rblank
[23:16:52] [PASSED] drm_test_cmdline_res_rblank
[23:16:52] [PASSED] drm_test_cmdline_res_bpp
[23:16:52] [PASSED] drm_test_cmdline_res_refresh
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[23:16:52] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[23:16:52] [PASSED] drm_test_cmdline_res_margins_force_on
[23:16:52] [PASSED] drm_test_cmdline_res_vesa_margins
[23:16:52] [PASSED] drm_test_cmdline_name
[23:16:52] [PASSED] drm_test_cmdline_name_bpp
[23:16:52] [PASSED] drm_test_cmdline_name_option
[23:16:52] [PASSED] drm_test_cmdline_name_bpp_option
[23:16:52] [PASSED] drm_test_cmdline_rotate_0
[23:16:52] [PASSED] drm_test_cmdline_rotate_90
[23:16:52] [PASSED] drm_test_cmdline_rotate_180
[23:16:52] [PASSED] drm_test_cmdline_rotate_270
[23:16:52] [PASSED] drm_test_cmdline_hmirror
[23:16:52] [PASSED] drm_test_cmdline_vmirror
[23:16:52] [PASSED] drm_test_cmdline_margin_options
[23:16:52] [PASSED] drm_test_cmdline_multiple_options
[23:16:52] [PASSED] drm_test_cmdline_bpp_extra_and_option
[23:16:52] [PASSED] drm_test_cmdline_extra_and_option
[23:16:52] [PASSED] drm_test_cmdline_freestanding_options
[23:16:52] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[23:16:52] [PASSED] drm_test_cmdline_panel_orientation
[23:16:52] ================ drm_test_cmdline_invalid =================
[23:16:52] [PASSED] margin_only
[23:16:52] [PASSED] interlace_only
[23:16:52] [PASSED] res_missing_x
[23:16:52] [PASSED] res_missing_y
[23:16:52] [PASSED] res_bad_y
[23:16:52] [PASSED] res_missing_y_bpp
[23:16:52] [PASSED] res_bad_bpp
[23:16:52] [PASSED] res_bad_refresh
[23:16:52] [PASSED] res_bpp_refresh_force_on_off
[23:16:52] [PASSED] res_invalid_mode
[23:16:52] [PASSED] res_bpp_wrong_place_mode
[23:16:52] [PASSED] name_bpp_refresh
[23:16:52] [PASSED] name_refresh
[23:16:52] [PASSED] name_refresh_wrong_mode
[23:16:52] [PASSED] name_refresh_invalid_mode
[23:16:52] [PASSED] rotate_multiple
[23:16:52] [PASSED] rotate_invalid_val
[23:16:52] [PASSED] rotate_truncated
[23:16:52] [PASSED] invalid_option
[23:16:52] [PASSED] invalid_tv_option
[23:16:52] [PASSED] truncated_tv_option
[23:16:52] ============ [PASSED] drm_test_cmdline_invalid =============
[23:16:52] =============== drm_test_cmdline_tv_options ===============
[23:16:52] [PASSED] NTSC
[23:16:52] [PASSED] NTSC_443
[23:16:52] [PASSED] NTSC_J
[23:16:52] [PASSED] PAL
[23:16:52] [PASSED] PAL_M
[23:16:52] [PASSED] PAL_N
[23:16:52] [PASSED] SECAM
[23:16:52] [PASSED] MONO_525
[23:16:52] [PASSED] MONO_625
[23:16:52] =========== [PASSED] drm_test_cmdline_tv_options ===========
[23:16:52] =============== [PASSED] drm_cmdline_parser ================
[23:16:52] ========== drmm_connector_hdmi_init (20 subtests) ==========
[23:16:52] [PASSED] drm_test_connector_hdmi_init_valid
[23:16:52] [PASSED] drm_test_connector_hdmi_init_bpc_8
[23:16:52] [PASSED] drm_test_connector_hdmi_init_bpc_10
[23:16:52] [PASSED] drm_test_connector_hdmi_init_bpc_12
[23:16:52] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[23:16:52] [PASSED] drm_test_connector_hdmi_init_bpc_null
[23:16:52] [PASSED] drm_test_connector_hdmi_init_formats_empty
[23:16:52] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[23:16:52] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[23:16:52] [PASSED] supported_formats=0x9 yuv420_allowed=1
[23:16:52] [PASSED] supported_formats=0x9 yuv420_allowed=0
[23:16:52] [PASSED] supported_formats=0x3 yuv420_allowed=1
[23:16:52] [PASSED] supported_formats=0x3 yuv420_allowed=0
[23:16:52] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[23:16:52] [PASSED] drm_test_connector_hdmi_init_null_ddc
[23:16:52] [PASSED] drm_test_connector_hdmi_init_null_product
[23:16:52] [PASSED] drm_test_connector_hdmi_init_null_vendor
[23:16:52] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[23:16:52] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[23:16:52] [PASSED] drm_test_connector_hdmi_init_product_valid
[23:16:52] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[23:16:52] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[23:16:52] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[23:16:52] ========= drm_test_connector_hdmi_init_type_valid =========
[23:16:52] [PASSED] HDMI-A
[23:16:52] [PASSED] HDMI-B
[23:16:52] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[23:16:52] ======== drm_test_connector_hdmi_init_type_invalid ========
[23:16:52] [PASSED] Unknown
[23:16:52] [PASSED] VGA
[23:16:52] [PASSED] DVI-I
[23:16:52] [PASSED] DVI-D
[23:16:52] [PASSED] DVI-A
[23:16:52] [PASSED] Composite
[23:16:52] [PASSED] SVIDEO
[23:16:52] [PASSED] LVDS
[23:16:52] [PASSED] Component
[23:16:52] [PASSED] DIN
[23:16:52] [PASSED] DP
[23:16:52] [PASSED] TV
[23:16:52] [PASSED] eDP
[23:16:52] [PASSED] Virtual
[23:16:52] [PASSED] DSI
[23:16:52] [PASSED] DPI
[23:16:52] [PASSED] Writeback
[23:16:52] [PASSED] SPI
[23:16:52] [PASSED] USB
[23:16:52] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[23:16:52] ============ [PASSED] drmm_connector_hdmi_init =============
[23:16:52] ============= drmm_connector_init (3 subtests) =============
[23:16:52] [PASSED] drm_test_drmm_connector_init
[23:16:52] [PASSED] drm_test_drmm_connector_init_null_ddc
[23:16:52] ========= drm_test_drmm_connector_init_type_valid =========
[23:16:52] [PASSED] Unknown
[23:16:52] [PASSED] VGA
[23:16:52] [PASSED] DVI-I
[23:16:52] [PASSED] DVI-D
[23:16:52] [PASSED] DVI-A
[23:16:52] [PASSED] Composite
[23:16:52] [PASSED] SVIDEO
[23:16:52] [PASSED] LVDS
[23:16:52] [PASSED] Component
[23:16:52] [PASSED] DIN
[23:16:52] [PASSED] DP
[23:16:52] [PASSED] HDMI-A
[23:16:52] [PASSED] HDMI-B
[23:16:52] [PASSED] TV
[23:16:52] [PASSED] eDP
[23:16:52] [PASSED] Virtual
[23:16:52] [PASSED] DSI
[23:16:52] [PASSED] DPI
[23:16:52] [PASSED] Writeback
[23:16:52] [PASSED] SPI
[23:16:52] [PASSED] USB
[23:16:52] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[23:16:52] =============== [PASSED] drmm_connector_init ===============
[23:16:52] ========= drm_connector_dynamic_init (6 subtests) ==========
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_init
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_init_properties
[23:16:52] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[23:16:52] [PASSED] Unknown
[23:16:52] [PASSED] VGA
[23:16:52] [PASSED] DVI-I
[23:16:52] [PASSED] DVI-D
[23:16:52] [PASSED] DVI-A
[23:16:52] [PASSED] Composite
[23:16:52] [PASSED] SVIDEO
[23:16:52] [PASSED] LVDS
[23:16:52] [PASSED] Component
[23:16:52] [PASSED] DIN
[23:16:52] [PASSED] DP
[23:16:52] [PASSED] HDMI-A
[23:16:52] [PASSED] HDMI-B
[23:16:52] [PASSED] TV
[23:16:52] [PASSED] eDP
[23:16:52] [PASSED] Virtual
[23:16:52] [PASSED] DSI
[23:16:52] [PASSED] DPI
[23:16:52] [PASSED] Writeback
[23:16:52] [PASSED] SPI
[23:16:52] [PASSED] USB
[23:16:52] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[23:16:52] ======== drm_test_drm_connector_dynamic_init_name =========
[23:16:52] [PASSED] Unknown
[23:16:52] [PASSED] VGA
[23:16:52] [PASSED] DVI-I
[23:16:52] [PASSED] DVI-D
[23:16:52] [PASSED] DVI-A
[23:16:52] [PASSED] Composite
[23:16:52] [PASSED] SVIDEO
[23:16:52] [PASSED] LVDS
[23:16:52] [PASSED] Component
[23:16:52] [PASSED] DIN
[23:16:52] [PASSED] DP
[23:16:52] [PASSED] HDMI-A
[23:16:52] [PASSED] HDMI-B
[23:16:52] [PASSED] TV
[23:16:52] [PASSED] eDP
[23:16:52] [PASSED] Virtual
[23:16:52] [PASSED] DSI
[23:16:52] [PASSED] DPI
[23:16:52] [PASSED] Writeback
[23:16:52] [PASSED] SPI
[23:16:52] [PASSED] USB
[23:16:52] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[23:16:52] =========== [PASSED] drm_connector_dynamic_init ============
[23:16:52] ==== drm_connector_dynamic_register_early (4 subtests) =====
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[23:16:52] ====== [PASSED] drm_connector_dynamic_register_early =======
[23:16:52] ======= drm_connector_dynamic_register (7 subtests) ========
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[23:16:52] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[23:16:52] ========= [PASSED] drm_connector_dynamic_register ==========
[23:16:52] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[23:16:52] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[23:16:52] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[23:16:52] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[23:16:52] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[23:16:52] ========== drm_test_get_tv_mode_from_name_valid ===========
[23:16:52] [PASSED] NTSC
[23:16:52] [PASSED] NTSC-443
[23:16:52] [PASSED] NTSC-J
[23:16:52] [PASSED] PAL
[23:16:52] [PASSED] PAL-M
[23:16:52] [PASSED] PAL-N
[23:16:52] [PASSED] SECAM
[23:16:52] [PASSED] Mono
[23:16:52] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[23:16:52] [PASSED] drm_test_get_tv_mode_from_name_truncated
[23:16:52] ============ [PASSED] drm_get_tv_mode_from_name ============
[23:16:52] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[23:16:52] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[23:16:52] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[23:16:52] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[23:16:52] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[23:16:52] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[23:16:52] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[23:16:52] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[23:16:52] [PASSED] VIC 96
[23:16:52] [PASSED] VIC 97
[23:16:52] [PASSED] VIC 101
[23:16:52] [PASSED] VIC 102
[23:16:52] [PASSED] VIC 106
[23:16:52] [PASSED] VIC 107
[23:16:52] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[23:16:52] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[23:16:52] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[23:16:52] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[23:16:52] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[23:16:52] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[23:16:52] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[23:16:52] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[23:16:52] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[23:16:52] [PASSED] Automatic
[23:16:52] [PASSED] Full
[23:16:52] [PASSED] Limited 16:235
[23:16:52] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[23:16:52] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[23:16:52] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[23:16:52] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[23:16:52] === drm_test_drm_hdmi_connector_get_output_format_name ====
[23:16:52] [PASSED] RGB
[23:16:52] [PASSED] YUV 4:2:0
[23:16:52] [PASSED] YUV 4:2:2
[23:16:52] [PASSED] YUV 4:4:4
[23:16:52] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[23:16:52] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[23:16:52] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[23:16:52] ============= drm_damage_helper (21 subtests) ==============
[23:16:52] [PASSED] drm_test_damage_iter_no_damage
[23:16:52] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[23:16:52] [PASSED] drm_test_damage_iter_no_damage_src_moved
[23:16:52] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[23:16:52] [PASSED] drm_test_damage_iter_no_damage_not_visible
[23:16:52] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[23:16:52] [PASSED] drm_test_damage_iter_no_damage_no_fb
[23:16:52] [PASSED] drm_test_damage_iter_simple_damage
[23:16:52] [PASSED] drm_test_damage_iter_single_damage
[23:16:52] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[23:16:52] [PASSED] drm_test_damage_iter_single_damage_outside_src
[23:16:52] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[23:16:52] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[23:16:52] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[23:16:52] [PASSED] drm_test_damage_iter_single_damage_src_moved
[23:16:52] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[23:16:52] [PASSED] drm_test_damage_iter_damage
[23:16:52] [PASSED] drm_test_damage_iter_damage_one_intersect
[23:16:52] [PASSED] drm_test_damage_iter_damage_one_outside
[23:16:52] [PASSED] drm_test_damage_iter_damage_src_moved
[23:16:52] [PASSED] drm_test_damage_iter_damage_not_visible
[23:16:52] ================ [PASSED] drm_damage_helper ================
[23:16:52] ============== drm_dp_mst_helper (3 subtests) ==============
[23:16:52] ============== drm_test_dp_mst_calc_pbn_mode ==============
[23:16:52] [PASSED] Clock 154000 BPP 30 DSC disabled
[23:16:52] [PASSED] Clock 234000 BPP 30 DSC disabled
[23:16:52] [PASSED] Clock 297000 BPP 24 DSC disabled
[23:16:52] [PASSED] Clock 332880 BPP 24 DSC enabled
[23:16:52] [PASSED] Clock 324540 BPP 24 DSC enabled
[23:16:52] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[23:16:52] ============== drm_test_dp_mst_calc_pbn_div ===============
[23:16:52] [PASSED] Link rate 2000000 lane count 4
[23:16:52] [PASSED] Link rate 2000000 lane count 2
[23:16:52] [PASSED] Link rate 2000000 lane count 1
[23:16:52] [PASSED] Link rate 1350000 lane count 4
[23:16:52] [PASSED] Link rate 1350000 lane count 2
[23:16:52] [PASSED] Link rate 1350000 lane count 1
[23:16:52] [PASSED] Link rate 1000000 lane count 4
[23:16:52] [PASSED] Link rate 1000000 lane count 2
[23:16:52] [PASSED] Link rate 1000000 lane count 1
[23:16:52] [PASSED] Link rate 810000 lane count 4
[23:16:52] [PASSED] Link rate 810000 lane count 2
[23:16:52] [PASSED] Link rate 810000 lane count 1
[23:16:52] [PASSED] Link rate 540000 lane count 4
[23:16:52] [PASSED] Link rate 540000 lane count 2
[23:16:52] [PASSED] Link rate 540000 lane count 1
[23:16:52] [PASSED] Link rate 270000 lane count 4
[23:16:52] [PASSED] Link rate 270000 lane count 2
[23:16:52] [PASSED] Link rate 270000 lane count 1
[23:16:52] [PASSED] Link rate 162000 lane count 4
[23:16:52] [PASSED] Link rate 162000 lane count 2
[23:16:52] [PASSED] Link rate 162000 lane count 1
[23:16:52] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[23:16:52] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[23:16:52] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[23:16:52] [PASSED] DP_POWER_UP_PHY with port number
[23:16:52] [PASSED] DP_POWER_DOWN_PHY with port number
[23:16:52] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[23:16:52] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[23:16:52] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[23:16:52] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[23:16:52] [PASSED] DP_QUERY_PAYLOAD with port number
[23:16:52] [PASSED] DP_QUERY_PAYLOAD with VCPI
[23:16:52] [PASSED] DP_REMOTE_DPCD_READ with port number
[23:16:52] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[23:16:52] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[23:16:52] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[23:16:52] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[23:16:52] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[23:16:52] [PASSED] DP_REMOTE_I2C_READ with port number
[23:16:52] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[23:16:52] [PASSED] DP_REMOTE_I2C_READ with transactions array
[23:16:52] [PASSED] DP_REMOTE_I2C_WRITE with port number
[23:16:52] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[23:16:52] [PASSED] DP_REMOTE_I2C_WRITE with data array
[23:16:52] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[23:16:52] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[23:16:52] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[23:16:52] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[23:16:52] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[23:16:52] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[23:16:52] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[23:16:52] ================ [PASSED] drm_dp_mst_helper ================
[23:16:52] ================== drm_exec (7 subtests) ===================
[23:16:52] [PASSED] sanitycheck
[23:16:52] [PASSED] test_lock
[23:16:52] [PASSED] test_lock_unlock
[23:16:52] [PASSED] test_duplicates
[23:16:52] [PASSED] test_prepare
[23:16:52] [PASSED] test_prepare_array
[23:16:52] [PASSED] test_multiple_loops
[23:16:52] ==================== [PASSED] drm_exec =====================
[23:16:52] =========== drm_format_helper_test (17 subtests) ===========
[23:16:52] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[23:16:52] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[23:16:52] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[23:16:52] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[23:16:52] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[23:16:52] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[23:16:52] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[23:16:52] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[23:16:52] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[23:16:52] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[23:16:52] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[23:16:52] ============== drm_test_fb_xrgb8888_to_mono ===============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[23:16:52] ==================== drm_test_fb_swab =====================
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ================ [PASSED] drm_test_fb_swab =================
[23:16:52] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[23:16:52] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[23:16:52] [PASSED] single_pixel_source_buffer
[23:16:52] [PASSED] single_pixel_clip_rectangle
[23:16:52] [PASSED] well_known_colors
[23:16:52] [PASSED] destination_pitch
[23:16:52] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[23:16:52] ================= drm_test_fb_clip_offset =================
[23:16:52] [PASSED] pass through
[23:16:52] [PASSED] horizontal offset
[23:16:52] [PASSED] vertical offset
[23:16:52] [PASSED] horizontal and vertical offset
[23:16:52] [PASSED] horizontal offset (custom pitch)
[23:16:52] [PASSED] vertical offset (custom pitch)
[23:16:52] [PASSED] horizontal and vertical offset (custom pitch)
[23:16:52] ============= [PASSED] drm_test_fb_clip_offset =============
[23:16:52] =================== drm_test_fb_memcpy ====================
[23:16:52] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[23:16:52] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[23:16:52] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[23:16:52] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[23:16:52] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[23:16:52] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[23:16:52] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[23:16:52] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[23:16:52] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[23:16:52] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[23:16:52] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[23:16:52] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[23:16:52] =============== [PASSED] drm_test_fb_memcpy ================
[23:16:52] ============= [PASSED] drm_format_helper_test ==============
[23:16:52] ================= drm_format (18 subtests) =================
[23:16:52] [PASSED] drm_test_format_block_width_invalid
[23:16:52] [PASSED] drm_test_format_block_width_one_plane
[23:16:52] [PASSED] drm_test_format_block_width_two_plane
[23:16:52] [PASSED] drm_test_format_block_width_three_plane
[23:16:52] [PASSED] drm_test_format_block_width_tiled
[23:16:52] [PASSED] drm_test_format_block_height_invalid
[23:16:52] [PASSED] drm_test_format_block_height_one_plane
[23:16:52] [PASSED] drm_test_format_block_height_two_plane
[23:16:52] [PASSED] drm_test_format_block_height_three_plane
[23:16:52] [PASSED] drm_test_format_block_height_tiled
[23:16:52] [PASSED] drm_test_format_min_pitch_invalid
[23:16:52] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[23:16:52] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[23:16:52] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[23:16:52] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[23:16:52] [PASSED] drm_test_format_min_pitch_two_plane
[23:16:52] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[23:16:52] [PASSED] drm_test_format_min_pitch_tiled
[23:16:52] =================== [PASSED] drm_format ====================
[23:16:52] ============== drm_framebuffer (10 subtests) ===============
[23:16:52] ========== drm_test_framebuffer_check_src_coords ==========
[23:16:52] [PASSED] Success: source fits into fb
[23:16:52] [PASSED] Fail: overflowing fb with x-axis coordinate
[23:16:52] [PASSED] Fail: overflowing fb with y-axis coordinate
[23:16:52] [PASSED] Fail: overflowing fb with source width
[23:16:52] [PASSED] Fail: overflowing fb with source height
[23:16:52] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[23:16:52] [PASSED] drm_test_framebuffer_cleanup
[23:16:52] =============== drm_test_framebuffer_create ===============
[23:16:52] [PASSED] ABGR8888 normal sizes
[23:16:52] [PASSED] ABGR8888 max sizes
[23:16:52] [PASSED] ABGR8888 pitch greater than min required
[23:16:52] [PASSED] ABGR8888 pitch less than min required
[23:16:52] [PASSED] ABGR8888 Invalid width
[23:16:52] [PASSED] ABGR8888 Invalid buffer handle
[23:16:52] [PASSED] No pixel format
[23:16:52] [PASSED] ABGR8888 Width 0
[23:16:52] [PASSED] ABGR8888 Height 0
[23:16:52] [PASSED] ABGR8888 Out of bound height * pitch combination
[23:16:52] [PASSED] ABGR8888 Large buffer offset
[23:16:52] [PASSED] ABGR8888 Buffer offset for inexistent plane
[23:16:52] [PASSED] ABGR8888 Invalid flag
[23:16:52] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[23:16:52] [PASSED] ABGR8888 Valid buffer modifier
[23:16:52] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[23:16:52] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[23:16:52] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[23:16:52] [PASSED] NV12 Normal sizes
[23:16:52] [PASSED] NV12 Max sizes
[23:16:52] [PASSED] NV12 Invalid pitch
[23:16:52] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[23:16:52] [PASSED] NV12 different modifier per-plane
[23:16:52] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[23:16:52] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[23:16:52] [PASSED] NV12 Modifier for inexistent plane
[23:16:52] [PASSED] NV12 Handle for inexistent plane
[23:16:52] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[23:16:52] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[23:16:52] [PASSED] YVU420 Normal sizes
[23:16:52] [PASSED] YVU420 Max sizes
[23:16:52] [PASSED] YVU420 Invalid pitch
[23:16:52] [PASSED] YVU420 Different pitches
[23:16:52] [PASSED] YVU420 Different buffer offsets/pitches
[23:16:52] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[23:16:52] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[23:16:52] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[23:16:52] [PASSED] YVU420 Valid modifier
[23:16:52] [PASSED] YVU420 Different modifiers per plane
[23:16:52] [PASSED] YVU420 Modifier for inexistent plane
[23:16:52] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[23:16:52] [PASSED] X0L2 Normal sizes
[23:16:52] [PASSED] X0L2 Max sizes
[23:16:52] [PASSED] X0L2 Invalid pitch
[23:16:52] [PASSED] X0L2 Pitch greater than minimum required
[23:16:52] [PASSED] X0L2 Handle for inexistent plane
[23:16:52] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[23:16:52] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[23:16:52] [PASSED] X0L2 Valid modifier
[23:16:52] [PASSED] X0L2 Modifier for inexistent plane
[23:16:52] =========== [PASSED] drm_test_framebuffer_create ===========
[23:16:52] [PASSED] drm_test_framebuffer_free
[23:16:52] [PASSED] drm_test_framebuffer_init
[23:16:52] [PASSED] drm_test_framebuffer_init_bad_format
[23:16:52] [PASSED] drm_test_framebuffer_init_dev_mismatch
[23:16:52] [PASSED] drm_test_framebuffer_lookup
[23:16:52] [PASSED] drm_test_framebuffer_lookup_inexistent
[23:16:52] [PASSED] drm_test_framebuffer_modifiers_not_supported
[23:16:52] ================= [PASSED] drm_framebuffer =================
[23:16:52] ================ drm_gem_shmem (8 subtests) ================
[23:16:52] [PASSED] drm_gem_shmem_test_obj_create
[23:16:52] [PASSED] drm_gem_shmem_test_obj_create_private
[23:16:52] [PASSED] drm_gem_shmem_test_pin_pages
[23:16:52] [PASSED] drm_gem_shmem_test_vmap
[23:16:52] [PASSED] drm_gem_shmem_test_get_sg_table
[23:16:52] [PASSED] drm_gem_shmem_test_get_pages_sgt
[23:16:52] [PASSED] drm_gem_shmem_test_madvise
[23:16:52] [PASSED] drm_gem_shmem_test_purge
[23:16:52] ================== [PASSED] drm_gem_shmem ==================
[23:16:52] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[23:16:52] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[23:16:52] [PASSED] Automatic
[23:16:52] [PASSED] Full
[23:16:52] [PASSED] Limited 16:235
[23:16:52] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[23:16:52] [PASSED] drm_test_check_disable_connector
[23:16:52] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[23:16:52] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[23:16:52] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[23:16:52] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[23:16:52] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[23:16:52] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[23:16:52] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[23:16:52] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[23:16:52] [PASSED] drm_test_check_output_bpc_dvi
[23:16:52] [PASSED] drm_test_check_output_bpc_format_vic_1
[23:16:52] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[23:16:52] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[23:16:52] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[23:16:52] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[23:16:52] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[23:16:52] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[23:16:52] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[23:16:52] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[23:16:52] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[23:16:52] [PASSED] drm_test_check_broadcast_rgb_value
[23:16:52] [PASSED] drm_test_check_bpc_8_value
[23:16:52] [PASSED] drm_test_check_bpc_10_value
[23:16:52] [PASSED] drm_test_check_bpc_12_value
[23:16:52] [PASSED] drm_test_check_format_value
[23:16:52] [PASSED] drm_test_check_tmds_char_value
[23:16:52] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[23:16:52] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[23:16:52] [PASSED] drm_test_check_mode_valid
[23:16:52] [PASSED] drm_test_check_mode_valid_reject
[23:16:52] [PASSED] drm_test_check_mode_valid_reject_rate
[23:16:52] [PASSED] drm_test_check_mode_valid_reject_max_clock
[23:16:52] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[23:16:52] ================= drm_managed (2 subtests) =================
[23:16:52] [PASSED] drm_test_managed_release_action
[23:16:52] [PASSED] drm_test_managed_run_action
[23:16:52] =================== [PASSED] drm_managed ===================
[23:16:52] =================== drm_mm (6 subtests) ====================
[23:16:52] [PASSED] drm_test_mm_init
[23:16:52] [PASSED] drm_test_mm_debug
[23:16:52] [PASSED] drm_test_mm_align32
[23:16:52] [PASSED] drm_test_mm_align64
[23:16:52] [PASSED] drm_test_mm_lowest
[23:16:52] [PASSED] drm_test_mm_highest
[23:16:52] ===================== [PASSED] drm_mm ======================
[23:16:52] ============= drm_modes_analog_tv (5 subtests) =============
[23:16:52] [PASSED] drm_test_modes_analog_tv_mono_576i
[23:16:52] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[23:16:52] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[23:16:52] [PASSED] drm_test_modes_analog_tv_pal_576i
[23:16:52] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[23:16:52] =============== [PASSED] drm_modes_analog_tv ===============
[23:16:52] ============== drm_plane_helper (2 subtests) ===============
[23:16:52] =============== drm_test_check_plane_state ================
[23:16:52] [PASSED] clipping_simple
[23:16:52] [PASSED] clipping_rotate_reflect
[23:16:52] [PASSED] positioning_simple
[23:16:52] [PASSED] upscaling
[23:16:52] [PASSED] downscaling
[23:16:52] [PASSED] rounding1
[23:16:52] [PASSED] rounding2
[23:16:52] [PASSED] rounding3
[23:16:52] [PASSED] rounding4
[23:16:52] =========== [PASSED] drm_test_check_plane_state ============
[23:16:52] =========== drm_test_check_invalid_plane_state ============
[23:16:52] [PASSED] positioning_invalid
[23:16:52] [PASSED] upscaling_invalid
[23:16:52] [PASSED] downscaling_invalid
[23:16:52] ======= [PASSED] drm_test_check_invalid_plane_state ========
[23:16:52] ================ [PASSED] drm_plane_helper =================
[23:16:52] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[23:16:52] ====== drm_test_connector_helper_tv_get_modes_check =======
[23:16:52] [PASSED] None
[23:16:52] [PASSED] PAL
[23:16:52] [PASSED] NTSC
[23:16:52] [PASSED] Both, NTSC Default
[23:16:52] [PASSED] Both, PAL Default
[23:16:52] [PASSED] Both, NTSC Default, with PAL on command-line
[23:16:52] [PASSED] Both, PAL Default, with NTSC on command-line
[23:16:52] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[23:16:52] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[23:16:52] ================== drm_rect (9 subtests) ===================
[23:16:52] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[23:16:52] [PASSED] drm_test_rect_clip_scaled_not_clipped
[23:16:52] [PASSED] drm_test_rect_clip_scaled_clipped
[23:16:52] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[23:16:52] ================= drm_test_rect_intersect =================
[23:16:52] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[23:16:52] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[23:16:52] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[23:16:52] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[23:16:52] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[23:16:52] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[23:16:52] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[23:16:52] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[23:16:52] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[23:16:52] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[23:16:52] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[23:16:52] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[23:16:52] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[23:16:52] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[23:16:52] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[23:16:52] ============= [PASSED] drm_test_rect_intersect =============
[23:16:52] ================ drm_test_rect_calc_hscale ================
[23:16:52] [PASSED] normal use
[23:16:52] [PASSED] out of max range
[23:16:52] [PASSED] out of min range
[23:16:52] [PASSED] zero dst
[23:16:52] [PASSED] negative src
[23:16:52] [PASSED] negative dst
[23:16:52] ============ [PASSED] drm_test_rect_calc_hscale ============
[23:16:52] ================ drm_test_rect_calc_vscale ================
[23:16:52] [PASSED] normal use
stty: 'standard input': Inappropriate ioctl for device
[23:16:52] [PASSED] out of max range
[23:16:52] [PASSED] out of min range
[23:16:52] [PASSED] zero dst
[23:16:52] [PASSED] negative src
[23:16:52] [PASSED] negative dst
[23:16:52] ============ [PASSED] drm_test_rect_calc_vscale ============
[23:16:52] ================== drm_test_rect_rotate ===================
[23:16:52] [PASSED] reflect-x
[23:16:52] [PASSED] reflect-y
[23:16:52] [PASSED] rotate-0
[23:16:52] [PASSED] rotate-90
[23:16:52] [PASSED] rotate-180
[23:16:52] [PASSED] rotate-270
[23:16:52] ============== [PASSED] drm_test_rect_rotate ===============
[23:16:52] ================ drm_test_rect_rotate_inv =================
[23:16:52] [PASSED] reflect-x
[23:16:52] [PASSED] reflect-y
[23:16:52] [PASSED] rotate-0
[23:16:52] [PASSED] rotate-90
[23:16:52] [PASSED] rotate-180
[23:16:52] [PASSED] rotate-270
[23:16:52] ============ [PASSED] drm_test_rect_rotate_inv =============
[23:16:52] ==================== [PASSED] drm_rect =====================
[23:16:52] ============ drm_sysfb_modeset_test (1 subtest) ============
[23:16:52] ============ drm_test_sysfb_build_fourcc_list =============
[23:16:52] [PASSED] no native formats
[23:16:52] [PASSED] XRGB8888 as native format
[23:16:52] [PASSED] remove duplicates
[23:16:52] [PASSED] convert alpha formats
[23:16:52] [PASSED] random formats
[23:16:52] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[23:16:52] ============= [PASSED] drm_sysfb_modeset_test ==============
[23:16:52] ================== drm_fixp (2 subtests) ===================
[23:16:52] [PASSED] drm_test_int2fixp
[23:16:52] [PASSED] drm_test_sm2fixp
[23:16:52] ==================== [PASSED] drm_fixp =====================
[23:16:52] ============================================================
[23:16:52] Testing complete. Ran 624 tests: passed: 624
[23:16:52] Elapsed time: 27.351s total, 1.591s configuring, 25.339s building, 0.374s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[23:16:53] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[23:16:54] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[23:17:04] Starting KUnit Kernel (1/1)...
[23:17:04] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:17:04] ================= ttm_device (5 subtests) ==================
[23:17:04] [PASSED] ttm_device_init_basic
[23:17:04] [PASSED] ttm_device_init_multiple
[23:17:04] [PASSED] ttm_device_fini_basic
[23:17:04] [PASSED] ttm_device_init_no_vma_man
[23:17:04] ================== ttm_device_init_pools ==================
[23:17:04] [PASSED] No DMA allocations, no DMA32 required
[23:17:04] [PASSED] DMA allocations, DMA32 required
[23:17:04] [PASSED] No DMA allocations, DMA32 required
[23:17:04] [PASSED] DMA allocations, no DMA32 required
[23:17:04] ============== [PASSED] ttm_device_init_pools ==============
[23:17:04] =================== [PASSED] ttm_device ====================
[23:17:04] ================== ttm_pool (8 subtests) ===================
[23:17:04] ================== ttm_pool_alloc_basic ===================
[23:17:04] [PASSED] One page
[23:17:04] [PASSED] More than one page
[23:17:04] [PASSED] Above the allocation limit
[23:17:04] [PASSED] One page, with coherent DMA mappings enabled
[23:17:04] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[23:17:04] ============== [PASSED] ttm_pool_alloc_basic ===============
[23:17:04] ============== ttm_pool_alloc_basic_dma_addr ==============
[23:17:04] [PASSED] One page
[23:17:04] [PASSED] More than one page
[23:17:04] [PASSED] Above the allocation limit
[23:17:04] [PASSED] One page, with coherent DMA mappings enabled
[23:17:04] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[23:17:04] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[23:17:04] [PASSED] ttm_pool_alloc_order_caching_match
[23:17:04] [PASSED] ttm_pool_alloc_caching_mismatch
[23:17:04] [PASSED] ttm_pool_alloc_order_mismatch
[23:17:04] [PASSED] ttm_pool_free_dma_alloc
[23:17:04] [PASSED] ttm_pool_free_no_dma_alloc
[23:17:04] [PASSED] ttm_pool_fini_basic
[23:17:04] ==================== [PASSED] ttm_pool =====================
[23:17:04] ================ ttm_resource (8 subtests) =================
[23:17:04] ================= ttm_resource_init_basic =================
[23:17:04] [PASSED] Init resource in TTM_PL_SYSTEM
[23:17:04] [PASSED] Init resource in TTM_PL_VRAM
[23:17:04] [PASSED] Init resource in a private placement
[23:17:04] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[23:17:04] ============= [PASSED] ttm_resource_init_basic =============
[23:17:04] [PASSED] ttm_resource_init_pinned
[23:17:04] [PASSED] ttm_resource_fini_basic
[23:17:04] [PASSED] ttm_resource_manager_init_basic
[23:17:04] [PASSED] ttm_resource_manager_usage_basic
[23:17:04] [PASSED] ttm_resource_manager_set_used_basic
[23:17:04] [PASSED] ttm_sys_man_alloc_basic
[23:17:04] [PASSED] ttm_sys_man_free_basic
[23:17:04] ================== [PASSED] ttm_resource ===================
[23:17:04] =================== ttm_tt (15 subtests) ===================
[23:17:04] ==================== ttm_tt_init_basic ====================
[23:17:04] [PASSED] Page-aligned size
[23:17:04] [PASSED] Extra pages requested
[23:17:04] ================ [PASSED] ttm_tt_init_basic ================
[23:17:04] [PASSED] ttm_tt_init_misaligned
[23:17:04] [PASSED] ttm_tt_fini_basic
[23:17:04] [PASSED] ttm_tt_fini_sg
[23:17:04] [PASSED] ttm_tt_fini_shmem
[23:17:04] [PASSED] ttm_tt_create_basic
[23:17:04] [PASSED] ttm_tt_create_invalid_bo_type
[23:17:04] [PASSED] ttm_tt_create_ttm_exists
[23:17:04] [PASSED] ttm_tt_create_failed
[23:17:04] [PASSED] ttm_tt_destroy_basic
[23:17:04] [PASSED] ttm_tt_populate_null_ttm
[23:17:04] [PASSED] ttm_tt_populate_populated_ttm
[23:17:04] [PASSED] ttm_tt_unpopulate_basic
[23:17:04] [PASSED] ttm_tt_unpopulate_empty_ttm
[23:17:04] [PASSED] ttm_tt_swapin_basic
[23:17:04] ===================== [PASSED] ttm_tt ======================
[23:17:04] =================== ttm_bo (14 subtests) ===================
[23:17:04] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[23:17:04] [PASSED] Cannot be interrupted and sleeps
[23:17:04] [PASSED] Cannot be interrupted, locks straight away
[23:17:04] [PASSED] Can be interrupted, sleeps
[23:17:04] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[23:17:04] [PASSED] ttm_bo_reserve_locked_no_sleep
[23:17:04] [PASSED] ttm_bo_reserve_no_wait_ticket
[23:17:04] [PASSED] ttm_bo_reserve_double_resv
[23:17:04] [PASSED] ttm_bo_reserve_interrupted
[23:17:04] [PASSED] ttm_bo_reserve_deadlock
[23:17:04] [PASSED] ttm_bo_unreserve_basic
[23:17:04] [PASSED] ttm_bo_unreserve_pinned
[23:17:04] [PASSED] ttm_bo_unreserve_bulk
[23:17:04] [PASSED] ttm_bo_fini_basic
[23:17:04] [PASSED] ttm_bo_fini_shared_resv
[23:17:04] [PASSED] ttm_bo_pin_basic
[23:17:04] [PASSED] ttm_bo_pin_unpin_resource
[23:17:04] [PASSED] ttm_bo_multiple_pin_one_unpin
[23:17:04] ===================== [PASSED] ttm_bo ======================
[23:17:04] ============== ttm_bo_validate (21 subtests) ===============
[23:17:04] ============== ttm_bo_init_reserved_sys_man ===============
[23:17:04] [PASSED] Buffer object for userspace
[23:17:04] [PASSED] Kernel buffer object
[23:17:04] [PASSED] Shared buffer object
[23:17:04] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[23:17:04] ============== ttm_bo_init_reserved_mock_man ==============
[23:17:04] [PASSED] Buffer object for userspace
[23:17:04] [PASSED] Kernel buffer object
[23:17:04] [PASSED] Shared buffer object
[23:17:04] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[23:17:04] [PASSED] ttm_bo_init_reserved_resv
[23:17:04] ================== ttm_bo_validate_basic ==================
[23:17:04] [PASSED] Buffer object for userspace
[23:17:04] [PASSED] Kernel buffer object
[23:17:04] [PASSED] Shared buffer object
[23:17:04] ============== [PASSED] ttm_bo_validate_basic ==============
[23:17:04] [PASSED] ttm_bo_validate_invalid_placement
[23:17:04] ============= ttm_bo_validate_same_placement ==============
[23:17:04] [PASSED] System manager
[23:17:04] [PASSED] VRAM manager
[23:17:04] ========= [PASSED] ttm_bo_validate_same_placement ==========
[23:17:04] [PASSED] ttm_bo_validate_failed_alloc
[23:17:04] [PASSED] ttm_bo_validate_pinned
[23:17:04] [PASSED] ttm_bo_validate_busy_placement
[23:17:04] ================ ttm_bo_validate_multihop =================
[23:17:04] [PASSED] Buffer object for userspace
[23:17:04] [PASSED] Kernel buffer object
[23:17:04] [PASSED] Shared buffer object
[23:17:04] ============ [PASSED] ttm_bo_validate_multihop =============
[23:17:04] ========== ttm_bo_validate_no_placement_signaled ==========
[23:17:04] [PASSED] Buffer object in system domain, no page vector
[23:17:04] [PASSED] Buffer object in system domain with an existing page vector
[23:17:04] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[23:17:04] ======== ttm_bo_validate_no_placement_not_signaled ========
[23:17:04] [PASSED] Buffer object for userspace
[23:17:04] [PASSED] Kernel buffer object
[23:17:04] [PASSED] Shared buffer object
[23:17:04] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[23:17:04] [PASSED] ttm_bo_validate_move_fence_signaled
[23:17:04] ========= ttm_bo_validate_move_fence_not_signaled =========
[23:17:04] [PASSED] Waits for GPU
[23:17:04] [PASSED] Tries to lock straight away
[23:17:04] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[23:17:04] [PASSED] ttm_bo_validate_happy_evict
[23:17:04] [PASSED] ttm_bo_validate_all_pinned_evict
[23:17:04] [PASSED] ttm_bo_validate_allowed_only_evict
[23:17:04] [PASSED] ttm_bo_validate_deleted_evict
[23:17:04] [PASSED] ttm_bo_validate_busy_domain_evict
[23:17:04] [PASSED] ttm_bo_validate_evict_gutting
[23:17:04] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[23:17:04] ================= [PASSED] ttm_bo_validate =================
[23:17:04] ============================================================
[23:17:04] Testing complete. Ran 101 tests: passed: 101
[23:17:04] Elapsed time: 11.388s total, 1.676s configuring, 9.495s building, 0.171s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 93+ messages in thread
* ✓ Xe.CI.BAT: success for Cleanup unused headers reported by clangd
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (79 preceding siblings ...)
2026-01-13 23:17 ` ✓ CI.KUnit: success for Cleanup unused headers reported by clangd Patchwork
@ 2026-01-14 0:03 ` Patchwork
2026-01-14 0:10 ` [PATCH 00/79] " Matthew Brost
2026-01-14 8:29 ` ✓ Xe.CI.Full: success for " Patchwork
82 siblings, 0 replies; 93+ messages in thread
From: Patchwork @ 2026-01-14 0:03 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 1497 bytes --]
== Series Details ==
Series: Cleanup unused headers reported by clangd
URL : https://patchwork.freedesktop.org/series/160053/
State : success
== Summary ==
CI Bug Log - changes from xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8_BAT -> xe-pw-160053v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 12)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-160053v1_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@xe_waitfence@engine:
- bat-dg2-oem2: [FAIL][1] ([Intel XE#6519]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/bat-dg2-oem2/igt@xe_waitfence@engine.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/bat-dg2-oem2/igt@xe_waitfence@engine.html
[Intel XE#6519]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6519
Build changes
-------------
* Linux: xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8 -> xe-pw-160053v1
IGT_8699: 0b67ab25f2eb58b296872c8c34474b79353727d5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8: 5ef09fd6fa463fe02033807ed0c9c78957cdb0a8
xe-pw-160053v1: 160053v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/index.html
[-- Attachment #2: Type: text/html, Size: 2062 bytes --]
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 00/79] Cleanup unused headers reported by clangd
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (80 preceding siblings ...)
2026-01-14 0:03 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-01-14 0:10 ` Matthew Brost
2026-01-14 0:36 ` Matt Roper
2026-01-14 8:29 ` ✓ Xe.CI.Full: success for " Patchwork
82 siblings, 1 reply; 93+ messages in thread
From: Matthew Brost @ 2026-01-14 0:10 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
On Tue, Jan 13, 2026 at 03:03:05PM -0800, Matt Roper wrote:
> clangd[1] helpfully flags #include's of headers that aren't being
> directly used by the file including them. In most cases we can either
> drop those #include statements or replace them with a more targeted
> include (such as xe_gt.h to xe_gt_types.h). Let's drop/simplify a bunch
> of the unnecessary includes in our driver's .c files; this may help
> speed up partial rebuilds for developers since the build system won't
> see as many false dependencies.
>
Yes, header situation isn't great.
> There's more header-related cleanup that could be done (e.g., some of
> our headers incorrectly include other headers they don't need), but that
> can wait for a follow-up series; this one is already long enough.
>
>
> [1] https://clangd.llvm.org/
>
Once we get the headers into better shape can we get clangd in CI?
Without that a year from we will need another huge series of fixes to
undo all the mistakes we've made in the last year.
Matt
> Matt Roper (79):
> drm/xe: Cleanup headers in xe_bb.c
> drm/xe: Drop unused header in xe_bo.c
> drm/xe: Cleanup headers in xe_devcoredump.c
> drm/xe: Drop unused header in xe_device.c
> drm/xe: Drop unused header in xe_exec.c
> drm/xe: Cleanup headers in xe_execlist.c
> drm/xe: Drop unused headers in xe_exec_queue.c
> drm/xe: Simplify headers in xe_ggtt.c
> drm/xe: Cleanup headers in xe_gsc_debugfs.c
> drm/xe: Simplify header in xe_gsc_proxy.c
> drm/xe: Drop unused headers in xe_gsc_submit.c
> drm/xe: Drop unused headers in xe_gt.c
> drm/xe: Cleanup headers in xe_gt_clock.c
> drm/xe: Drop unused header in xe_gt_debugfs.c
> drm/xe: Drop unused header in xe_gt_idle.c
> drm/xe: Drop unused header in xe_gt_mcr.c
> drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
> drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
> drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
> drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
> drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
> drm/xe: Drop unused header in xe_gt_sriov_vf.c
> drm/xe: Simplify header in xe_gt_stats.c
> drm/xe: Simplify header in xe_gt_sysfs.c
> drm/xe: Simplify header in xe_gt_throttle.c
> drm/xe: Drop unused headers in xe_guc_ads.c
> drm/xe: Drop unused header in xe_guc_buf.c
> drm/xe: Cleanup headers in xe_guc_capture.c
> drm/xe: Cleanup headers in xe_guc_debugfs.c
> drm/xe: Simplify headers in xe_guc_hwconfig.c
> drm/xe: Simplify header in xe_guc_log.c
> drm/xe: Cleanup headers in xe_guc_relay.c
> drm/xe: Drop unused headers in xe_guc_submit.c
> drm/xe: Drop unused header in xe_heci_gsc.c
> drm/xe: Drop unused header in xe_huc.c
> drm/xe: Clean up headers in xe_huc_debugfs.c
> drm/xe: Drop unused header in xe_hw_engine.c
> drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
> drm/xe: Simplify include in xe_hw_engine_group.c
> drm/xe: Cleanup headers in xe_hw_fence.c
> drm/xe: Cleanup headers in xe_i2c.c
> drm/xe: Drop unused header in xe_irq.c
> drm/xe: Drop unused headers in xe_memirq.c
> drm/xe: Drop unused headers in xe_mmio.c
> drm/xe: Drop unused headers in xe_mocs.c
> drm/xe: Simplify include in xe_module.c
> drm/xe: Drop unused header in xe_nvm.c
> drm/xe: Drop unused headers in xe_page_reclaim.c
> drm/xe: Drop unused header in xe_pci.c
> drm/xe: Simplify include in xe_psmi.c
> drm/xe: Drop unused header in xe_pxp.c
> drm/xe: Simplify header in xe_pxp_debugfs.c
> drm/xe: Cleanup headers in xe_reg_sr.c
> drm/xe: Drop unused headers in xe_reg_whitelist.c
> drm/xe: Cleanup headers in xe_ring_ops.c
> drm/xe: Drop unused header in xe_rtp.c
> drm/xe: Simplify header in xe_sa.c
> drm/xe: Simplify header in xe_sched_job.c
> drm/xe: Drop unused header in xe_sriov_packet.c
> drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
> drm/xe: Drop unused header in xe_sriov_vf.c
> drm/xe: Cleanup headers in xe_step.c
> drm/xe: Drop unused header in xe_survivability_mode.c
> drm/xe: Cleanup headers in xe_tile.c
> drm/xe: Cleanup headers in xe_tlb_inval.c
> drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
> drm/xe: Drop unused header in xe_ttm_sys_mgr.c
> drm/xe: Drop unused header in xe_ttm_vram_mgr.c
> drm/xe: Drop unused headers in xe_uc.c
> drm/xe: Cleanup headers in xe_uc_debugfs.c
> drm/xe: Simplify header in xe_uc_fw.c
> drm/xe: Drop unused header in xe_validation.c
> drm/xe: Drop unused header in xe_vm.c
> drm/xe: Drop unused headers in xe_vram.c
> drm/xe: Drop unused header in xe_vram_freq.c
> drm/xe: Drop unused header in xe_vsec.c
> drm/xe: Simplify header in xe_wa.c
> drm/xe: Drop unused header in xe_wait_user_fence.c
> drm/xe: Simplify header in xe_wopcm.c
>
> drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
> drivers/gpu/drm/xe/xe_bb.c | 3 +--
> drivers/gpu/drm/xe/xe_bo.c | 1 -
> drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
> drivers/gpu/drm/xe/xe_device.c | 1 -
> drivers/gpu/drm/xe/xe_exec.c | 1 -
> drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
> drivers/gpu/drm/xe/xe_execlist.c | 3 +--
> drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
> drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
> drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
> drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
> drivers/gpu/drm/xe/xe_gt.c | 2 --
> drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
> drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
> drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
> drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
> drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
> drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
> drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
> drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
> drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++---
> drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
> drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
> drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
> drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
> drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
> drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
> drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
> drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
> drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
> drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
> drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
> drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
> drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
> drivers/gpu/drm/xe/xe_huc.c | 1 -
> drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
> drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
> drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
> drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
> drivers/gpu/drm/xe/xe_hw_fence.c | 4 +---
> drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> drivers/gpu/drm/xe/xe_irq.c | 1 -
> drivers/gpu/drm/xe/xe_memirq.c | 2 --
> drivers/gpu/drm/xe/xe_mmio.c | 4 ----
> drivers/gpu/drm/xe/xe_mocs.c | 2 --
> drivers/gpu/drm/xe/xe_module.c | 2 +-
> drivers/gpu/drm/xe/xe_nvm.c | 1 -
> drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
> drivers/gpu/drm/xe/xe_pci.c | 1 -
> drivers/gpu/drm/xe/xe_psmi.c | 2 +-
> drivers/gpu/drm/xe/xe_pxp.c | 1 -
> drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
> drivers/gpu/drm/xe/xe_reg_sr.c | 5 +----
> drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
> drivers/gpu/drm/xe/xe_ring_ops.c | 4 +---
> drivers/gpu/drm/xe/xe_rtp.c | 1 -
> drivers/gpu/drm/xe/xe_sa.c | 2 +-
> drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
> drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
> drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
> drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
> drivers/gpu/drm/xe/xe_step.c | 3 ++-
> drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
> drivers/gpu/drm/xe/xe_tile.c | 3 +--
> drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
> drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
> drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
> drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
> drivers/gpu/drm/xe/xe_uc.c | 2 --
> drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
> drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
> drivers/gpu/drm/xe/xe_validation.c | 1 -
> drivers/gpu/drm/xe/xe_vm.c | 1 -
> drivers/gpu/drm/xe/xe_vram.c | 2 --
> drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
> drivers/gpu/drm/xe/xe_vsec.c | 1 -
> drivers/gpu/drm/xe/xe_wa.c | 2 +-
> drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
> drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
> 80 files changed, 45 insertions(+), 129 deletions(-)
>
> --
> 2.52.0
>
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 00/79] Cleanup unused headers reported by clangd
2026-01-14 0:10 ` [PATCH 00/79] " Matthew Brost
@ 2026-01-14 0:36 ` Matt Roper
2026-01-14 3:46 ` Matthew Brost
0 siblings, 1 reply; 93+ messages in thread
From: Matt Roper @ 2026-01-14 0:36 UTC (permalink / raw)
To: Matthew Brost; +Cc: intel-xe
On Tue, Jan 13, 2026 at 04:10:39PM -0800, Matthew Brost wrote:
> On Tue, Jan 13, 2026 at 03:03:05PM -0800, Matt Roper wrote:
> > clangd[1] helpfully flags #include's of headers that aren't being
> > directly used by the file including them. In most cases we can either
> > drop those #include statements or replace them with a more targeted
> > include (such as xe_gt.h to xe_gt_types.h). Let's drop/simplify a bunch
> > of the unnecessary includes in our driver's .c files; this may help
> > speed up partial rebuilds for developers since the build system won't
> > see as many false dependencies.
> >
>
> Yes, header situation isn't great.
>
> > There's more header-related cleanup that could be done (e.g., some of
> > our headers incorrectly include other headers they don't need), but that
> > can wait for a follow-up series; this one is already long enough.
> >
> >
> > [1] https://clangd.llvm.org/
> >
>
> Once we get the headers into better shape can we get clangd in CI?
> Without that a year from we will need another huge series of fixes to
> undo all the mistakes we've made in the last year.
clangd is a language server intended to talk to plugins in editors
(e.g., I just set it up in neovim); I don't think clangd specifically
can be used in a CI-like setup. However clang-tidy is a standalone lint
tool that I think could be configured to print out the same kinds of
warnings (the "misc-include-cleaner" check seems to be the one for this
case), although I haven't tried it myself.
Matt
>
> Matt
>
> > Matt Roper (79):
> > drm/xe: Cleanup headers in xe_bb.c
> > drm/xe: Drop unused header in xe_bo.c
> > drm/xe: Cleanup headers in xe_devcoredump.c
> > drm/xe: Drop unused header in xe_device.c
> > drm/xe: Drop unused header in xe_exec.c
> > drm/xe: Cleanup headers in xe_execlist.c
> > drm/xe: Drop unused headers in xe_exec_queue.c
> > drm/xe: Simplify headers in xe_ggtt.c
> > drm/xe: Cleanup headers in xe_gsc_debugfs.c
> > drm/xe: Simplify header in xe_gsc_proxy.c
> > drm/xe: Drop unused headers in xe_gsc_submit.c
> > drm/xe: Drop unused headers in xe_gt.c
> > drm/xe: Cleanup headers in xe_gt_clock.c
> > drm/xe: Drop unused header in xe_gt_debugfs.c
> > drm/xe: Drop unused header in xe_gt_idle.c
> > drm/xe: Drop unused header in xe_gt_mcr.c
> > drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
> > drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
> > drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
> > drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
> > drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
> > drm/xe: Drop unused header in xe_gt_sriov_vf.c
> > drm/xe: Simplify header in xe_gt_stats.c
> > drm/xe: Simplify header in xe_gt_sysfs.c
> > drm/xe: Simplify header in xe_gt_throttle.c
> > drm/xe: Drop unused headers in xe_guc_ads.c
> > drm/xe: Drop unused header in xe_guc_buf.c
> > drm/xe: Cleanup headers in xe_guc_capture.c
> > drm/xe: Cleanup headers in xe_guc_debugfs.c
> > drm/xe: Simplify headers in xe_guc_hwconfig.c
> > drm/xe: Simplify header in xe_guc_log.c
> > drm/xe: Cleanup headers in xe_guc_relay.c
> > drm/xe: Drop unused headers in xe_guc_submit.c
> > drm/xe: Drop unused header in xe_heci_gsc.c
> > drm/xe: Drop unused header in xe_huc.c
> > drm/xe: Clean up headers in xe_huc_debugfs.c
> > drm/xe: Drop unused header in xe_hw_engine.c
> > drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
> > drm/xe: Simplify include in xe_hw_engine_group.c
> > drm/xe: Cleanup headers in xe_hw_fence.c
> > drm/xe: Cleanup headers in xe_i2c.c
> > drm/xe: Drop unused header in xe_irq.c
> > drm/xe: Drop unused headers in xe_memirq.c
> > drm/xe: Drop unused headers in xe_mmio.c
> > drm/xe: Drop unused headers in xe_mocs.c
> > drm/xe: Simplify include in xe_module.c
> > drm/xe: Drop unused header in xe_nvm.c
> > drm/xe: Drop unused headers in xe_page_reclaim.c
> > drm/xe: Drop unused header in xe_pci.c
> > drm/xe: Simplify include in xe_psmi.c
> > drm/xe: Drop unused header in xe_pxp.c
> > drm/xe: Simplify header in xe_pxp_debugfs.c
> > drm/xe: Cleanup headers in xe_reg_sr.c
> > drm/xe: Drop unused headers in xe_reg_whitelist.c
> > drm/xe: Cleanup headers in xe_ring_ops.c
> > drm/xe: Drop unused header in xe_rtp.c
> > drm/xe: Simplify header in xe_sa.c
> > drm/xe: Simplify header in xe_sched_job.c
> > drm/xe: Drop unused header in xe_sriov_packet.c
> > drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
> > drm/xe: Drop unused header in xe_sriov_vf.c
> > drm/xe: Cleanup headers in xe_step.c
> > drm/xe: Drop unused header in xe_survivability_mode.c
> > drm/xe: Cleanup headers in xe_tile.c
> > drm/xe: Cleanup headers in xe_tlb_inval.c
> > drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
> > drm/xe: Drop unused header in xe_ttm_sys_mgr.c
> > drm/xe: Drop unused header in xe_ttm_vram_mgr.c
> > drm/xe: Drop unused headers in xe_uc.c
> > drm/xe: Cleanup headers in xe_uc_debugfs.c
> > drm/xe: Simplify header in xe_uc_fw.c
> > drm/xe: Drop unused header in xe_validation.c
> > drm/xe: Drop unused header in xe_vm.c
> > drm/xe: Drop unused headers in xe_vram.c
> > drm/xe: Drop unused header in xe_vram_freq.c
> > drm/xe: Drop unused header in xe_vsec.c
> > drm/xe: Simplify header in xe_wa.c
> > drm/xe: Drop unused header in xe_wait_user_fence.c
> > drm/xe: Simplify header in xe_wopcm.c
> >
> > drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
> > drivers/gpu/drm/xe/xe_bb.c | 3 +--
> > drivers/gpu/drm/xe/xe_bo.c | 1 -
> > drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
> > drivers/gpu/drm/xe/xe_device.c | 1 -
> > drivers/gpu/drm/xe/xe_exec.c | 1 -
> > drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
> > drivers/gpu/drm/xe/xe_execlist.c | 3 +--
> > drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
> > drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
> > drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
> > drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
> > drivers/gpu/drm/xe/xe_gt.c | 2 --
> > drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
> > drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
> > drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
> > drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
> > drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
> > drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
> > drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
> > drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
> > drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++---
> > drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
> > drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
> > drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
> > drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
> > drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
> > drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
> > drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
> > drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
> > drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
> > drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
> > drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
> > drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
> > drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
> > drivers/gpu/drm/xe/xe_huc.c | 1 -
> > drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
> > drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
> > drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
> > drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
> > drivers/gpu/drm/xe/xe_hw_fence.c | 4 +---
> > drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> > drivers/gpu/drm/xe/xe_irq.c | 1 -
> > drivers/gpu/drm/xe/xe_memirq.c | 2 --
> > drivers/gpu/drm/xe/xe_mmio.c | 4 ----
> > drivers/gpu/drm/xe/xe_mocs.c | 2 --
> > drivers/gpu/drm/xe/xe_module.c | 2 +-
> > drivers/gpu/drm/xe/xe_nvm.c | 1 -
> > drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
> > drivers/gpu/drm/xe/xe_pci.c | 1 -
> > drivers/gpu/drm/xe/xe_psmi.c | 2 +-
> > drivers/gpu/drm/xe/xe_pxp.c | 1 -
> > drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
> > drivers/gpu/drm/xe/xe_reg_sr.c | 5 +----
> > drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
> > drivers/gpu/drm/xe/xe_ring_ops.c | 4 +---
> > drivers/gpu/drm/xe/xe_rtp.c | 1 -
> > drivers/gpu/drm/xe/xe_sa.c | 2 +-
> > drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
> > drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
> > drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
> > drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
> > drivers/gpu/drm/xe/xe_step.c | 3 ++-
> > drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
> > drivers/gpu/drm/xe/xe_tile.c | 3 +--
> > drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
> > drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
> > drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
> > drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
> > drivers/gpu/drm/xe/xe_uc.c | 2 --
> > drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
> > drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
> > drivers/gpu/drm/xe/xe_validation.c | 1 -
> > drivers/gpu/drm/xe/xe_vm.c | 1 -
> > drivers/gpu/drm/xe/xe_vram.c | 2 --
> > drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
> > drivers/gpu/drm/xe/xe_vsec.c | 1 -
> > drivers/gpu/drm/xe/xe_wa.c | 2 +-
> > drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
> > drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
> > 80 files changed, 45 insertions(+), 129 deletions(-)
> >
> > --
> > 2.52.0
> >
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 00/79] Cleanup unused headers reported by clangd
2026-01-14 0:36 ` Matt Roper
@ 2026-01-14 3:46 ` Matthew Brost
2026-01-14 5:02 ` Raag Jadav
0 siblings, 1 reply; 93+ messages in thread
From: Matthew Brost @ 2026-01-14 3:46 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
On Tue, Jan 13, 2026 at 04:36:08PM -0800, Matt Roper wrote:
> On Tue, Jan 13, 2026 at 04:10:39PM -0800, Matthew Brost wrote:
> > On Tue, Jan 13, 2026 at 03:03:05PM -0800, Matt Roper wrote:
> > > clangd[1] helpfully flags #include's of headers that aren't being
> > > directly used by the file including them. In most cases we can either
> > > drop those #include statements or replace them with a more targeted
> > > include (such as xe_gt.h to xe_gt_types.h). Let's drop/simplify a bunch
> > > of the unnecessary includes in our driver's .c files; this may help
> > > speed up partial rebuilds for developers since the build system won't
> > > see as many false dependencies.
> > >
> >
> > Yes, header situation isn't great.
> >
> > > There's more header-related cleanup that could be done (e.g., some of
> > > our headers incorrectly include other headers they don't need), but that
> > > can wait for a follow-up series; this one is already long enough.
> > >
> > >
> > > [1] https://clangd.llvm.org/
> > >
> >
> > Once we get the headers into better shape can we get clangd in CI?
> > Without that a year from we will need another huge series of fixes to
> > undo all the mistakes we've made in the last year.
>
> clangd is a language server intended to talk to plugins in editors
> (e.g., I just set it up in neovim); I don't think clangd specifically
> can be used in a CI-like setup. However clang-tidy is a standalone lint
> tool that I think could be configured to print out the same kinds of
> warnings (the "misc-include-cleaner" check seems to be the one for this
> case), although I haven't tried it myself.
>
Ok - for the series:
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
I'd personaly prefer this squashed into one patch as 79 patches is a
lot, maybe Rodrigo, Thomas, Dave, and Sima have a different preference?
Matt
>
> Matt
>
> >
> > Matt
> >
> > > Matt Roper (79):
> > > drm/xe: Cleanup headers in xe_bb.c
> > > drm/xe: Drop unused header in xe_bo.c
> > > drm/xe: Cleanup headers in xe_devcoredump.c
> > > drm/xe: Drop unused header in xe_device.c
> > > drm/xe: Drop unused header in xe_exec.c
> > > drm/xe: Cleanup headers in xe_execlist.c
> > > drm/xe: Drop unused headers in xe_exec_queue.c
> > > drm/xe: Simplify headers in xe_ggtt.c
> > > drm/xe: Cleanup headers in xe_gsc_debugfs.c
> > > drm/xe: Simplify header in xe_gsc_proxy.c
> > > drm/xe: Drop unused headers in xe_gsc_submit.c
> > > drm/xe: Drop unused headers in xe_gt.c
> > > drm/xe: Cleanup headers in xe_gt_clock.c
> > > drm/xe: Drop unused header in xe_gt_debugfs.c
> > > drm/xe: Drop unused header in xe_gt_idle.c
> > > drm/xe: Drop unused header in xe_gt_mcr.c
> > > drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
> > > drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
> > > drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
> > > drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
> > > drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
> > > drm/xe: Drop unused header in xe_gt_sriov_vf.c
> > > drm/xe: Simplify header in xe_gt_stats.c
> > > drm/xe: Simplify header in xe_gt_sysfs.c
> > > drm/xe: Simplify header in xe_gt_throttle.c
> > > drm/xe: Drop unused headers in xe_guc_ads.c
> > > drm/xe: Drop unused header in xe_guc_buf.c
> > > drm/xe: Cleanup headers in xe_guc_capture.c
> > > drm/xe: Cleanup headers in xe_guc_debugfs.c
> > > drm/xe: Simplify headers in xe_guc_hwconfig.c
> > > drm/xe: Simplify header in xe_guc_log.c
> > > drm/xe: Cleanup headers in xe_guc_relay.c
> > > drm/xe: Drop unused headers in xe_guc_submit.c
> > > drm/xe: Drop unused header in xe_heci_gsc.c
> > > drm/xe: Drop unused header in xe_huc.c
> > > drm/xe: Clean up headers in xe_huc_debugfs.c
> > > drm/xe: Drop unused header in xe_hw_engine.c
> > > drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
> > > drm/xe: Simplify include in xe_hw_engine_group.c
> > > drm/xe: Cleanup headers in xe_hw_fence.c
> > > drm/xe: Cleanup headers in xe_i2c.c
> > > drm/xe: Drop unused header in xe_irq.c
> > > drm/xe: Drop unused headers in xe_memirq.c
> > > drm/xe: Drop unused headers in xe_mmio.c
> > > drm/xe: Drop unused headers in xe_mocs.c
> > > drm/xe: Simplify include in xe_module.c
> > > drm/xe: Drop unused header in xe_nvm.c
> > > drm/xe: Drop unused headers in xe_page_reclaim.c
> > > drm/xe: Drop unused header in xe_pci.c
> > > drm/xe: Simplify include in xe_psmi.c
> > > drm/xe: Drop unused header in xe_pxp.c
> > > drm/xe: Simplify header in xe_pxp_debugfs.c
> > > drm/xe: Cleanup headers in xe_reg_sr.c
> > > drm/xe: Drop unused headers in xe_reg_whitelist.c
> > > drm/xe: Cleanup headers in xe_ring_ops.c
> > > drm/xe: Drop unused header in xe_rtp.c
> > > drm/xe: Simplify header in xe_sa.c
> > > drm/xe: Simplify header in xe_sched_job.c
> > > drm/xe: Drop unused header in xe_sriov_packet.c
> > > drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
> > > drm/xe: Drop unused header in xe_sriov_vf.c
> > > drm/xe: Cleanup headers in xe_step.c
> > > drm/xe: Drop unused header in xe_survivability_mode.c
> > > drm/xe: Cleanup headers in xe_tile.c
> > > drm/xe: Cleanup headers in xe_tlb_inval.c
> > > drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
> > > drm/xe: Drop unused header in xe_ttm_sys_mgr.c
> > > drm/xe: Drop unused header in xe_ttm_vram_mgr.c
> > > drm/xe: Drop unused headers in xe_uc.c
> > > drm/xe: Cleanup headers in xe_uc_debugfs.c
> > > drm/xe: Simplify header in xe_uc_fw.c
> > > drm/xe: Drop unused header in xe_validation.c
> > > drm/xe: Drop unused header in xe_vm.c
> > > drm/xe: Drop unused headers in xe_vram.c
> > > drm/xe: Drop unused header in xe_vram_freq.c
> > > drm/xe: Drop unused header in xe_vsec.c
> > > drm/xe: Simplify header in xe_wa.c
> > > drm/xe: Drop unused header in xe_wait_user_fence.c
> > > drm/xe: Simplify header in xe_wopcm.c
> > >
> > > drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
> > > drivers/gpu/drm/xe/xe_bb.c | 3 +--
> > > drivers/gpu/drm/xe/xe_bo.c | 1 -
> > > drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
> > > drivers/gpu/drm/xe/xe_device.c | 1 -
> > > drivers/gpu/drm/xe/xe_exec.c | 1 -
> > > drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
> > > drivers/gpu/drm/xe/xe_execlist.c | 3 +--
> > > drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
> > > drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
> > > drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
> > > drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
> > > drivers/gpu/drm/xe/xe_gt.c | 2 --
> > > drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
> > > drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
> > > drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
> > > drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
> > > drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
> > > drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
> > > drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
> > > drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
> > > drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++---
> > > drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
> > > drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
> > > drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
> > > drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
> > > drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
> > > drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
> > > drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
> > > drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
> > > drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
> > > drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
> > > drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
> > > drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
> > > drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
> > > drivers/gpu/drm/xe/xe_huc.c | 1 -
> > > drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
> > > drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
> > > drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
> > > drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
> > > drivers/gpu/drm/xe/xe_hw_fence.c | 4 +---
> > > drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> > > drivers/gpu/drm/xe/xe_irq.c | 1 -
> > > drivers/gpu/drm/xe/xe_memirq.c | 2 --
> > > drivers/gpu/drm/xe/xe_mmio.c | 4 ----
> > > drivers/gpu/drm/xe/xe_mocs.c | 2 --
> > > drivers/gpu/drm/xe/xe_module.c | 2 +-
> > > drivers/gpu/drm/xe/xe_nvm.c | 1 -
> > > drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
> > > drivers/gpu/drm/xe/xe_pci.c | 1 -
> > > drivers/gpu/drm/xe/xe_psmi.c | 2 +-
> > > drivers/gpu/drm/xe/xe_pxp.c | 1 -
> > > drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
> > > drivers/gpu/drm/xe/xe_reg_sr.c | 5 +----
> > > drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
> > > drivers/gpu/drm/xe/xe_ring_ops.c | 4 +---
> > > drivers/gpu/drm/xe/xe_rtp.c | 1 -
> > > drivers/gpu/drm/xe/xe_sa.c | 2 +-
> > > drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
> > > drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
> > > drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
> > > drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
> > > drivers/gpu/drm/xe/xe_step.c | 3 ++-
> > > drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
> > > drivers/gpu/drm/xe/xe_tile.c | 3 +--
> > > drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
> > > drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
> > > drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
> > > drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
> > > drivers/gpu/drm/xe/xe_uc.c | 2 --
> > > drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
> > > drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
> > > drivers/gpu/drm/xe/xe_validation.c | 1 -
> > > drivers/gpu/drm/xe/xe_vm.c | 1 -
> > > drivers/gpu/drm/xe/xe_vram.c | 2 --
> > > drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
> > > drivers/gpu/drm/xe/xe_vsec.c | 1 -
> > > drivers/gpu/drm/xe/xe_wa.c | 2 +-
> > > drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
> > > drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
> > > 80 files changed, 45 insertions(+), 129 deletions(-)
> > >
> > > --
> > > 2.52.0
> > >
>
> --
> Matt Roper
> Graphics Software Engineer
> Linux GPU Platform Enablement
> Intel Corporation
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 00/79] Cleanup unused headers reported by clangd
2026-01-14 3:46 ` Matthew Brost
@ 2026-01-14 5:02 ` Raag Jadav
2026-01-14 5:33 ` Matthew Brost
0 siblings, 1 reply; 93+ messages in thread
From: Raag Jadav @ 2026-01-14 5:02 UTC (permalink / raw)
To: Matthew Brost; +Cc: Matt Roper, intel-xe
On Tue, Jan 13, 2026 at 07:46:19PM -0800, Matthew Brost wrote:
> On Tue, Jan 13, 2026 at 04:36:08PM -0800, Matt Roper wrote:
> > On Tue, Jan 13, 2026 at 04:10:39PM -0800, Matthew Brost wrote:
> > > On Tue, Jan 13, 2026 at 03:03:05PM -0800, Matt Roper wrote:
> > > > clangd[1] helpfully flags #include's of headers that aren't being
> > > > directly used by the file including them. In most cases we can either
> > > > drop those #include statements or replace them with a more targeted
> > > > include (such as xe_gt.h to xe_gt_types.h). Let's drop/simplify a bunch
> > > > of the unnecessary includes in our driver's .c files; this may help
> > > > speed up partial rebuilds for developers since the build system won't
> > > > see as many false dependencies.
> > > >
> > >
> > > Yes, header situation isn't great.
> > >
> > > > There's more header-related cleanup that could be done (e.g., some of
> > > > our headers incorrectly include other headers they don't need), but that
> > > > can wait for a follow-up series; this one is already long enough.
> > > >
> > > >
> > > > [1] https://clangd.llvm.org/
> > > >
> > >
> > > Once we get the headers into better shape can we get clangd in CI?
> > > Without that a year from we will need another huge series of fixes to
> > > undo all the mistakes we've made in the last year.
> >
> > clangd is a language server intended to talk to plugins in editors
> > (e.g., I just set it up in neovim); I don't think clangd specifically
> > can be used in a CI-like setup. However clang-tidy is a standalone lint
> > tool that I think could be configured to print out the same kinds of
> > warnings (the "misc-include-cleaner" check seems to be the one for this
> > case), although I haven't tried it myself.
> >
>
> Ok - for the series:
> Reviewed-by: Matthew Brost <matthew.brost@intel.com>
>
> I'd personaly prefer this squashed into one patch as 79 patches is a
> lot, maybe Rodrigo, Thomas, Dave, and Sima have a different preference?
Our CI doesn't test for other archs and we might risk breaking upstream
builds.
I tried to dive[1] into some core headers but the situation seems
impossible now. So fully agree, better to clean-up before the debt
piles up.
[1] https://lore.kernel.org/dri-devel/2342b516-2c6e-42e5-b4f4-579b280823ba@app.fastmail.com/
Raag
> > > > Matt Roper (79):
> > > > drm/xe: Cleanup headers in xe_bb.c
> > > > drm/xe: Drop unused header in xe_bo.c
> > > > drm/xe: Cleanup headers in xe_devcoredump.c
> > > > drm/xe: Drop unused header in xe_device.c
> > > > drm/xe: Drop unused header in xe_exec.c
> > > > drm/xe: Cleanup headers in xe_execlist.c
> > > > drm/xe: Drop unused headers in xe_exec_queue.c
> > > > drm/xe: Simplify headers in xe_ggtt.c
> > > > drm/xe: Cleanup headers in xe_gsc_debugfs.c
> > > > drm/xe: Simplify header in xe_gsc_proxy.c
> > > > drm/xe: Drop unused headers in xe_gsc_submit.c
> > > > drm/xe: Drop unused headers in xe_gt.c
> > > > drm/xe: Cleanup headers in xe_gt_clock.c
> > > > drm/xe: Drop unused header in xe_gt_debugfs.c
> > > > drm/xe: Drop unused header in xe_gt_idle.c
> > > > drm/xe: Drop unused header in xe_gt_mcr.c
> > > > drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
> > > > drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
> > > > drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
> > > > drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
> > > > drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
> > > > drm/xe: Drop unused header in xe_gt_sriov_vf.c
> > > > drm/xe: Simplify header in xe_gt_stats.c
> > > > drm/xe: Simplify header in xe_gt_sysfs.c
> > > > drm/xe: Simplify header in xe_gt_throttle.c
> > > > drm/xe: Drop unused headers in xe_guc_ads.c
> > > > drm/xe: Drop unused header in xe_guc_buf.c
> > > > drm/xe: Cleanup headers in xe_guc_capture.c
> > > > drm/xe: Cleanup headers in xe_guc_debugfs.c
> > > > drm/xe: Simplify headers in xe_guc_hwconfig.c
> > > > drm/xe: Simplify header in xe_guc_log.c
> > > > drm/xe: Cleanup headers in xe_guc_relay.c
> > > > drm/xe: Drop unused headers in xe_guc_submit.c
> > > > drm/xe: Drop unused header in xe_heci_gsc.c
> > > > drm/xe: Drop unused header in xe_huc.c
> > > > drm/xe: Clean up headers in xe_huc_debugfs.c
> > > > drm/xe: Drop unused header in xe_hw_engine.c
> > > > drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
> > > > drm/xe: Simplify include in xe_hw_engine_group.c
> > > > drm/xe: Cleanup headers in xe_hw_fence.c
> > > > drm/xe: Cleanup headers in xe_i2c.c
> > > > drm/xe: Drop unused header in xe_irq.c
> > > > drm/xe: Drop unused headers in xe_memirq.c
> > > > drm/xe: Drop unused headers in xe_mmio.c
> > > > drm/xe: Drop unused headers in xe_mocs.c
> > > > drm/xe: Simplify include in xe_module.c
> > > > drm/xe: Drop unused header in xe_nvm.c
> > > > drm/xe: Drop unused headers in xe_page_reclaim.c
> > > > drm/xe: Drop unused header in xe_pci.c
> > > > drm/xe: Simplify include in xe_psmi.c
> > > > drm/xe: Drop unused header in xe_pxp.c
> > > > drm/xe: Simplify header in xe_pxp_debugfs.c
> > > > drm/xe: Cleanup headers in xe_reg_sr.c
> > > > drm/xe: Drop unused headers in xe_reg_whitelist.c
> > > > drm/xe: Cleanup headers in xe_ring_ops.c
> > > > drm/xe: Drop unused header in xe_rtp.c
> > > > drm/xe: Simplify header in xe_sa.c
> > > > drm/xe: Simplify header in xe_sched_job.c
> > > > drm/xe: Drop unused header in xe_sriov_packet.c
> > > > drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
> > > > drm/xe: Drop unused header in xe_sriov_vf.c
> > > > drm/xe: Cleanup headers in xe_step.c
> > > > drm/xe: Drop unused header in xe_survivability_mode.c
> > > > drm/xe: Cleanup headers in xe_tile.c
> > > > drm/xe: Cleanup headers in xe_tlb_inval.c
> > > > drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
> > > > drm/xe: Drop unused header in xe_ttm_sys_mgr.c
> > > > drm/xe: Drop unused header in xe_ttm_vram_mgr.c
> > > > drm/xe: Drop unused headers in xe_uc.c
> > > > drm/xe: Cleanup headers in xe_uc_debugfs.c
> > > > drm/xe: Simplify header in xe_uc_fw.c
> > > > drm/xe: Drop unused header in xe_validation.c
> > > > drm/xe: Drop unused header in xe_vm.c
> > > > drm/xe: Drop unused headers in xe_vram.c
> > > > drm/xe: Drop unused header in xe_vram_freq.c
> > > > drm/xe: Drop unused header in xe_vsec.c
> > > > drm/xe: Simplify header in xe_wa.c
> > > > drm/xe: Drop unused header in xe_wait_user_fence.c
> > > > drm/xe: Simplify header in xe_wopcm.c
> > > >
> > > > drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
> > > > drivers/gpu/drm/xe/xe_bb.c | 3 +--
> > > > drivers/gpu/drm/xe/xe_bo.c | 1 -
> > > > drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
> > > > drivers/gpu/drm/xe/xe_device.c | 1 -
> > > > drivers/gpu/drm/xe/xe_exec.c | 1 -
> > > > drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
> > > > drivers/gpu/drm/xe/xe_execlist.c | 3 +--
> > > > drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
> > > > drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
> > > > drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
> > > > drivers/gpu/drm/xe/xe_gt.c | 2 --
> > > > drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
> > > > drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
> > > > drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
> > > > drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
> > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
> > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
> > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
> > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++---
> > > > drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
> > > > drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
> > > > drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
> > > > drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
> > > > drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
> > > > drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
> > > > drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
> > > > drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
> > > > drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
> > > > drivers/gpu/drm/xe/xe_huc.c | 1 -
> > > > drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
> > > > drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
> > > > drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_hw_fence.c | 4 +---
> > > > drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> > > > drivers/gpu/drm/xe/xe_irq.c | 1 -
> > > > drivers/gpu/drm/xe/xe_memirq.c | 2 --
> > > > drivers/gpu/drm/xe/xe_mmio.c | 4 ----
> > > > drivers/gpu/drm/xe/xe_mocs.c | 2 --
> > > > drivers/gpu/drm/xe/xe_module.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_nvm.c | 1 -
> > > > drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
> > > > drivers/gpu/drm/xe/xe_pci.c | 1 -
> > > > drivers/gpu/drm/xe/xe_psmi.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_pxp.c | 1 -
> > > > drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_reg_sr.c | 5 +----
> > > > drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
> > > > drivers/gpu/drm/xe/xe_ring_ops.c | 4 +---
> > > > drivers/gpu/drm/xe/xe_rtp.c | 1 -
> > > > drivers/gpu/drm/xe/xe_sa.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
> > > > drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
> > > > drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
> > > > drivers/gpu/drm/xe/xe_step.c | 3 ++-
> > > > drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
> > > > drivers/gpu/drm/xe/xe_tile.c | 3 +--
> > > > drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
> > > > drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
> > > > drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
> > > > drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
> > > > drivers/gpu/drm/xe/xe_uc.c | 2 --
> > > > drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_validation.c | 1 -
> > > > drivers/gpu/drm/xe/xe_vm.c | 1 -
> > > > drivers/gpu/drm/xe/xe_vram.c | 2 --
> > > > drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
> > > > drivers/gpu/drm/xe/xe_vsec.c | 1 -
> > > > drivers/gpu/drm/xe/xe_wa.c | 2 +-
> > > > drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
> > > > drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
> > > > 80 files changed, 45 insertions(+), 129 deletions(-)
> > > >
> > > > --
> > > > 2.52.0
> > > >
> >
> > --
> > Matt Roper
> > Graphics Software Engineer
> > Linux GPU Platform Enablement
> > Intel Corporation
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 25/79] drm/xe: Simplify header in xe_gt_throttle.c
2026-01-13 23:03 ` [PATCH 25/79] drm/xe: Simplify header in xe_gt_throttle.c Matt Roper
@ 2026-01-14 5:07 ` Raag Jadav
0 siblings, 0 replies; 93+ messages in thread
From: Raag Jadav @ 2026-01-14 5:07 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
On Tue, Jan 13, 2026 at 03:03:30PM -0800, Matt Roper wrote:
> xe_gt_throttle.c doesn't use anything from xe_device.h; it only needs
> the corresponding 'types' header. Replace the include accordingly.
Long awaited.
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
> ---
> drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_gt_throttle.c b/drivers/gpu/drm/xe/xe_gt_throttle.c
> index 570358310e97..1e7e3a31aa69 100644
> --- a/drivers/gpu/drm/xe/xe_gt_throttle.c
> +++ b/drivers/gpu/drm/xe/xe_gt_throttle.c
> @@ -6,7 +6,7 @@
> #include <drm/drm_managed.h>
>
> #include <regs/xe_gt_regs.h>
> -#include "xe_device.h"
> +#include "xe_device_types.h"
> #include "xe_gt.h"
> #include "xe_gt_sysfs.h"
> #include "xe_gt_throttle.h"
> --
> 2.52.0
>
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c
2026-01-13 23:03 ` [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c Matt Roper
@ 2026-01-14 5:12 ` Raag Jadav
2026-01-14 16:29 ` Matt Roper
0 siblings, 1 reply; 93+ messages in thread
From: Raag Jadav @ 2026-01-14 5:12 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
On Tue, Jan 13, 2026 at 03:03:46PM -0800, Matt Roper wrote:
> xe_i2c.c doesn't use anything from xe_device.h or xe_platform_types.h.
> Drop the unnecessary includes. However it does require xe_sriov.h which
> was being indirectly included; add an explicit include for that.
>
> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> ---
> drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
> index befc77e46eae..1e1fb72e49bf 100644
> --- a/drivers/gpu/drm/xe/xe_i2c.c
> +++ b/drivers/gpu/drm/xe/xe_i2c.c
> @@ -5,6 +5,7 @@
> * Copyright (C) 2025 Intel Corporation.
> */
>
> +#include <drm/drm_print.h>
> #include <linux/array_size.h>
> #include <linux/container_of.h>
> #include <linux/device.h>
> @@ -26,11 +27,10 @@
> #include "regs/xe_i2c_regs.h"
> #include "regs/xe_irq_regs.h"
>
> -#include "xe_device.h"
> #include "xe_device_types.h"
> #include "xe_i2c.h"
> #include "xe_mmio.h"
> -#include "xe_platform_types.h"
> +#include "xe_sriov.h"
My guess is, with pci.h here you won't even need this. But I could be
wrong.
Raag
> #include "xe_survivability_mode.h"
>
> /**
> --
> 2.52.0
>
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 00/79] Cleanup unused headers reported by clangd
2026-01-14 5:02 ` Raag Jadav
@ 2026-01-14 5:33 ` Matthew Brost
2026-01-14 16:22 ` Matt Roper
0 siblings, 1 reply; 93+ messages in thread
From: Matthew Brost @ 2026-01-14 5:33 UTC (permalink / raw)
To: Raag Jadav; +Cc: Matt Roper, intel-xe
On Wed, Jan 14, 2026 at 06:02:57AM +0100, Raag Jadav wrote:
> On Tue, Jan 13, 2026 at 07:46:19PM -0800, Matthew Brost wrote:
> > On Tue, Jan 13, 2026 at 04:36:08PM -0800, Matt Roper wrote:
> > > On Tue, Jan 13, 2026 at 04:10:39PM -0800, Matthew Brost wrote:
> > > > On Tue, Jan 13, 2026 at 03:03:05PM -0800, Matt Roper wrote:
> > > > > clangd[1] helpfully flags #include's of headers that aren't being
> > > > > directly used by the file including them. In most cases we can either
> > > > > drop those #include statements or replace them with a more targeted
> > > > > include (such as xe_gt.h to xe_gt_types.h). Let's drop/simplify a bunch
> > > > > of the unnecessary includes in our driver's .c files; this may help
> > > > > speed up partial rebuilds for developers since the build system won't
> > > > > see as many false dependencies.
> > > > >
> > > >
> > > > Yes, header situation isn't great.
> > > >
> > > > > There's more header-related cleanup that could be done (e.g., some of
> > > > > our headers incorrectly include other headers they don't need), but that
> > > > > can wait for a follow-up series; this one is already long enough.
> > > > >
> > > > >
> > > > > [1] https://clangd.llvm.org/
> > > > >
> > > >
> > > > Once we get the headers into better shape can we get clangd in CI?
> > > > Without that a year from we will need another huge series of fixes to
> > > > undo all the mistakes we've made in the last year.
> > >
> > > clangd is a language server intended to talk to plugins in editors
> > > (e.g., I just set it up in neovim); I don't think clangd specifically
> > > can be used in a CI-like setup. However clang-tidy is a standalone lint
> > > tool that I think could be configured to print out the same kinds of
> > > warnings (the "misc-include-cleaner" check seems to be the one for this
> > > case), although I haven't tried it myself.
> > >
> >
> > Ok - for the series:
> > Reviewed-by: Matthew Brost <matthew.brost@intel.com>
> >
> > I'd personaly prefer this squashed into one patch as 79 patches is a
> > lot, maybe Rodrigo, Thomas, Dave, and Sima have a different preference?
>
> Our CI doesn't test for other archs and we might risk breaking upstream
> builds.
>
That's a good point which I didn't consider. I believe there are lists
which will pick up other archs / kernel test robot though. I do think
the risk is quite low of breaking other builds though given these are Xe
related clean ups - once you start messing with core header that have
platform defines it gets risker. Also if we break something - not say we
should aim for that - community will step in and send us fix.
Matt
> I tried to dive[1] into some core headers but the situation seems
> impossible now. So fully agree, better to clean-up before the debt
> piles up.
>
> [1] https://lore.kernel.org/dri-devel/2342b516-2c6e-42e5-b4f4-579b280823ba@app.fastmail.com/
>
> Raag
>
> > > > > Matt Roper (79):
> > > > > drm/xe: Cleanup headers in xe_bb.c
> > > > > drm/xe: Drop unused header in xe_bo.c
> > > > > drm/xe: Cleanup headers in xe_devcoredump.c
> > > > > drm/xe: Drop unused header in xe_device.c
> > > > > drm/xe: Drop unused header in xe_exec.c
> > > > > drm/xe: Cleanup headers in xe_execlist.c
> > > > > drm/xe: Drop unused headers in xe_exec_queue.c
> > > > > drm/xe: Simplify headers in xe_ggtt.c
> > > > > drm/xe: Cleanup headers in xe_gsc_debugfs.c
> > > > > drm/xe: Simplify header in xe_gsc_proxy.c
> > > > > drm/xe: Drop unused headers in xe_gsc_submit.c
> > > > > drm/xe: Drop unused headers in xe_gt.c
> > > > > drm/xe: Cleanup headers in xe_gt_clock.c
> > > > > drm/xe: Drop unused header in xe_gt_debugfs.c
> > > > > drm/xe: Drop unused header in xe_gt_idle.c
> > > > > drm/xe: Drop unused header in xe_gt_mcr.c
> > > > > drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
> > > > > drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
> > > > > drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
> > > > > drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
> > > > > drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
> > > > > drm/xe: Drop unused header in xe_gt_sriov_vf.c
> > > > > drm/xe: Simplify header in xe_gt_stats.c
> > > > > drm/xe: Simplify header in xe_gt_sysfs.c
> > > > > drm/xe: Simplify header in xe_gt_throttle.c
> > > > > drm/xe: Drop unused headers in xe_guc_ads.c
> > > > > drm/xe: Drop unused header in xe_guc_buf.c
> > > > > drm/xe: Cleanup headers in xe_guc_capture.c
> > > > > drm/xe: Cleanup headers in xe_guc_debugfs.c
> > > > > drm/xe: Simplify headers in xe_guc_hwconfig.c
> > > > > drm/xe: Simplify header in xe_guc_log.c
> > > > > drm/xe: Cleanup headers in xe_guc_relay.c
> > > > > drm/xe: Drop unused headers in xe_guc_submit.c
> > > > > drm/xe: Drop unused header in xe_heci_gsc.c
> > > > > drm/xe: Drop unused header in xe_huc.c
> > > > > drm/xe: Clean up headers in xe_huc_debugfs.c
> > > > > drm/xe: Drop unused header in xe_hw_engine.c
> > > > > drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
> > > > > drm/xe: Simplify include in xe_hw_engine_group.c
> > > > > drm/xe: Cleanup headers in xe_hw_fence.c
> > > > > drm/xe: Cleanup headers in xe_i2c.c
> > > > > drm/xe: Drop unused header in xe_irq.c
> > > > > drm/xe: Drop unused headers in xe_memirq.c
> > > > > drm/xe: Drop unused headers in xe_mmio.c
> > > > > drm/xe: Drop unused headers in xe_mocs.c
> > > > > drm/xe: Simplify include in xe_module.c
> > > > > drm/xe: Drop unused header in xe_nvm.c
> > > > > drm/xe: Drop unused headers in xe_page_reclaim.c
> > > > > drm/xe: Drop unused header in xe_pci.c
> > > > > drm/xe: Simplify include in xe_psmi.c
> > > > > drm/xe: Drop unused header in xe_pxp.c
> > > > > drm/xe: Simplify header in xe_pxp_debugfs.c
> > > > > drm/xe: Cleanup headers in xe_reg_sr.c
> > > > > drm/xe: Drop unused headers in xe_reg_whitelist.c
> > > > > drm/xe: Cleanup headers in xe_ring_ops.c
> > > > > drm/xe: Drop unused header in xe_rtp.c
> > > > > drm/xe: Simplify header in xe_sa.c
> > > > > drm/xe: Simplify header in xe_sched_job.c
> > > > > drm/xe: Drop unused header in xe_sriov_packet.c
> > > > > drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
> > > > > drm/xe: Drop unused header in xe_sriov_vf.c
> > > > > drm/xe: Cleanup headers in xe_step.c
> > > > > drm/xe: Drop unused header in xe_survivability_mode.c
> > > > > drm/xe: Cleanup headers in xe_tile.c
> > > > > drm/xe: Cleanup headers in xe_tlb_inval.c
> > > > > drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
> > > > > drm/xe: Drop unused header in xe_ttm_sys_mgr.c
> > > > > drm/xe: Drop unused header in xe_ttm_vram_mgr.c
> > > > > drm/xe: Drop unused headers in xe_uc.c
> > > > > drm/xe: Cleanup headers in xe_uc_debugfs.c
> > > > > drm/xe: Simplify header in xe_uc_fw.c
> > > > > drm/xe: Drop unused header in xe_validation.c
> > > > > drm/xe: Drop unused header in xe_vm.c
> > > > > drm/xe: Drop unused headers in xe_vram.c
> > > > > drm/xe: Drop unused header in xe_vram_freq.c
> > > > > drm/xe: Drop unused header in xe_vsec.c
> > > > > drm/xe: Simplify header in xe_wa.c
> > > > > drm/xe: Drop unused header in xe_wait_user_fence.c
> > > > > drm/xe: Simplify header in xe_wopcm.c
> > > > >
> > > > > drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
> > > > > drivers/gpu/drm/xe/xe_bb.c | 3 +--
> > > > > drivers/gpu/drm/xe/xe_bo.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
> > > > > drivers/gpu/drm/xe/xe_device.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_exec.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_execlist.c | 3 +--
> > > > > drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
> > > > > drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
> > > > > drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_gt.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
> > > > > drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++---
> > > > > drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
> > > > > drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
> > > > > drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
> > > > > drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
> > > > > drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_huc.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
> > > > > drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_hw_fence.c | 4 +---
> > > > > drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> > > > > drivers/gpu/drm/xe/xe_irq.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_memirq.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_mmio.c | 4 ----
> > > > > drivers/gpu/drm/xe/xe_mocs.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_module.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_nvm.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
> > > > > drivers/gpu/drm/xe/xe_pci.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_psmi.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_pxp.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_reg_sr.c | 5 +----
> > > > > drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_ring_ops.c | 4 +---
> > > > > drivers/gpu/drm/xe/xe_rtp.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_sa.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_step.c | 3 ++-
> > > > > drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_tile.c | 3 +--
> > > > > drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
> > > > > drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_uc.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_validation.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_vm.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_vram.c | 2 --
> > > > > drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_vsec.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_wa.c | 2 +-
> > > > > drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
> > > > > drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
> > > > > 80 files changed, 45 insertions(+), 129 deletions(-)
> > > > >
> > > > > --
> > > > > 2.52.0
> > > > >
> > >
> > > --
> > > Matt Roper
> > > Graphics Software Engineer
> > > Linux GPU Platform Enablement
> > > Intel Corporation
^ permalink raw reply [flat|nested] 93+ messages in thread
* ✓ Xe.CI.Full: success for Cleanup unused headers reported by clangd
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
` (81 preceding siblings ...)
2026-01-14 0:10 ` [PATCH 00/79] " Matthew Brost
@ 2026-01-14 8:29 ` Patchwork
82 siblings, 0 replies; 93+ messages in thread
From: Patchwork @ 2026-01-14 8:29 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 29265 bytes --]
== Series Details ==
Series: Cleanup unused headers reported by clangd
URL : https://patchwork.freedesktop.org/series/160053/
State : success
== Summary ==
CI Bug Log - changes from xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8_FULL -> xe-pw-160053v1_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-160053v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#2233])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-bmg: [PASS][2] -> [INCOMPLETE][3] ([Intel XE#2705] / [Intel XE#6819] / [Intel XE#6904]) +1 other test incomplete
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-10/igt@kms_atomic_transition@plane-all-modeset-transition-fencing.html
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@kms_atomic_transition@plane-all-modeset-transition-fencing.html
* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#2327]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_big_fb@linear-8bpp-rotate-270.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#1124]) +10 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip.html
* igt@kms_bw@connected-linear-tiling-3-displays-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2314] / [Intel XE#2894])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_bw@connected-linear-tiling-3-displays-2160x1440p.html
* igt@kms_bw@linear-tiling-4-displays-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#367]) +1 other test skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_bw@linear-tiling-4-displays-3840x2160p.html
* igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2887]) +14 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs-cc.html
* igt@kms_ccs@crc-primary-suspend-y-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#3432]) +1 other test skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_ccs@crc-primary-suspend-y-tiled-ccs.html
* igt@kms_chamelium_color@ctm-green-to-red:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2325])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_chamelium_color@ctm-green-to-red.html
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2252]) +10 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_chamelium_hpd@common-hpd-after-suspend.html
* igt@kms_content_protection@atomic-hdcp14:
- shard-bmg: NOTRUN -> [FAIL][12] ([Intel XE#3304]) +1 other test fail
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_content_protection@atomic-hdcp14.html
* igt@kms_content_protection@lic-type-0@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][13] ([Intel XE#1178] / [Intel XE#3304]) +3 other tests fail
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_content_protection@lic-type-0@pipe-a-dp-2.html
* igt@kms_content_protection@mei-interface:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2341])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@kms_content_protection@mei-interface.html
* igt@kms_cursor_crc@cursor-random-512x512:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2321]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_cursor_crc@cursor-random-512x512.html
* igt@kms_cursor_crc@cursor-sliding-256x85:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#2320]) +3 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@kms_cursor_crc@cursor-sliding-256x85.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [PASS][17] -> [FAIL][18] ([Intel XE#4633])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-4/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-10/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
* igt@kms_dirtyfb@psr-dirtyfb-ioctl:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#1508])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@kms_dirtyfb@psr-dirtyfb-ioctl.html
* igt@kms_dp_linktrain_fallback@dsc-fallback:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#4331])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_dp_linktrain_fallback@dsc-fallback.html
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2244]) +1 other test skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_dsc@dsc-with-bpc-formats.html
* igt@kms_fbcon_fbt@fbc:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#4156])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@kms_fbcon_fbt@fbc.html
* igt@kms_feature_discovery@display-4x:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#1138])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_feature_discovery@display-4x.html
* igt@kms_flip@2x-flip-vs-suspend-interruptible@cd-dp2-hdmi-a3:
- shard-bmg: NOTRUN -> [INCOMPLETE][24] ([Intel XE#2049] / [Intel XE#2597]) +1 other test incomplete
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@kms_flip@2x-flip-vs-suspend-interruptible@cd-dp2-hdmi-a3.html
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2293] / [Intel XE#2380]) +2 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-valid-mode:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2293]) +2 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-valid-mode.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-indfb-pgflip-blt:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#2311]) +27 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbc-tiling-linear:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#4141]) +8 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-tiling-linear.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#2313]) +32 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html
* igt@kms_hdr@invalid-hdr@pipe-a-hdmi-a-3:
- shard-bmg: NOTRUN -> [ABORT][30] ([Intel XE#6740])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@kms_hdr@invalid-hdr@pipe-a-hdmi-a-3.html
* igt@kms_joiner@basic-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#6911])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_joiner@basic-ultra-joiner.html
* igt@kms_pm_backlight@fade-with-dpms:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#870])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_pm_backlight@fade-with-dpms.html
* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#1406] / [Intel XE#1489]) +9 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf.html
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#1406] / [Intel XE#2387]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@kms_psr2_su@frontbuffer-xrgb8888.html
* igt@kms_psr@pr-sprite-render:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +8 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@kms_psr@pr-sprite-render.html
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-0:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#2330])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_rotation_crc@primary-y-tiled-reflect-x-0.html
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2426]) +1 other test skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_tiled_display@basic-test-pattern.html
* igt@kms_vrr@max-min:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#1499]) +1 other test skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@kms_vrr@max-min.html
* igt@xe_eudebug@basic-vm-bind-ufence:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#4837]) +6 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@xe_eudebug@basic-vm-bind-ufence.html
* igt@xe_eudebug_online@interrupt-reconnect:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#4837] / [Intel XE#6665]) +3 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@xe_eudebug_online@interrupt-reconnect.html
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#2322]) +8 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
* igt@xe_exec_multi_queue@two-queues-preempt-mode-fault-dyn-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#6874]) +28 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_exec_multi_queue@two-queues-preempt-mode-fault-dyn-priority-smem.html
* igt@xe_exec_system_allocator@many-stride-malloc-prefetch:
- shard-bmg: NOTRUN -> [WARN][43] ([Intel XE#5786])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_exec_system_allocator@many-stride-malloc-prefetch.html
* igt@xe_exec_system_allocator@process-many-execqueues-mmap-new-huge:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#4943]) +17 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@xe_exec_system_allocator@process-many-execqueues-mmap-new-huge.html
* igt@xe_module_load@load:
- shard-bmg: ([PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [PASS][51], [PASS][52], [PASS][53], [PASS][54], [PASS][55], [PASS][56], [PASS][57], [PASS][58], [PASS][59], [PASS][60], [PASS][61], [PASS][62], [PASS][63], [PASS][64], [PASS][65], [PASS][66], [PASS][67], [PASS][68], [PASS][69]) -> ([PASS][70], [PASS][71], [PASS][72], [PASS][73], [PASS][74], [PASS][75], [PASS][76], [PASS][77], [PASS][78], [PASS][79], [PASS][80], [PASS][81], [PASS][82], [PASS][83], [PASS][84], [PASS][85], [PASS][86], [PASS][87], [PASS][88], [PASS][89], [PASS][90], [PASS][91], [PASS][92], [SKIP][93], [PASS][94], [PASS][95]) ([Intel XE#2457])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-10/igt@xe_module_load@load.html
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-3/igt@xe_module_load@load.html
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-3/igt@xe_module_load@load.html
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-10/igt@xe_module_load@load.html
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-10/igt@xe_module_load@load.html
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-1/igt@xe_module_load@load.html
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-8/igt@xe_module_load@load.html
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@xe_module_load@load.html
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-1/igt@xe_module_load@load.html
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-7/igt@xe_module_load@load.html
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@xe_module_load@load.html
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@xe_module_load@load.html
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@xe_module_load@load.html
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-7/igt@xe_module_load@load.html
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-4/igt@xe_module_load@load.html
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-4/igt@xe_module_load@load.html
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-3/igt@xe_module_load@load.html
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-7/igt@xe_module_load@load.html
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-8/igt@xe_module_load@load.html
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-8/igt@xe_module_load@load.html
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-6/igt@xe_module_load@load.html
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-6/igt@xe_module_load@load.html
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@xe_module_load@load.html
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@xe_module_load@load.html
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@xe_module_load@load.html
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@xe_module_load@load.html
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-9/igt@xe_module_load@load.html
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-9/igt@xe_module_load@load.html
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@xe_module_load@load.html
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@xe_module_load@load.html
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@xe_module_load@load.html
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@xe_module_load@load.html
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-10/igt@xe_module_load@load.html
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-10/igt@xe_module_load@load.html
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@xe_module_load@load.html
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@xe_module_load@load.html
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_module_load@load.html
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_module_load@load.html
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@xe_module_load@load.html
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@xe_module_load@load.html
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@xe_module_load@load.html
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@xe_module_load@load.html
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_module_load@load.html
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@xe_module_load@load.html
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@xe_module_load@load.html
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@xe_module_load@load.html
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@xe_module_load@load.html
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@xe_module_load@load.html
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@xe_module_load@load.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@xe_module_load@load.html
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@xe_module_load@load.html
* igt@xe_multigpu_svm@mgpu-atomic-op-prefetch:
- shard-bmg: NOTRUN -> [SKIP][96] ([Intel XE#6964]) +3 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@xe_multigpu_svm@mgpu-atomic-op-prefetch.html
* igt@xe_pat@pat-index-xehpc:
- shard-bmg: NOTRUN -> [SKIP][97] ([Intel XE#1420])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_pat@pat-index-xehpc.html
* igt@xe_pm@s2idle-d3cold-basic-exec:
- shard-bmg: NOTRUN -> [SKIP][98] ([Intel XE#2284]) +1 other test skip
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@xe_pm@s2idle-d3cold-basic-exec.html
* igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][99] ([Intel XE#4733]) +3 other tests skip
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq.html
* igt@xe_query@multigpu-query-mem-usage:
- shard-bmg: NOTRUN -> [SKIP][100] ([Intel XE#944]) +1 other test skip
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@xe_query@multigpu-query-mem-usage.html
#### Possible fixes ####
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: [FAIL][101] ([Intel XE#4633]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][103] ([Intel XE#301]) -> [PASS][104] +1 other test pass
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-lnl-5/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@kms_flip@plain-flip-fb-recreate:
- shard-bmg: [ABORT][105] ([Intel XE#5545]) -> [PASS][106] +1 other test pass
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@kms_flip@plain-flip-fb-recreate.html
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@kms_flip@plain-flip-fb-recreate.html
* igt@kms_hdr@static-toggle-dpms@pipe-a-dp-2:
- shard-bmg: [ABORT][107] ([Intel XE#6740]) -> [PASS][108] +3 other tests pass
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@kms_hdr@static-toggle-dpms@pipe-a-dp-2.html
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_hdr@static-toggle-dpms@pipe-a-dp-2.html
* igt@testdisplay:
- shard-bmg: [ABORT][109] ([Intel XE#6740] / [Intel XE#6976]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@testdisplay.html
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@testdisplay.html
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][111] ([Intel XE#6321]) -> [PASS][112] +1 other test pass
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-3/igt@xe_evict@evict-mixed-many-threads-small.html
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@xe_evict@evict-mixed-many-threads-small.html
* igt@xe_exec_reset@gt-reset-stress:
- shard-lnl: [DMESG-WARN][113] ([Intel XE#7023]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-lnl-1/igt@xe_exec_reset@gt-reset-stress.html
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-lnl-3/igt@xe_exec_reset@gt-reset-stress.html
* igt@xe_prime_self_import@export-vs-gem_close-race:
- shard-bmg: [ABORT][115] ([Intel XE#3970] / [Intel XE#5545]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@xe_prime_self_import@export-vs-gem_close-race.html
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@xe_prime_self_import@export-vs-gem_close-race.html
#### Warnings ####
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][117] ([Intel XE#1503]) -> [ABORT][118] ([Intel XE#6740])
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@kms_hdr@invalid-hdr.html
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@kms_hdr@invalid-hdr.html
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1138
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1508]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1508
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2233]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2233
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
[Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2457]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2457
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2705
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3970]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3970
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4156]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4156
[Intel XE#4331]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4331
[Intel XE#4633]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4633
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
[Intel XE#5786]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5786
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
[Intel XE#6740]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6740
[Intel XE#6819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6819
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#6904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6904
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6976]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6976
[Intel XE#7023]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7023
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8 -> xe-pw-160053v1
IGT_8699: 0b67ab25f2eb58b296872c8c34474b79353727d5 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8: 5ef09fd6fa463fe02033807ed0c9c78957cdb0a8
xe-pw-160053v1: 160053v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/index.html
[-- Attachment #2: Type: text/html, Size: 32048 bytes --]
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 00/79] Cleanup unused headers reported by clangd
2026-01-14 5:33 ` Matthew Brost
@ 2026-01-14 16:22 ` Matt Roper
0 siblings, 0 replies; 93+ messages in thread
From: Matt Roper @ 2026-01-14 16:22 UTC (permalink / raw)
To: Matthew Brost; +Cc: Raag Jadav, intel-xe
On Tue, Jan 13, 2026 at 09:33:15PM -0800, Matthew Brost wrote:
> On Wed, Jan 14, 2026 at 06:02:57AM +0100, Raag Jadav wrote:
> > On Tue, Jan 13, 2026 at 07:46:19PM -0800, Matthew Brost wrote:
> > > On Tue, Jan 13, 2026 at 04:36:08PM -0800, Matt Roper wrote:
> > > > On Tue, Jan 13, 2026 at 04:10:39PM -0800, Matthew Brost wrote:
> > > > > On Tue, Jan 13, 2026 at 03:03:05PM -0800, Matt Roper wrote:
> > > > > > clangd[1] helpfully flags #include's of headers that aren't being
> > > > > > directly used by the file including them. In most cases we can either
> > > > > > drop those #include statements or replace them with a more targeted
> > > > > > include (such as xe_gt.h to xe_gt_types.h). Let's drop/simplify a bunch
> > > > > > of the unnecessary includes in our driver's .c files; this may help
> > > > > > speed up partial rebuilds for developers since the build system won't
> > > > > > see as many false dependencies.
> > > > > >
> > > > >
> > > > > Yes, header situation isn't great.
> > > > >
> > > > > > There's more header-related cleanup that could be done (e.g., some of
> > > > > > our headers incorrectly include other headers they don't need), but that
> > > > > > can wait for a follow-up series; this one is already long enough.
> > > > > >
> > > > > >
> > > > > > [1] https://clangd.llvm.org/
> > > > > >
> > > > >
> > > > > Once we get the headers into better shape can we get clangd in CI?
> > > > > Without that a year from we will need another huge series of fixes to
> > > > > undo all the mistakes we've made in the last year.
> > > >
> > > > clangd is a language server intended to talk to plugins in editors
> > > > (e.g., I just set it up in neovim); I don't think clangd specifically
> > > > can be used in a CI-like setup. However clang-tidy is a standalone lint
> > > > tool that I think could be configured to print out the same kinds of
> > > > warnings (the "misc-include-cleaner" check seems to be the one for this
> > > > case), although I haven't tried it myself.
> > > >
> > >
> > > Ok - for the series:
> > > Reviewed-by: Matthew Brost <matthew.brost@intel.com>
> > >
> > > I'd personaly prefer this squashed into one patch as 79 patches is a
> > > lot, maybe Rodrigo, Thomas, Dave, and Sima have a different preference?
> >
> > Our CI doesn't test for other archs and we might risk breaking upstream
> > builds.
> >
>
> That's a good point which I didn't consider. I believe there are lists
> which will pick up other archs / kernel test robot though. I do think
> the risk is quite low of breaking other builds though given these are Xe
> related clean ups - once you start messing with core header that have
> platform defines it gets risker. Also if we break something - not say we
> should aim for that - community will step in and send us fix.
Yeah, I don't think we need to worry about other architectures breaking
too much since there really isn't much/any code in xe_*.c that's #if'd
on an architecture condition. The more likely place we could make
mistakes and get breakage would be Xe's own config options. I.e.,
something along the lines of
#include "xe_foo.h"
#if IS_ENABLED(CONFIG_XE_SOME_FEATURE)
...
xe_foo_bar();
...
#endif
where things in xe_foo.h are only used if the config option is set and
both CI and the developer's local build don't have it set, leading to an
incorrect removal of the #include. Fortunately even that case should be
pretty rare since we try to avoid mid-file #if's in Xe. Wherever
possible we move the preprocessor condition into the header so that the
.c file calls the function unconditionally and the header either makes
'xe_foo' a no-op stub or a function declaration. I kept an eye out for
any mistakes of this sort this while working on these patches and didn't
see any such cases where the header is only needed by a rarely-used #if
block, but it's possible I could have missed something. An
'allyesconfig' should catch any mistakes though, and I think there are
some robots that run that pretty regularly.
Matt
>
> Matt
>
> > I tried to dive[1] into some core headers but the situation seems
> > impossible now. So fully agree, better to clean-up before the debt
> > piles up.
> >
> > [1] https://lore.kernel.org/dri-devel/2342b516-2c6e-42e5-b4f4-579b280823ba@app.fastmail.com/
> >
> > Raag
> >
> > > > > > Matt Roper (79):
> > > > > > drm/xe: Cleanup headers in xe_bb.c
> > > > > > drm/xe: Drop unused header in xe_bo.c
> > > > > > drm/xe: Cleanup headers in xe_devcoredump.c
> > > > > > drm/xe: Drop unused header in xe_device.c
> > > > > > drm/xe: Drop unused header in xe_exec.c
> > > > > > drm/xe: Cleanup headers in xe_execlist.c
> > > > > > drm/xe: Drop unused headers in xe_exec_queue.c
> > > > > > drm/xe: Simplify headers in xe_ggtt.c
> > > > > > drm/xe: Cleanup headers in xe_gsc_debugfs.c
> > > > > > drm/xe: Simplify header in xe_gsc_proxy.c
> > > > > > drm/xe: Drop unused headers in xe_gsc_submit.c
> > > > > > drm/xe: Drop unused headers in xe_gt.c
> > > > > > drm/xe: Cleanup headers in xe_gt_clock.c
> > > > > > drm/xe: Drop unused header in xe_gt_debugfs.c
> > > > > > drm/xe: Drop unused header in xe_gt_idle.c
> > > > > > drm/xe: Drop unused header in xe_gt_mcr.c
> > > > > > drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
> > > > > > drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
> > > > > > drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
> > > > > > drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
> > > > > > drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
> > > > > > drm/xe: Drop unused header in xe_gt_sriov_vf.c
> > > > > > drm/xe: Simplify header in xe_gt_stats.c
> > > > > > drm/xe: Simplify header in xe_gt_sysfs.c
> > > > > > drm/xe: Simplify header in xe_gt_throttle.c
> > > > > > drm/xe: Drop unused headers in xe_guc_ads.c
> > > > > > drm/xe: Drop unused header in xe_guc_buf.c
> > > > > > drm/xe: Cleanup headers in xe_guc_capture.c
> > > > > > drm/xe: Cleanup headers in xe_guc_debugfs.c
> > > > > > drm/xe: Simplify headers in xe_guc_hwconfig.c
> > > > > > drm/xe: Simplify header in xe_guc_log.c
> > > > > > drm/xe: Cleanup headers in xe_guc_relay.c
> > > > > > drm/xe: Drop unused headers in xe_guc_submit.c
> > > > > > drm/xe: Drop unused header in xe_heci_gsc.c
> > > > > > drm/xe: Drop unused header in xe_huc.c
> > > > > > drm/xe: Clean up headers in xe_huc_debugfs.c
> > > > > > drm/xe: Drop unused header in xe_hw_engine.c
> > > > > > drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
> > > > > > drm/xe: Simplify include in xe_hw_engine_group.c
> > > > > > drm/xe: Cleanup headers in xe_hw_fence.c
> > > > > > drm/xe: Cleanup headers in xe_i2c.c
> > > > > > drm/xe: Drop unused header in xe_irq.c
> > > > > > drm/xe: Drop unused headers in xe_memirq.c
> > > > > > drm/xe: Drop unused headers in xe_mmio.c
> > > > > > drm/xe: Drop unused headers in xe_mocs.c
> > > > > > drm/xe: Simplify include in xe_module.c
> > > > > > drm/xe: Drop unused header in xe_nvm.c
> > > > > > drm/xe: Drop unused headers in xe_page_reclaim.c
> > > > > > drm/xe: Drop unused header in xe_pci.c
> > > > > > drm/xe: Simplify include in xe_psmi.c
> > > > > > drm/xe: Drop unused header in xe_pxp.c
> > > > > > drm/xe: Simplify header in xe_pxp_debugfs.c
> > > > > > drm/xe: Cleanup headers in xe_reg_sr.c
> > > > > > drm/xe: Drop unused headers in xe_reg_whitelist.c
> > > > > > drm/xe: Cleanup headers in xe_ring_ops.c
> > > > > > drm/xe: Drop unused header in xe_rtp.c
> > > > > > drm/xe: Simplify header in xe_sa.c
> > > > > > drm/xe: Simplify header in xe_sched_job.c
> > > > > > drm/xe: Drop unused header in xe_sriov_packet.c
> > > > > > drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
> > > > > > drm/xe: Drop unused header in xe_sriov_vf.c
> > > > > > drm/xe: Cleanup headers in xe_step.c
> > > > > > drm/xe: Drop unused header in xe_survivability_mode.c
> > > > > > drm/xe: Cleanup headers in xe_tile.c
> > > > > > drm/xe: Cleanup headers in xe_tlb_inval.c
> > > > > > drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
> > > > > > drm/xe: Drop unused header in xe_ttm_sys_mgr.c
> > > > > > drm/xe: Drop unused header in xe_ttm_vram_mgr.c
> > > > > > drm/xe: Drop unused headers in xe_uc.c
> > > > > > drm/xe: Cleanup headers in xe_uc_debugfs.c
> > > > > > drm/xe: Simplify header in xe_uc_fw.c
> > > > > > drm/xe: Drop unused header in xe_validation.c
> > > > > > drm/xe: Drop unused header in xe_vm.c
> > > > > > drm/xe: Drop unused headers in xe_vram.c
> > > > > > drm/xe: Drop unused header in xe_vram_freq.c
> > > > > > drm/xe: Drop unused header in xe_vsec.c
> > > > > > drm/xe: Simplify header in xe_wa.c
> > > > > > drm/xe: Drop unused header in xe_wait_user_fence.c
> > > > > > drm/xe: Simplify header in xe_wopcm.c
> > > > > >
> > > > > > drivers/gpu/drm/xe/tests/xe_bo.c | 1 +
> > > > > > drivers/gpu/drm/xe/xe_bb.c | 3 +--
> > > > > > drivers/gpu/drm/xe/xe_bo.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_devcoredump.c | 3 +--
> > > > > > drivers/gpu/drm/xe/xe_device.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_exec.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_exec_queue.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_execlist.c | 3 +--
> > > > > > drivers/gpu/drm/xe/xe_ggtt.c | 3 +--
> > > > > > drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++---
> > > > > > drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_gsc_submit.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_gt.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_gt_clock.c | 6 +-----
> > > > > > drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_gt_idle.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_gt_mcr.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++---
> > > > > > drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_gt_stats.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_guc_ads.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_guc_buf.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_guc_capture.c | 5 +----
> > > > > > drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++---
> > > > > > drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++--
> > > > > > drivers/gpu/drm/xe/xe_guc_log.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_guc_relay.c | 3 +--
> > > > > > drivers/gpu/drm/xe/xe_guc_submit.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_heci_gsc.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_huc.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++---
> > > > > > drivers/gpu/drm/xe/xe_hw_engine.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_hw_fence.c | 4 +---
> > > > > > drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> > > > > > drivers/gpu/drm/xe/xe_irq.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_memirq.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_mmio.c | 4 ----
> > > > > > drivers/gpu/drm/xe/xe_mocs.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_module.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_nvm.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ----
> > > > > > drivers/gpu/drm/xe/xe_pci.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_psmi.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_pxp.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_reg_sr.c | 5 +----
> > > > > > drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_ring_ops.c | 4 +---
> > > > > > drivers/gpu/drm/xe/xe_rtp.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_sa.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_sched_job.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_sriov_packet.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_sriov_vf.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_step.c | 3 ++-
> > > > > > drivers/gpu/drm/xe/xe_survivability_mode.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_tile.c | 3 +--
> > > > > > drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++-----
> > > > > > drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_uc.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_uc_fw.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_validation.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_vm.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_vram.c | 2 --
> > > > > > drivers/gpu/drm/xe/xe_vram_freq.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_vsec.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_wa.c | 2 +-
> > > > > > drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 -
> > > > > > drivers/gpu/drm/xe/xe_wopcm.c | 2 +-
> > > > > > 80 files changed, 45 insertions(+), 129 deletions(-)
> > > > > >
> > > > > > --
> > > > > > 2.52.0
> > > > > >
> > > >
> > > > --
> > > > Matt Roper
> > > > Graphics Software Engineer
> > > > Linux GPU Platform Enablement
> > > > Intel Corporation
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c
2026-01-14 5:12 ` Raag Jadav
@ 2026-01-14 16:29 ` Matt Roper
2026-01-14 17:11 ` Raag Jadav
0 siblings, 1 reply; 93+ messages in thread
From: Matt Roper @ 2026-01-14 16:29 UTC (permalink / raw)
To: Raag Jadav; +Cc: intel-xe
On Wed, Jan 14, 2026 at 06:12:00AM +0100, Raag Jadav wrote:
> On Tue, Jan 13, 2026 at 03:03:46PM -0800, Matt Roper wrote:
> > xe_i2c.c doesn't use anything from xe_device.h or xe_platform_types.h.
> > Drop the unnecessary includes. However it does require xe_sriov.h which
> > was being indirectly included; add an explicit include for that.
> >
> > Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> > ---
> > drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
> > index befc77e46eae..1e1fb72e49bf 100644
> > --- a/drivers/gpu/drm/xe/xe_i2c.c
> > +++ b/drivers/gpu/drm/xe/xe_i2c.c
> > @@ -5,6 +5,7 @@
> > * Copyright (C) 2025 Intel Corporation.
> > */
> >
> > +#include <drm/drm_print.h>
> > #include <linux/array_size.h>
> > #include <linux/container_of.h>
> > #include <linux/device.h>
> > @@ -26,11 +27,10 @@
> > #include "regs/xe_i2c_regs.h"
> > #include "regs/xe_irq_regs.h"
> >
> > -#include "xe_device.h"
> > #include "xe_device_types.h"
> > #include "xe_i2c.h"
> > #include "xe_mmio.h"
> > -#include "xe_platform_types.h"
> > +#include "xe_sriov.h"
>
> My guess is, with pci.h here you won't even need this. But I could be
> wrong.
In this case we needed xe_sriov.h for the definition of IS_SRIOV_VF()
that's used later in the file.
Matt
>
> Raag
>
> > #include "xe_survivability_mode.h"
> >
> > /**
> > --
> > 2.52.0
> >
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
^ permalink raw reply [flat|nested] 93+ messages in thread
* Re: [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c
2026-01-14 16:29 ` Matt Roper
@ 2026-01-14 17:11 ` Raag Jadav
0 siblings, 0 replies; 93+ messages in thread
From: Raag Jadav @ 2026-01-14 17:11 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
On Wed, Jan 14, 2026 at 08:29:10AM -0800, Matt Roper wrote:
> On Wed, Jan 14, 2026 at 06:12:00AM +0100, Raag Jadav wrote:
> > On Tue, Jan 13, 2026 at 03:03:46PM -0800, Matt Roper wrote:
> > > xe_i2c.c doesn't use anything from xe_device.h or xe_platform_types.h.
> > > Drop the unnecessary includes. However it does require xe_sriov.h which
> > > was being indirectly included; add an explicit include for that.
> > >
> > > Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
> > > ---
> > > drivers/gpu/drm/xe/xe_i2c.c | 4 ++--
> > > 1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/xe/xe_i2c.c b/drivers/gpu/drm/xe/xe_i2c.c
> > > index befc77e46eae..1e1fb72e49bf 100644
> > > --- a/drivers/gpu/drm/xe/xe_i2c.c
> > > +++ b/drivers/gpu/drm/xe/xe_i2c.c
> > > @@ -5,6 +5,7 @@
> > > * Copyright (C) 2025 Intel Corporation.
> > > */
> > >
> > > +#include <drm/drm_print.h>
> > > #include <linux/array_size.h>
> > > #include <linux/container_of.h>
> > > #include <linux/device.h>
> > > @@ -26,11 +27,10 @@
> > > #include "regs/xe_i2c_regs.h"
> > > #include "regs/xe_irq_regs.h"
> > >
> > > -#include "xe_device.h"
> > > #include "xe_device_types.h"
> > > #include "xe_i2c.h"
> > > #include "xe_mmio.h"
> > > -#include "xe_platform_types.h"
> > > +#include "xe_sriov.h"
> >
> > My guess is, with pci.h here you won't even need this. But I could be
> > wrong.
>
> In this case we needed xe_sriov.h for the definition of IS_SRIOV_VF()
> that's used later in the file.
Yep, missed it.
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
> > > #include "xe_survivability_mode.h"
> > >
> > > /**
> > > --
> > > 2.52.0
> > >
^ permalink raw reply [flat|nested] 93+ messages in thread
end of thread, other threads:[~2026-01-14 17:12 UTC | newest]
Thread overview: 93+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-13 23:03 [PATCH 00/79] Cleanup unused headers reported by clangd Matt Roper
2026-01-13 23:03 ` [PATCH 01/79] drm/xe: Cleanup headers in xe_bb.c Matt Roper
2026-01-13 23:03 ` [PATCH 02/79] drm/xe: Drop unused header in xe_bo.c Matt Roper
2026-01-13 23:03 ` [PATCH 03/79] drm/xe: Cleanup headers in xe_devcoredump.c Matt Roper
2026-01-13 23:03 ` [PATCH 04/79] drm/xe: Drop unused header in xe_device.c Matt Roper
2026-01-13 23:03 ` [PATCH 05/79] drm/xe: Drop unused header in xe_exec.c Matt Roper
2026-01-13 23:03 ` [PATCH 06/79] drm/xe: Cleanup headers in xe_execlist.c Matt Roper
2026-01-13 23:03 ` [PATCH 07/79] drm/xe: Drop unused headers in xe_exec_queue.c Matt Roper
2026-01-13 23:03 ` [PATCH 08/79] drm/xe: Simplify headers in xe_ggtt.c Matt Roper
2026-01-13 23:03 ` [PATCH 09/79] drm/xe: Cleanup headers in xe_gsc_debugfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 10/79] drm/xe: Simplify header in xe_gsc_proxy.c Matt Roper
2026-01-13 23:03 ` [PATCH 11/79] drm/xe: Drop unused headers in xe_gsc_submit.c Matt Roper
2026-01-13 23:03 ` [PATCH 12/79] drm/xe: Drop unused headers in xe_gt.c Matt Roper
2026-01-13 23:03 ` [PATCH 13/79] drm/xe: Cleanup headers in xe_gt_clock.c Matt Roper
2026-01-13 23:03 ` [PATCH 14/79] drm/xe: Drop unused header in xe_gt_debugfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 15/79] drm/xe: Drop unused header in xe_gt_idle.c Matt Roper
2026-01-13 23:03 ` [PATCH 16/79] drm/xe: Drop unused header in xe_gt_mcr.c Matt Roper
2026-01-13 23:03 ` [PATCH 17/79] drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c Matt Roper
2026-01-13 23:03 ` [PATCH 18/79] drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 19/79] drm/xe: Simplify header in xe_gt_sriov_pf_migration.c Matt Roper
2026-01-13 23:03 ` [PATCH 20/79] drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c Matt Roper
2026-01-13 23:03 ` [PATCH 21/79] drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c Matt Roper
2026-01-13 23:03 ` [PATCH 22/79] drm/xe: Drop unused header in xe_gt_sriov_vf.c Matt Roper
2026-01-13 23:03 ` [PATCH 23/79] drm/xe: Simplify header in xe_gt_stats.c Matt Roper
2026-01-13 23:03 ` [PATCH 24/79] drm/xe: Simplify header in xe_gt_sysfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 25/79] drm/xe: Simplify header in xe_gt_throttle.c Matt Roper
2026-01-14 5:07 ` Raag Jadav
2026-01-13 23:03 ` [PATCH 26/79] drm/xe: Drop unused headers in xe_guc_ads.c Matt Roper
2026-01-13 23:03 ` [PATCH 27/79] drm/xe: Drop unused header in xe_guc_buf.c Matt Roper
2026-01-13 23:03 ` [PATCH 28/79] drm/xe: Cleanup headers in xe_guc_capture.c Matt Roper
2026-01-13 23:03 ` [PATCH 29/79] drm/xe: Cleanup headers in xe_guc_debugfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 30/79] drm/xe: Simplify headers in xe_guc_hwconfig.c Matt Roper
2026-01-13 23:03 ` [PATCH 31/79] drm/xe: Simplify header in xe_guc_log.c Matt Roper
2026-01-13 23:03 ` [PATCH 32/79] drm/xe: Cleanup headers in xe_guc_relay.c Matt Roper
2026-01-13 23:03 ` [PATCH 33/79] drm/xe: Drop unused headers in xe_guc_submit.c Matt Roper
2026-01-13 23:03 ` [PATCH 34/79] drm/xe: Drop unused header in xe_heci_gsc.c Matt Roper
2026-01-13 23:03 ` [PATCH 35/79] drm/xe: Drop unused header in xe_huc.c Matt Roper
2026-01-13 23:03 ` [PATCH 36/79] drm/xe: Clean up headers in xe_huc_debugfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 37/79] drm/xe: Drop unused header in xe_hw_engine.c Matt Roper
2026-01-13 23:03 ` [PATCH 38/79] drm/xe: Simplify include in xe_hw_engine_class_sysfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 39/79] drm/xe: Simplify include in xe_hw_engine_group.c Matt Roper
2026-01-13 23:03 ` [PATCH 40/79] drm/xe: Cleanup headers in xe_hw_fence.c Matt Roper
2026-01-13 23:03 ` [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c Matt Roper
2026-01-14 5:12 ` Raag Jadav
2026-01-14 16:29 ` Matt Roper
2026-01-14 17:11 ` Raag Jadav
2026-01-13 23:03 ` [PATCH 42/79] drm/xe: Drop unused header in xe_irq.c Matt Roper
2026-01-13 23:03 ` [PATCH 43/79] drm/xe: Drop unused headers in xe_memirq.c Matt Roper
2026-01-13 23:03 ` [PATCH 44/79] drm/xe: Drop unused headers in xe_mmio.c Matt Roper
2026-01-13 23:03 ` [PATCH 45/79] drm/xe: Drop unused headers in xe_mocs.c Matt Roper
2026-01-13 23:03 ` [PATCH 46/79] drm/xe: Simplify include in xe_module.c Matt Roper
2026-01-13 23:03 ` [PATCH 47/79] drm/xe: Drop unused header in xe_nvm.c Matt Roper
2026-01-13 23:03 ` [PATCH 48/79] drm/xe: Drop unused headers in xe_page_reclaim.c Matt Roper
2026-01-13 23:03 ` [PATCH 49/79] drm/xe: Drop unused header in xe_pci.c Matt Roper
2026-01-13 23:03 ` [PATCH 50/79] drm/xe: Simplify include in xe_psmi.c Matt Roper
2026-01-13 23:03 ` [PATCH 51/79] drm/xe: Drop unused header in xe_pxp.c Matt Roper
2026-01-13 23:03 ` [PATCH 52/79] drm/xe: Simplify header in xe_pxp_debugfs.c Matt Roper
2026-01-13 23:03 ` [PATCH 53/79] drm/xe: Cleanup headers in xe_reg_sr.c Matt Roper
2026-01-13 23:03 ` [PATCH 54/79] drm/xe: Drop unused headers in xe_reg_whitelist.c Matt Roper
2026-01-13 23:04 ` [PATCH 55/79] drm/xe: Cleanup headers in xe_ring_ops.c Matt Roper
2026-01-13 23:04 ` [PATCH 56/79] drm/xe: Drop unused header in xe_rtp.c Matt Roper
2026-01-13 23:04 ` [PATCH 57/79] drm/xe: Simplify header in xe_sa.c Matt Roper
2026-01-13 23:04 ` [PATCH 58/79] drm/xe: Simplify header in xe_sched_job.c Matt Roper
2026-01-13 23:04 ` [PATCH 59/79] drm/xe: Drop unused header in xe_sriov_packet.c Matt Roper
2026-01-13 23:04 ` [PATCH 60/79] drm/xe: Drop unused header in xe_sriov_pf_debugfs.c Matt Roper
2026-01-13 23:04 ` [PATCH 61/79] drm/xe: Drop unused header in xe_sriov_vf.c Matt Roper
2026-01-13 23:04 ` [PATCH 62/79] drm/xe: Cleanup headers in xe_step.c Matt Roper
2026-01-13 23:04 ` [PATCH 63/79] drm/xe: Drop unused header in xe_survivability_mode.c Matt Roper
2026-01-13 23:04 ` [PATCH 64/79] drm/xe: Cleanup headers in xe_tile.c Matt Roper
2026-01-13 23:04 ` [PATCH 65/79] drm/xe: Cleanup headers in xe_tlb_inval.c Matt Roper
2026-01-13 23:04 ` [PATCH 66/79] drm/xe: Drop unused header in xe_ttm_stolen_mgr.c Matt Roper
2026-01-13 23:04 ` [PATCH 67/79] drm/xe: Drop unused header in xe_ttm_sys_mgr.c Matt Roper
2026-01-13 23:04 ` [PATCH 68/79] drm/xe: Drop unused header in xe_ttm_vram_mgr.c Matt Roper
2026-01-13 23:04 ` [PATCH 69/79] drm/xe: Drop unused headers in xe_uc.c Matt Roper
2026-01-13 23:04 ` [PATCH 70/79] drm/xe: Cleanup headers in xe_uc_debugfs.c Matt Roper
2026-01-13 23:04 ` [PATCH 71/79] drm/xe: Simplify header in xe_uc_fw.c Matt Roper
2026-01-13 23:04 ` [PATCH 72/79] drm/xe: Drop unused header in xe_validation.c Matt Roper
2026-01-13 23:04 ` [PATCH 73/79] drm/xe: Drop unused header in xe_vm.c Matt Roper
2026-01-13 23:04 ` [PATCH 74/79] drm/xe: Drop unused headers in xe_vram.c Matt Roper
2026-01-13 23:04 ` [PATCH 75/79] drm/xe: Drop unused header in xe_vram_freq.c Matt Roper
2026-01-13 23:04 ` [PATCH 76/79] drm/xe: Drop unused header in xe_vsec.c Matt Roper
2026-01-13 23:04 ` [PATCH 77/79] drm/xe: Simplify header in xe_wa.c Matt Roper
2026-01-13 23:04 ` [PATCH 78/79] drm/xe: Drop unused header in xe_wait_user_fence.c Matt Roper
2026-01-13 23:04 ` [PATCH 79/79] drm/xe: Simplify header in xe_wopcm.c Matt Roper
2026-01-13 23:17 ` ✓ CI.KUnit: success for Cleanup unused headers reported by clangd Patchwork
2026-01-14 0:03 ` ✓ Xe.CI.BAT: " Patchwork
2026-01-14 0:10 ` [PATCH 00/79] " Matthew Brost
2026-01-14 0:36 ` Matt Roper
2026-01-14 3:46 ` Matthew Brost
2026-01-14 5:02 ` Raag Jadav
2026-01-14 5:33 ` Matthew Brost
2026-01-14 16:22 ` Matt Roper
2026-01-14 8:29 ` ✓ Xe.CI.Full: success for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox