Cleanup unused headers reported by clangd
Subsystems (2)
cover Cleanup unused headers reported by clangd
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.
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(-)
Signature · 1 line
2.52.0
PATCH 1/79 drm/xe: Cleanup headers in xe_bb.c
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.
--- drivers/gpu/drm/xe/xe_bb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_bb.c +1 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 2/79 drm/xe: Drop unused header in xe_bo.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/tests/xe_bo.c | 1 + drivers/gpu/drm/xe/xe_bo.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/tests/xe_bo.c +1 -0
@@ -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"
drivers/gpu/drm/xe/xe_bo.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 3/79 drm/xe: Cleanup headers in xe_devcoredump.c
In reply to Matt RoperThe 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.
--- drivers/gpu/drm/xe/xe_devcoredump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_devcoredump.c +1 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 4/79 drm/xe: Drop unused header in xe_device.c
In reply to Matt Roperxe_device.c doesn't use anything from xe_gsc_proxy.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_device.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_device.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 5/79 drm/xe: Drop unused header in xe_exec.c
In reply to Matt Roperxe_exec.c doesn't use anything from xe_bo.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_exec.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_exec.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 6/79 drm/xe: Cleanup headers in xe_execlist.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_execlist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_execlist.c +1 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 7/79 drm/xe: Drop unused headers in xe_exec_queue.c
In reply to Matt Roperxe_exec_queue.h does not use anything from xe_ring_ops_types.h or xe_hw_fence.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_exec_queue.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_exec_queue.c +0 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 8/79 drm/xe: Simplify headers in xe_ggtt.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_ggtt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_ggtt.c +1 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 9/79 drm/xe: Cleanup headers in xe_gsc_debugfs.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_gsc_debugfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_gsc_debugfs.c +2 -3
@@ -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 *
Signature · 1 line
2.52.0
PATCH 10/79 drm/xe: Simplify header in xe_gsc_proxy.c
In reply to Matt Roperxe_gsc_proxy.c doesn't use anything from xe_gt.h and only needs the corresponding 'types' header.
--- drivers/gpu/drm/xe/xe_gsc_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_gsc_proxy.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 11/79 drm/xe: Drop unused headers in xe_gsc_submit.c
In reply to Matt Roperxe_gsc_submit.c doesn't use anything from xe_gt_printk.h or xe_gsc_regs.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_gsc_submit.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_gsc_submit.c +0 -2
@@ -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 */
Signature · 1 line
2.52.0
PATCH 12/79 drm/xe: Drop unused headers in xe_gt.c
In reply to Matt Roperxe_gt.c doesn't use anything from xe_gfxpipe_commands.h or xe_bo.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_gt.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_gt.c +0 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 13/79 drm/xe: Cleanup headers in xe_gt_clock.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_gt_clock.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_gt_clock.c +1 -5
@@ -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
Signature · 1 line
2.52.0
PATCH 14/79 drm/xe: Drop unused header in xe_gt_debugfs.c
In reply to Matt Roperxe_gt_debugfs.c doesn't use anything from xe_macros.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_gt_debugfs.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_debugfs.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 15/79 drm/xe: Drop unused header in xe_gt_idle.c
In reply to Matt Roperxe_gt_idle.c doesn't use anything from xe_macros.h. Drop the unnecessary header.
--- drivers/gpu/drm/xe/xe_gt_idle.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_idle.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 16/79 drm/xe: Drop unused header in xe_gt_mcr.c
In reply to Matt Roperxe_gt_mcr.c doesn't use anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_gt_mcr.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_mcr.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 17/79 drm/xe: Drop unused headers in xe_gt_sriov_pf_config.c
In reply to Matt Roperxe_gt_sriov_pf_config.c doesn't use anything from xe_guc_fwif.h or xe_map.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +0 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 18/79 drm/xe: Drop unused header in xe_gt_sriov_pf_debugfs.c
In reply to Matt Roperxe_gt_sriov_pf_debugfs.c doesn't use anything from xe_bo.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 19/79 drm/xe: Simplify header in xe_gt_sriov_pf_migration.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c +1 -1
@@ -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
Signature · 1 line
2.52.0
PATCH 20/79 drm/xe: Drop unused header in xe_gt_sriov_pf_policy.c
In reply to Matt Roperxe_gt_sriov_pf_policy.c doesn't use anything from xe_bo.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 21/79 drm/xe: Cleanup headers in xe_gt_sriov_pf_service.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c +2 -3
@@ -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[] = {
Signature · 1 line
2.52.0
PATCH 22/79 drm/xe: Drop unused header in xe_gt_sriov_vf.c
In reply to Matt Roperxe_gt_sriov_vf.c doesn't use anything from xe_gtt_defs.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_sriov_vf.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 23/79 drm/xe: Simplify header in xe_gt_stats.c
In reply to Matt Roperxe_gt_stats.c doesn't use anything from xe_gt.h; it only needs the corresponding "types" header. Replace the include accordingly.
--- drivers/gpu/drm/xe/xe_gt_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_stats.c +1 -1
@@ -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
Signature · 1 line
2.52.0
PATCH 24/79 drm/xe: Simplify header in xe_gt_sysfs.c
In reply to Matt Roperxe_gt_sysfs.c doesn't use anything from xe_gt.h; it only needs the corresponding "types" header. Replace the include accordingly.
--- drivers/gpu/drm/xe/xe_gt_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_sysfs.c +1 -1
@@ -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) {
Signature · 1 line
2.52.0
PATCH 25/79 drm/xe: Simplify header in xe_gt_throttle.c
In reply to Matt Roperxe_gt_throttle.c doesn't use anything from xe_device.h; it only needs the corresponding 'types' header. Replace the include accordingly.
--- drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_gt_throttle.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
Re: [PATCH 25/79] drm/xe: Simplify header in xe_gt_throttle.c
Quoted 2 lines · Matt Roper
xe_gt_throttle.cdoesn't use anything fromxe_device.h; it only needs the corresponding 'types' header. Replace the include accordingly.
Long awaited.
Quoted 1 line
Signed-off-by Matt Roper <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/xe/xe_gt_throttle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/xe/xe_gt_throttle.c +1
-1@@ -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" Signature · 1 line
2.52.0
PATCH 26/79 drm/xe: Drop unused headers in xe_guc_ads.c
In reply to Matt Roperxe_guc_ads.c doesn't use anything from xe_platform_types.h or xe_uc_fw.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_guc_ads.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_guc_ads.c +0 -2
@@ -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 */
Signature · 1 line
2.52.0
PATCH 27/79 drm/xe: Drop unused header in xe_guc_buf.c
In reply to Matt Roperxe_guc_buf.c doesn't use anything from xe_asert.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_guc_buf.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_guc_buf.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 28/79 drm/xe: Cleanup headers in xe_guc_capture.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_guc_capture.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_guc_capture.c +1 -4
@@ -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"
Signature · 1 line
2.52.0
PATCH 29/79 drm/xe: Cleanup headers in xe_guc_debugfs.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_guc_debugfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_guc_debugfs.c +2 -3
@@ -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" /*
Signature · 1 line
2.52.0
PATCH 30/79 drm/xe: Simplify headers in xe_guc_hwconfig.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_guc_hwconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_guc_hwconfig.c +2 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 31/79 drm/xe: Simplify header in xe_guc_log.c
In reply to Matt Roperxe_guc_log.c only needs xe_gt_types.h; it doesn't use anything from xe_gt.h. Replace the include to reflect this.
--- drivers/gpu/drm/xe/xe_guc_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_guc_log.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 32/79 drm/xe: Cleanup headers in xe_guc_relay.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_guc_relay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_guc_relay.c +1 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 33/79 drm/xe: Drop unused headers in xe_guc_submit.c
In reply to Matt Roperxe_guc_submit.c doesn't use anything from xe_lrc_layout.h or xe_hw_fence.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_guc_submit.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_guc_submit.c +0 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 34/79 drm/xe: Drop unused header in xe_heci_gsc.c
In reply to Matt Roperxe_heci_gsc.c doesn't use anything from xe_drv.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_heci_gsc.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_heci_gsc.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 35/79 drm/xe: Drop unused header in xe_huc.c
In reply to Matt Roperxe_huc.c doesn't use anything from xe_assert.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_huc.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_huc.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 36/79 drm/xe: Clean up headers in xe_huc_debugfs.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_huc_debugfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_huc_debugfs.c +2 -3
@@ -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 *
Signature · 1 line
2.52.0
PATCH 37/79 drm/xe: Drop unused header in xe_hw_engine.c
In reply to Matt Roperxe_hw_engine.c doesn't use anything from xe_macros.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_hw_engine.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_hw_engine.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 38/79 drm/xe: Simplify include in xe_hw_engine_class_sysfs.c
In reply to Matt Roperxe_hw_engine_class_sysfs.c only needs the device type header, not xe_device.h.
--- drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 39/79 drm/xe: Simplify include in xe_hw_engine_group.c
In reply to Matt Roperxe_hw_engine_group.c only needs the device type header, not xe_device.h.
--- drivers/gpu/drm/xe/xe_hw_engine_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_hw_engine_group.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 40/79 drm/xe: Cleanup headers in xe_hw_fence.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_hw_fence.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_hw_fence.c +1 -3
@@ -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"
Signature · 1 line
2.52.0
PATCH 41/79 drm/xe: Cleanup headers in xe_i2c.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_i2c.c +2 -2
@@ -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" /**
Signature · 1 line
2.52.0
Re: [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c
Quoted 22 lines · Matt Roper
xe_i2c.cdoesn't use anything fromxe_device.horxe_platform_types.h. Drop the unnecessary includes. However it does requirexe_sriov.hwhich was being indirectly included; add an explicit include for that.Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/xe/xe_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xe/xe_i2c.c +1
-0@@ -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>
drivers/gpu/drm/xe/xe_i2c.c line 33
Quoted 9 lines
drivers/gpu/drm/xe/xe_i2c.c +1
-2@@ -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
Quoted 6 lines
drivers/gpu/drm/xe/xe_i2c.c +0
-0#include "xe_survivability_mode.h" /** Signature · 1 line
2.52.0
Re: [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c
Quoted 26 lines · Raag Jadav
Quoted 25 lines · Matt Roper
xe_i2c.cdoesn't use anything fromxe_device.horxe_platform_types.h. Drop the unnecessary includes. However it does requirexe_sriov.hwhich was being indirectly included; add an explicit include for that.Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/xe/xe_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xe/xe_i2c.c +1
-0@@ -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"
Quoted 9 lines
drivers/gpu/drm/xe/xe_i2c.c line 33
Quoted 6 lines
drivers/gpu/drm/xe/xe_i2c.c +1
-2-#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.hhere 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
Quoted 9 lines
Raag
Quoted 6 lines
drivers/gpu/drm/xe/xe_i2c.c +0
-0#include "xe_survivability_mode.h" /** Signature · 1 line
2.52.0
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Raag Jadav
Reviewed-byRe: [PATCH 41/79] drm/xe: Cleanup headers in xe_i2c.c
Quoted 37 lines · Matt Roper
Quoted 26 lines · Raag Jadav
Quoted 25 lines · Matt Roper
xe_i2c.cdoesn't use anything fromxe_device.horxe_platform_types.h. Drop the unnecessary includes. However it does requirexe_sriov.hwhich was being indirectly included; add an explicit include for that.Signed-off-by Matt Roper <[email protected]>--- drivers/gpu/drm/xe/xe_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/xe/xe_i2c.c +1
-0@@ -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" Quoted 9 lines
drivers/gpu/drm/xe/xe_i2c.c line 33
Quoted 6 lines
drivers/gpu/drm/xe/xe_i2c.c +1
-2-#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.hhere you won't even need this. But I could be wrong.
Quoted 2 lines
In this case we needed
xe_sriov.hfor the definition ofIS_SRIOV_VF()that's used later in the file.
Yep, missed it.
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
drivers/gpu/drm/xe/xe_i2c.c +0
-0#include "xe_survivability_mode.h" /** Signature · 1 line
2.52.0
PATCH 42/79 drm/xe: Drop unused header in xe_irq.c
In reply to Matt Roperxe_irq.c doesn't use anything from xe_guc_regs.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_irq.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_irq.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 43/79 drm/xe: Drop unused headers in xe_memirq.c
In reply to Matt Roperxe_memirq.c doesn't use anything from xe_regs.h or xe_map.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_memirq.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_memirq.c +0 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 44/79 drm/xe: Drop unused headers in xe_mmio.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_mmio.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/xe/xe_mmio.c +0 -4
@@ -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"
Signature · 1 line
2.52.0
PATCH 45/79 drm/xe: Drop unused headers in xe_mocs.c
In reply to Matt Roperxe_mocs.c doesn't use anything from xe_bo.h or xe_step_types.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_mocs.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_mocs.c +0 -2
@@ -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
Signature · 1 line
2.52.0
PATCH 46/79 drm/xe: Simplify include in xe_module.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_module.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 47/79 drm/xe: Drop unused header in xe_nvm.c
In reply to Matt Roperxe_nvm.c doesn't use anything from xe_device.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_nvm.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_nvm.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 48/79 drm/xe: Drop unused headers in xe_page_reclaim.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_page_reclaim.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/gpu/drm/xe/xe_page_reclaim.c +0 -4
@@ -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
Signature · 1 line
2.52.0
PATCH 49/79 drm/xe: Drop unused header in xe_pci.c
In reply to Matt Roperxe_pci.c doesn't use anything from xe_macros.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_pci.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_pci.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 50/79 drm/xe: Simplify include in xe_psmi.c
In reply to Matt Roperxe_psmi.c only needs the device type header, not the full xe_device.c.
--- drivers/gpu/drm/xe/xe_psmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_psmi.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 51/79 drm/xe: Drop unused header in xe_pxp.c
In reply to Matt Roperxe_pxp.c doesn't use anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_pxp.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_pxp.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 52/79 drm/xe: Simplify header in xe_pxp_debugfs.c
In reply to Matt Roperxe_pxp_debugfs.c only needs the device type header rather than the full device header.
--- drivers/gpu/drm/xe/xe_pxp_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_pxp_debugfs.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 53/79 drm/xe: Cleanup headers in xe_reg_sr.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_reg_sr.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_reg_sr.c +1 -4
@@ -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"
Signature · 1 line
2.52.0
PATCH 54/79 drm/xe: Drop unused headers in xe_reg_whitelist.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_reg_whitelist.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_reg_whitelist.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 55/79 drm/xe: Cleanup headers in xe_ring_ops.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_ring_ops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_ring_ops.c +1 -3
@@ -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"
Signature · 1 line
2.52.0
PATCH 56/79 drm/xe: Drop unused header in xe_rtp.c
In reply to Matt Roperxe_rtp.c doesn't use anything from xe_macros.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_rtp.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_rtp.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 57/79 drm/xe: Simplify header in xe_sa.c
In reply to Matt Roperxe_sa.c only needs the device type header rather than the full device header.
--- drivers/gpu/drm/xe/xe_sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_sa.c +1 -1
@@ -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)
Signature · 1 line
2.52.0
PATCH 58/79 drm/xe: Simplify header in xe_sched_job.c
In reply to Matt Roperxe_sched_job.c only needs the GT types header rather than the full GT header.
--- drivers/gpu/drm/xe/xe_sched_job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_sched_job.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 59/79 drm/xe: Drop unused header in xe_sriov_packet.c
In reply to Matt Roperxe_sriov_packet.c doesn't use anything from xe_printk.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_sriov_packet.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_sriov_packet.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 60/79 drm/xe: Drop unused header in xe_sriov_pf_debugfs.c
In reply to Matt Roperxe_sriov_pf_debugfs.c doesn't use anything from xe_sriov_printk.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_sriov_pf_debugfs.c +0 -1
@@ -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" /*
Signature · 1 line
2.52.0
PATCH 61/79 drm/xe: Drop unused header in xe_sriov_vf.c
In reply to Matt Roperxe_sriov_vf.c doesn't need anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_sriov_vf.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_sriov_vf.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 62/79 drm/xe: Cleanup headers in xe_step.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_step.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_step.c +2 -1
@@ -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" /*
Signature · 1 line
2.52.0
PATCH 63/79 drm/xe: Drop unused header in xe_survivability_mode.c
In reply to Matt Roperxe_survivability_mode.c doesn't use anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_survivability_mode.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_survivability_mode.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 64/79 drm/xe: Cleanup headers in xe_tile.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_tile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_tile.c +1 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 65/79 drm/xe: Cleanup headers in xe_tlb_inval.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_tlb_inval.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/xe_tlb_inval.c +2 -5
@@ -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"
Signature · 1 line
2.52.0
PATCH 66/79 drm/xe: Drop unused header in xe_ttm_stolen_mgr.c
In reply to Matt Roperxe_ttm_stolen_mgr.c doesn't need anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 67/79 drm/xe: Drop unused header in xe_ttm_sys_mgr.c
In reply to Matt Roperxe_ttm_sys_mgr.c doesn't need anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_ttm_sys_mgr.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c +0 -1
@@ -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;
Signature · 1 line
2.52.0
PATCH 68/79 drm/xe: Drop unused header in xe_ttm_vram_mgr.c
In reply to Matt Roperxe_ttm_vram_mgr.c doesn't need anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 69/79 drm/xe: Drop unused headers in xe_uc.c
In reply to Matt Roperxe_uc.c doesn't use anything from xe_gsc_proxy.h or xe_uc_fw.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_uc.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_uc.c +0 -2
@@ -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 *
Signature · 1 line
2.52.0
PATCH 70/79 drm/xe: Cleanup headers in xe_uc_debugfs.c
In reply to Matt Roperxe_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.
--- drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_uc_debugfs.c +1 -1
@@ -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) {
Signature · 1 line
2.52.0
PATCH 71/79 drm/xe: Simplify header in xe_uc_fw.c
In reply to Matt Roperxe_uc_fw.c only needs the GT 'types' header rather than the full GT header.
--- drivers/gpu/drm/xe/xe_uc_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_uc_fw.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 72/79 drm/xe: Drop unused header in xe_validation.c
In reply to Matt Roperxe_validation.c doesn't use anything from xe_bo.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_validation.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_validation.c +0 -1
@@ -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>
Signature · 1 line
2.52.0
PATCH 73/79 drm/xe: Drop unused header in xe_vm.c
In reply to Matt Roperxe_vm.c doesn't use anything from xe_res_cursor.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_vm.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_vm.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 74/79 drm/xe: Drop unused headers in xe_vram.c
In reply to Matt Roperxe_vram.c doesn't use anything from xe_bo.h or xe_module.h. Drop the unnecessary includes.
--- drivers/gpu/drm/xe/xe_vram.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/xe/xe_vram.c +0 -2
@@ -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"
Signature · 1 line
2.52.0
PATCH 75/79 drm/xe: Drop unused header in xe_vram_freq.c
In reply to Matt Roperxe_vram_freq.c doesn't use anything from xe_gt_types.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_vram_freq.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_vram_freq.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 76/79 drm/xe: Drop unused header in xe_vsec.c
In reply to Matt Roperxe_vsec.c doesn't use anything from xe_drv.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_vsec.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_vsec.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 77/79 drm/xe: Simplify header in xe_wa.c
In reply to Matt Roperxe_wa.c doesn't use anything from xe_gt.h and only needs the corresponding 'types' header.
--- drivers/gpu/drm/xe/xe_wa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_wa.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 78/79 drm/xe: Drop unused header in xe_wait_user_fence.c
In reply to Matt Roperxe_wait_user_fence.c doesn't use anything from xe_gt.h. Drop the unnecessary include.
--- drivers/gpu/drm/xe/xe_wait_user_fence.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/xe/xe_wait_user_fence.c +0 -1
@@ -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"
Signature · 1 line
2.52.0
PATCH 79/79 drm/xe: Simplify header in xe_wopcm.c
In reply to Matt Roperxe_wopcm.c only needs the GT type header rather than the full GT header.
--- drivers/gpu/drm/xe/xe_wopcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_wopcm.c +1 -1
@@ -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"
Signature · 1 line
2.52.0
Patchwork
CI✓ CI.KUnit: success for Cleanup unused headers reported by clangd
In reply to Matt Roper== Series Details ==
== 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
Patchwork
CI✓ Xe.CI.BAT: success for Cleanup unused headers reported by clangd
In reply to Matt Roper== Series Details ==
== 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@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/bat-dg2-oem2/igt@[email protected]
[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
Matthew Brost
maintainerQuoted 8 lines · Matt 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.htoxe_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.
Quoted 7 lines
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.
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
Quoted 166 lines
Matt Roper (79):
drm/xe: Cleanup headers inxe_bb.c
drm/xe: Drop unused header inxe_bo.c
drm/xe: Cleanup headers inxe_devcoredump.cdrm/xe: Drop unused header inxe_device.cdrm/xe: Drop unused header inxe_exec.cdrm/xe: Cleanup headers inxe_execlist.cdrm/xe: Drop unused headers inxe_exec_queue.cdrm/xe: Simplify headers inxe_ggtt.c
drm/xe: Cleanup headers inxe_gsc_debugfs.cdrm/xe: Simplify header inxe_gsc_proxy.cdrm/xe: Drop unused headers inxe_gsc_submit.cdrm/xe: Drop unused headers inxe_gt.cdrm/xe: Cleanup headers inxe_gt_clock.cdrm/xe: Drop unused header inxe_gt_debugfs.cdrm/xe: Drop unused header inxe_gt_idle.cdrm/xe: Drop unused header inxe_gt_mcr.cdrm/xe: Drop unused headers inxe_gt_sriov_pf_config.cdrm/xe: Drop unused header inxe_gt_sriov_pf_debugfs.cdrm/xe: Simplify header inxe_gt_sriov_pf_migration.cdrm/xe: Drop unused header inxe_gt_sriov_pf_policy.cdrm/xe: Cleanup headers inxe_gt_sriov_pf_service.cdrm/xe: Drop unused header inxe_gt_sriov_vf.cdrm/xe: Simplify header inxe_gt_stats.cdrm/xe: Simplify header inxe_gt_sysfs.cdrm/xe: Simplify header inxe_gt_throttle.cdrm/xe: Drop unused headers inxe_guc_ads.cdrm/xe: Drop unused header inxe_guc_buf.cdrm/xe: Cleanup headers inxe_guc_capture.cdrm/xe: Cleanup headers inxe_guc_debugfs.cdrm/xe: Simplify headers inxe_guc_hwconfig.cdrm/xe: Simplify header inxe_guc_log.cdrm/xe: Cleanup headers inxe_guc_relay.cdrm/xe: Drop unused headers inxe_guc_submit.cdrm/xe: Drop unused header inxe_heci_gsc.cdrm/xe: Drop unused header inxe_huc.cdrm/xe: Clean up headers inxe_huc_debugfs.cdrm/xe: Drop unused header inxe_hw_engine.cdrm/xe: Simplify include inxe_hw_engine_class_sysfs.cdrm/xe: Simplify include inxe_hw_engine_group.cdrm/xe: Cleanup headers inxe_hw_fence.cdrm/xe: Cleanup headers inxe_i2c.c
drm/xe: Drop unused header inxe_irq.cdrm/xe: Drop unused headers inxe_memirq.cdrm/xe: Drop unused headers inxe_mmio.cdrm/xe: Drop unused headers inxe_mocs.cdrm/xe: Simplify include inxe_module.cdrm/xe: Drop unused header inxe_nvm.cdrm/xe: Drop unused headers inxe_page_reclaim.cdrm/xe: Drop unused header inxe_pci.cdrm/xe: Simplify include inxe_psmi.c
drm/xe: Drop unused header inxe_pxp.cdrm/xe: Simplify header inxe_pxp_debugfs.cdrm/xe: Cleanup headers inxe_reg_sr.cdrm/xe: Drop unused headers inxe_reg_whitelist.cdrm/xe: Cleanup headers inxe_ring_ops.cdrm/xe: Drop unused header inxe_rtp.cdrm/xe: Simplify header inxe_sa.c
drm/xe: Simplify header inxe_sched_job.cdrm/xe: Drop unused header inxe_sriov_packet.cdrm/xe: Drop unused header inxe_sriov_pf_debugfs.cdrm/xe: Drop unused header inxe_sriov_vf.cdrm/xe: Cleanup headers inxe_step.c
drm/xe: Drop unused header inxe_survivability_mode.cdrm/xe: Cleanup headers inxe_tile.c
drm/xe: Cleanup headers inxe_tlb_inval.cdrm/xe: Drop unused header inxe_ttm_stolen_mgr.cdrm/xe: Drop unused header inxe_ttm_sys_mgr.cdrm/xe: Drop unused header inxe_ttm_vram_mgr.cdrm/xe: Drop unused headers inxe_uc.cdrm/xe: Cleanup headers inxe_uc_debugfs.cdrm/xe: Simplify header inxe_uc_fw.c
drm/xe: Drop unused header inxe_validation.cdrm/xe: Drop unused header inxe_vm.c
drm/xe: Drop unused headers inxe_vram.cdrm/xe: Drop unused header inxe_vram_freq.cdrm/xe: Drop unused header inxe_vsec.cdrm/xe: Simplify header inxe_wa.c
drm/xe: Drop unused header inxe_wait_user_fence.cdrm/xe: Simplify header inxe_wopcm.cdrivers/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(-)Signature · 1 line
2.52.0
Quoted 17 lines · Matthew Brost
Quoted 8 lines · Matt 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.htoxe_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.
Quoted 5 lines
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.
Quoted 6 lines
Quoted 2 lines
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
Quoted 169 lines
Matt
Quoted 166 lines
Matt Roper (79):
drm/xe: Cleanup headers inxe_bb.c
drm/xe: Drop unused header inxe_bo.c
drm/xe: Cleanup headers inxe_devcoredump.cdrm/xe: Drop unused header inxe_device.cdrm/xe: Drop unused header inxe_exec.cdrm/xe: Cleanup headers inxe_execlist.cdrm/xe: Drop unused headers inxe_exec_queue.cdrm/xe: Simplify headers inxe_ggtt.c
drm/xe: Cleanup headers inxe_gsc_debugfs.cdrm/xe: Simplify header inxe_gsc_proxy.cdrm/xe: Drop unused headers inxe_gsc_submit.cdrm/xe: Drop unused headers inxe_gt.cdrm/xe: Cleanup headers inxe_gt_clock.cdrm/xe: Drop unused header inxe_gt_debugfs.cdrm/xe: Drop unused header inxe_gt_idle.cdrm/xe: Drop unused header inxe_gt_mcr.cdrm/xe: Drop unused headers inxe_gt_sriov_pf_config.cdrm/xe: Drop unused header inxe_gt_sriov_pf_debugfs.cdrm/xe: Simplify header inxe_gt_sriov_pf_migration.cdrm/xe: Drop unused header inxe_gt_sriov_pf_policy.cdrm/xe: Cleanup headers inxe_gt_sriov_pf_service.cdrm/xe: Drop unused header inxe_gt_sriov_vf.cdrm/xe: Simplify header inxe_gt_stats.cdrm/xe: Simplify header inxe_gt_sysfs.cdrm/xe: Simplify header inxe_gt_throttle.cdrm/xe: Drop unused headers inxe_guc_ads.cdrm/xe: Drop unused header inxe_guc_buf.cdrm/xe: Cleanup headers inxe_guc_capture.cdrm/xe: Cleanup headers inxe_guc_debugfs.cdrm/xe: Simplify headers inxe_guc_hwconfig.cdrm/xe: Simplify header inxe_guc_log.cdrm/xe: Cleanup headers inxe_guc_relay.cdrm/xe: Drop unused headers inxe_guc_submit.cdrm/xe: Drop unused header inxe_heci_gsc.cdrm/xe: Drop unused header inxe_huc.cdrm/xe: Clean up headers inxe_huc_debugfs.cdrm/xe: Drop unused header inxe_hw_engine.cdrm/xe: Simplify include inxe_hw_engine_class_sysfs.cdrm/xe: Simplify include inxe_hw_engine_group.cdrm/xe: Cleanup headers inxe_hw_fence.cdrm/xe: Cleanup headers inxe_i2c.c
drm/xe: Drop unused header inxe_irq.cdrm/xe: Drop unused headers inxe_memirq.cdrm/xe: Drop unused headers inxe_mmio.cdrm/xe: Drop unused headers inxe_mocs.cdrm/xe: Simplify include inxe_module.cdrm/xe: Drop unused header inxe_nvm.cdrm/xe: Drop unused headers inxe_page_reclaim.cdrm/xe: Drop unused header inxe_pci.cdrm/xe: Simplify include inxe_psmi.c
drm/xe: Drop unused header inxe_pxp.cdrm/xe: Simplify header inxe_pxp_debugfs.cdrm/xe: Cleanup headers inxe_reg_sr.cdrm/xe: Drop unused headers inxe_reg_whitelist.cdrm/xe: Cleanup headers inxe_ring_ops.cdrm/xe: Drop unused header inxe_rtp.cdrm/xe: Simplify header inxe_sa.c
drm/xe: Simplify header inxe_sched_job.cdrm/xe: Drop unused header inxe_sriov_packet.cdrm/xe: Drop unused header inxe_sriov_pf_debugfs.cdrm/xe: Drop unused header inxe_sriov_vf.cdrm/xe: Cleanup headers inxe_step.c
drm/xe: Drop unused header inxe_survivability_mode.cdrm/xe: Cleanup headers inxe_tile.c
drm/xe: Cleanup headers inxe_tlb_inval.cdrm/xe: Drop unused header inxe_ttm_stolen_mgr.cdrm/xe: Drop unused header inxe_ttm_sys_mgr.cdrm/xe: Drop unused header inxe_ttm_vram_mgr.cdrm/xe: Drop unused headers inxe_uc.cdrm/xe: Cleanup headers inxe_uc_debugfs.cdrm/xe: Simplify header inxe_uc_fw.c
drm/xe: Drop unused header inxe_validation.cdrm/xe: Drop unused header inxe_vm.c
drm/xe: Drop unused headers inxe_vram.cdrm/xe: Drop unused header inxe_vram_freq.cdrm/xe: Drop unused header inxe_vsec.cdrm/xe: Simplify header inxe_wa.c
drm/xe: Drop unused header inxe_wait_user_fence.cdrm/xe: Simplify header inxe_wopcm.cdrivers/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(-)Signature · 1 line
2.52.0
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Quoted 25 lines · Matt Roper
Quoted 17 lines · Matthew Brost
Quoted 8 lines · Matt 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.htoxe_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.
Quoted 5 lines
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.
Quoted 6 lines
Quoted 2 lines
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.
Quoted 7 lines
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:
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
Quoted 178 lines
Matt
Quoted 169 lines
Matt
Quoted 166 lines
Matt Roper (79):
drm/xe: Cleanup headers inxe_bb.c
drm/xe: Drop unused header inxe_bo.c
drm/xe: Cleanup headers inxe_devcoredump.cdrm/xe: Drop unused header inxe_device.cdrm/xe: Drop unused header inxe_exec.cdrm/xe: Cleanup headers inxe_execlist.cdrm/xe: Drop unused headers inxe_exec_queue.cdrm/xe: Simplify headers inxe_ggtt.c
drm/xe: Cleanup headers inxe_gsc_debugfs.cdrm/xe: Simplify header inxe_gsc_proxy.cdrm/xe: Drop unused headers inxe_gsc_submit.cdrm/xe: Drop unused headers inxe_gt.cdrm/xe: Cleanup headers inxe_gt_clock.cdrm/xe: Drop unused header inxe_gt_debugfs.cdrm/xe: Drop unused header inxe_gt_idle.cdrm/xe: Drop unused header inxe_gt_mcr.cdrm/xe: Drop unused headers inxe_gt_sriov_pf_config.cdrm/xe: Drop unused header inxe_gt_sriov_pf_debugfs.cdrm/xe: Simplify header inxe_gt_sriov_pf_migration.cdrm/xe: Drop unused header inxe_gt_sriov_pf_policy.cdrm/xe: Cleanup headers inxe_gt_sriov_pf_service.cdrm/xe: Drop unused header inxe_gt_sriov_vf.cdrm/xe: Simplify header inxe_gt_stats.cdrm/xe: Simplify header inxe_gt_sysfs.cdrm/xe: Simplify header inxe_gt_throttle.cdrm/xe: Drop unused headers inxe_guc_ads.cdrm/xe: Drop unused header inxe_guc_buf.cdrm/xe: Cleanup headers inxe_guc_capture.cdrm/xe: Cleanup headers inxe_guc_debugfs.cdrm/xe: Simplify headers inxe_guc_hwconfig.cdrm/xe: Simplify header inxe_guc_log.cdrm/xe: Cleanup headers inxe_guc_relay.cdrm/xe: Drop unused headers inxe_guc_submit.cdrm/xe: Drop unused header inxe_heci_gsc.cdrm/xe: Drop unused header inxe_huc.cdrm/xe: Clean up headers inxe_huc_debugfs.cdrm/xe: Drop unused header inxe_hw_engine.cdrm/xe: Simplify include inxe_hw_engine_class_sysfs.cdrm/xe: Simplify include inxe_hw_engine_group.cdrm/xe: Cleanup headers inxe_hw_fence.cdrm/xe: Cleanup headers inxe_i2c.c
drm/xe: Drop unused header inxe_irq.cdrm/xe: Drop unused headers inxe_memirq.cdrm/xe: Drop unused headers inxe_mmio.cdrm/xe: Drop unused headers inxe_mocs.cdrm/xe: Simplify include inxe_module.cdrm/xe: Drop unused header inxe_nvm.cdrm/xe: Drop unused headers inxe_page_reclaim.cdrm/xe: Drop unused header inxe_pci.cdrm/xe: Simplify include inxe_psmi.c
drm/xe: Drop unused header inxe_pxp.cdrm/xe: Simplify header inxe_pxp_debugfs.cdrm/xe: Cleanup headers inxe_reg_sr.cdrm/xe: Drop unused headers inxe_reg_whitelist.cdrm/xe: Cleanup headers inxe_ring_ops.cdrm/xe: Drop unused header inxe_rtp.cdrm/xe: Simplify header inxe_sa.c
drm/xe: Simplify header inxe_sched_job.cdrm/xe: Drop unused header inxe_sriov_packet.cdrm/xe: Drop unused header inxe_sriov_pf_debugfs.cdrm/xe: Drop unused header inxe_sriov_vf.cdrm/xe: Cleanup headers inxe_step.c
drm/xe: Drop unused header inxe_survivability_mode.cdrm/xe: Cleanup headers inxe_tile.c
drm/xe: Cleanup headers inxe_tlb_inval.cdrm/xe: Drop unused header inxe_ttm_stolen_mgr.cdrm/xe: Drop unused header inxe_ttm_sys_mgr.cdrm/xe: Drop unused header inxe_ttm_vram_mgr.cdrm/xe: Drop unused headers inxe_uc.cdrm/xe: Cleanup headers inxe_uc_debugfs.cdrm/xe: Simplify header inxe_uc_fw.c
drm/xe: Drop unused header inxe_validation.cdrm/xe: Drop unused header inxe_vm.c
drm/xe: Drop unused headers inxe_vram.cdrm/xe: Drop unused header inxe_vram_freq.cdrm/xe: Drop unused header inxe_vsec.cdrm/xe: Simplify header inxe_wa.c
drm/xe: Drop unused header inxe_wait_user_fence.cdrm/xe: Simplify header inxe_wopcm.cdrivers/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(-)Signature · 1 line
2.52.0Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Quoted 34 lines · Matthew Brost
Quoted 25 lines · Matt Roper
Quoted 17 lines · Matthew Brost
Quoted 8 lines · Matt 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.htoxe_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.
Quoted 5 lines
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.
Quoted 6 lines
Quoted 2 lines
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.
Quoted 7 lines
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.
Quoted 5 lines
Ok - for the series:
Reviewed-by Matthew Brost <[email protected]>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/[email protected]/
Raag
Quoted 172 lines
Quoted 172 lines
Quoted 166 lines
Quoted 166 lines
Matt Roper (79):
drm/xe: Cleanup headers inxe_bb.c
drm/xe: Drop unused header inxe_bo.c
drm/xe: Cleanup headers inxe_devcoredump.cdrm/xe: Drop unused header inxe_device.cdrm/xe: Drop unused header inxe_exec.cdrm/xe: Cleanup headers inxe_execlist.cdrm/xe: Drop unused headers inxe_exec_queue.cdrm/xe: Simplify headers inxe_ggtt.c
drm/xe: Cleanup headers inxe_gsc_debugfs.cdrm/xe: Simplify header inxe_gsc_proxy.cdrm/xe: Drop unused headers inxe_gsc_submit.cdrm/xe: Drop unused headers inxe_gt.cdrm/xe: Cleanup headers inxe_gt_clock.cdrm/xe: Drop unused header inxe_gt_debugfs.cdrm/xe: Drop unused header inxe_gt_idle.cdrm/xe: Drop unused header inxe_gt_mcr.cdrm/xe: Drop unused headers inxe_gt_sriov_pf_config.cdrm/xe: Drop unused header inxe_gt_sriov_pf_debugfs.cdrm/xe: Simplify header inxe_gt_sriov_pf_migration.cdrm/xe: Drop unused header inxe_gt_sriov_pf_policy.cdrm/xe: Cleanup headers inxe_gt_sriov_pf_service.cdrm/xe: Drop unused header inxe_gt_sriov_vf.cdrm/xe: Simplify header inxe_gt_stats.cdrm/xe: Simplify header inxe_gt_sysfs.cdrm/xe: Simplify header inxe_gt_throttle.cdrm/xe: Drop unused headers inxe_guc_ads.cdrm/xe: Drop unused header inxe_guc_buf.cdrm/xe: Cleanup headers inxe_guc_capture.cdrm/xe: Cleanup headers inxe_guc_debugfs.cdrm/xe: Simplify headers inxe_guc_hwconfig.cdrm/xe: Simplify header inxe_guc_log.cdrm/xe: Cleanup headers inxe_guc_relay.cdrm/xe: Drop unused headers inxe_guc_submit.cdrm/xe: Drop unused header inxe_heci_gsc.cdrm/xe: Drop unused header inxe_huc.cdrm/xe: Clean up headers inxe_huc_debugfs.cdrm/xe: Drop unused header inxe_hw_engine.cdrm/xe: Simplify include inxe_hw_engine_class_sysfs.cdrm/xe: Simplify include inxe_hw_engine_group.cdrm/xe: Cleanup headers inxe_hw_fence.cdrm/xe: Cleanup headers inxe_i2c.c
drm/xe: Drop unused header inxe_irq.cdrm/xe: Drop unused headers inxe_memirq.cdrm/xe: Drop unused headers inxe_mmio.cdrm/xe: Drop unused headers inxe_mocs.cdrm/xe: Simplify include inxe_module.cdrm/xe: Drop unused header inxe_nvm.cdrm/xe: Drop unused headers inxe_page_reclaim.cdrm/xe: Drop unused header inxe_pci.cdrm/xe: Simplify include inxe_psmi.c
drm/xe: Drop unused header inxe_pxp.cdrm/xe: Simplify header inxe_pxp_debugfs.cdrm/xe: Cleanup headers inxe_reg_sr.cdrm/xe: Drop unused headers inxe_reg_whitelist.cdrm/xe: Cleanup headers inxe_ring_ops.cdrm/xe: Drop unused header inxe_rtp.cdrm/xe: Simplify header inxe_sa.c
drm/xe: Simplify header inxe_sched_job.cdrm/xe: Drop unused header inxe_sriov_packet.cdrm/xe: Drop unused header inxe_sriov_pf_debugfs.cdrm/xe: Drop unused header inxe_sriov_vf.cdrm/xe: Cleanup headers inxe_step.c
drm/xe: Drop unused header inxe_survivability_mode.cdrm/xe: Cleanup headers inxe_tile.c
drm/xe: Cleanup headers inxe_tlb_inval.cdrm/xe: Drop unused header inxe_ttm_stolen_mgr.cdrm/xe: Drop unused header inxe_ttm_sys_mgr.cdrm/xe: Drop unused header inxe_ttm_vram_mgr.cdrm/xe: Drop unused headers inxe_uc.cdrm/xe: Cleanup headers inxe_uc_debugfs.cdrm/xe: Simplify header inxe_uc_fw.c
drm/xe: Drop unused header inxe_validation.cdrm/xe: Drop unused header inxe_vm.c
drm/xe: Drop unused headers inxe_vram.cdrm/xe: Drop unused header inxe_vram_freq.cdrm/xe: Drop unused header inxe_vsec.cdrm/xe: Simplify header inxe_wa.c
drm/xe: Drop unused header inxe_wait_user_fence.cdrm/xe: Simplify header inxe_wopcm.cdrivers/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(-)Signature · 1 line
2.52.0Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Matthew Brost
maintainerQuoted 35 lines · Raag Jadav
Quoted 34 lines · Matthew Brost
Quoted 32 lines · Matt Roper
Quoted 17 lines · Matthew Brost
Quoted 8 lines · Matt 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.htoxe_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.
Quoted 5 lines
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.
Quoted 6 lines
Quoted 2 lines
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.
Quoted 9 lines
Quoted 5 lines
Ok - for the series:
Reviewed-by Matthew Brost <[email protected]>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
Quoted 180 lines
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/[email protected]/
Raag
Quoted 172 lines
Quoted 172 lines
Quoted 166 lines
Quoted 166 lines
Matt Roper (79):
drm/xe: Cleanup headers inxe_bb.c
drm/xe: Drop unused header inxe_bo.c
drm/xe: Cleanup headers inxe_devcoredump.cdrm/xe: Drop unused header inxe_device.cdrm/xe: Drop unused header inxe_exec.cdrm/xe: Cleanup headers inxe_execlist.cdrm/xe: Drop unused headers inxe_exec_queue.cdrm/xe: Simplify headers inxe_ggtt.c
drm/xe: Cleanup headers inxe_gsc_debugfs.cdrm/xe: Simplify header inxe_gsc_proxy.cdrm/xe: Drop unused headers inxe_gsc_submit.cdrm/xe: Drop unused headers inxe_gt.cdrm/xe: Cleanup headers inxe_gt_clock.cdrm/xe: Drop unused header inxe_gt_debugfs.cdrm/xe: Drop unused header inxe_gt_idle.cdrm/xe: Drop unused header inxe_gt_mcr.cdrm/xe: Drop unused headers inxe_gt_sriov_pf_config.cdrm/xe: Drop unused header inxe_gt_sriov_pf_debugfs.cdrm/xe: Simplify header inxe_gt_sriov_pf_migration.cdrm/xe: Drop unused header inxe_gt_sriov_pf_policy.cdrm/xe: Cleanup headers inxe_gt_sriov_pf_service.cdrm/xe: Drop unused header inxe_gt_sriov_vf.cdrm/xe: Simplify header inxe_gt_stats.cdrm/xe: Simplify header inxe_gt_sysfs.cdrm/xe: Simplify header inxe_gt_throttle.cdrm/xe: Drop unused headers inxe_guc_ads.cdrm/xe: Drop unused header inxe_guc_buf.cdrm/xe: Cleanup headers inxe_guc_capture.cdrm/xe: Cleanup headers inxe_guc_debugfs.cdrm/xe: Simplify headers inxe_guc_hwconfig.cdrm/xe: Simplify header inxe_guc_log.cdrm/xe: Cleanup headers inxe_guc_relay.cdrm/xe: Drop unused headers inxe_guc_submit.cdrm/xe: Drop unused header inxe_heci_gsc.cdrm/xe: Drop unused header inxe_huc.cdrm/xe: Clean up headers inxe_huc_debugfs.cdrm/xe: Drop unused header inxe_hw_engine.cdrm/xe: Simplify include inxe_hw_engine_class_sysfs.cdrm/xe: Simplify include inxe_hw_engine_group.cdrm/xe: Cleanup headers inxe_hw_fence.cdrm/xe: Cleanup headers inxe_i2c.c
drm/xe: Drop unused header inxe_irq.cdrm/xe: Drop unused headers inxe_memirq.cdrm/xe: Drop unused headers inxe_mmio.cdrm/xe: Drop unused headers inxe_mocs.cdrm/xe: Simplify include inxe_module.cdrm/xe: Drop unused header inxe_nvm.cdrm/xe: Drop unused headers inxe_page_reclaim.cdrm/xe: Drop unused header inxe_pci.cdrm/xe: Simplify include inxe_psmi.c
drm/xe: Drop unused header inxe_pxp.cdrm/xe: Simplify header inxe_pxp_debugfs.cdrm/xe: Cleanup headers inxe_reg_sr.cdrm/xe: Drop unused headers inxe_reg_whitelist.cdrm/xe: Cleanup headers inxe_ring_ops.cdrm/xe: Drop unused header inxe_rtp.cdrm/xe: Simplify header inxe_sa.c
drm/xe: Simplify header inxe_sched_job.cdrm/xe: Drop unused header inxe_sriov_packet.cdrm/xe: Drop unused header inxe_sriov_pf_debugfs.cdrm/xe: Drop unused header inxe_sriov_vf.cdrm/xe: Cleanup headers inxe_step.c
drm/xe: Drop unused header inxe_survivability_mode.cdrm/xe: Cleanup headers inxe_tile.c
drm/xe: Cleanup headers inxe_tlb_inval.cdrm/xe: Drop unused header inxe_ttm_stolen_mgr.cdrm/xe: Drop unused header inxe_ttm_sys_mgr.cdrm/xe: Drop unused header inxe_ttm_vram_mgr.cdrm/xe: Drop unused headers inxe_uc.cdrm/xe: Cleanup headers inxe_uc_debugfs.cdrm/xe: Simplify header inxe_uc_fw.c
drm/xe: Drop unused header inxe_validation.cdrm/xe: Drop unused header inxe_vm.c
drm/xe: Drop unused headers inxe_vram.cdrm/xe: Drop unused header inxe_vram_freq.cdrm/xe: Drop unused header inxe_vsec.cdrm/xe: Simplify header inxe_wa.c
drm/xe: Drop unused header inxe_wait_user_fence.cdrm/xe: Simplify header inxe_wopcm.cdrivers/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(-)Signature · 1 line
2.52.0Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Quoted 46 lines · Matthew Brost
Quoted 35 lines · Raag Jadav
Quoted 34 lines · Matthew Brost
Quoted 32 lines · Matt Roper
Quoted 17 lines · Matthew Brost
Quoted 8 lines · Matt 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.htoxe_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.
Quoted 5 lines
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.
Quoted 6 lines
Quoted 2 lines
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.
Quoted 9 lines
Quoted 5 lines
Ok - for the series:
Reviewed-by Matthew Brost <[email protected]>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.
Quoted 6 lines
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();
...
#endifwhere 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
Quoted 183 lines
Matt
Quoted 180 lines
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/[email protected]/
Raag
Quoted 172 lines
Quoted 172 lines
Quoted 166 lines
Quoted 166 lines
Matt Roper (79):
drm/xe: Cleanup headers inxe_bb.c
drm/xe: Drop unused header inxe_bo.c
drm/xe: Cleanup headers inxe_devcoredump.cdrm/xe: Drop unused header inxe_device.cdrm/xe: Drop unused header inxe_exec.cdrm/xe: Cleanup headers inxe_execlist.cdrm/xe: Drop unused headers inxe_exec_queue.cdrm/xe: Simplify headers inxe_ggtt.c
drm/xe: Cleanup headers inxe_gsc_debugfs.cdrm/xe: Simplify header inxe_gsc_proxy.cdrm/xe: Drop unused headers inxe_gsc_submit.cdrm/xe: Drop unused headers inxe_gt.cdrm/xe: Cleanup headers inxe_gt_clock.cdrm/xe: Drop unused header inxe_gt_debugfs.cdrm/xe: Drop unused header inxe_gt_idle.cdrm/xe: Drop unused header inxe_gt_mcr.cdrm/xe: Drop unused headers inxe_gt_sriov_pf_config.cdrm/xe: Drop unused header inxe_gt_sriov_pf_debugfs.cdrm/xe: Simplify header inxe_gt_sriov_pf_migration.cdrm/xe: Drop unused header inxe_gt_sriov_pf_policy.cdrm/xe: Cleanup headers inxe_gt_sriov_pf_service.cdrm/xe: Drop unused header inxe_gt_sriov_vf.cdrm/xe: Simplify header inxe_gt_stats.cdrm/xe: Simplify header inxe_gt_sysfs.cdrm/xe: Simplify header inxe_gt_throttle.cdrm/xe: Drop unused headers inxe_guc_ads.cdrm/xe: Drop unused header inxe_guc_buf.cdrm/xe: Cleanup headers inxe_guc_capture.cdrm/xe: Cleanup headers inxe_guc_debugfs.cdrm/xe: Simplify headers inxe_guc_hwconfig.cdrm/xe: Simplify header inxe_guc_log.cdrm/xe: Cleanup headers inxe_guc_relay.cdrm/xe: Drop unused headers inxe_guc_submit.cdrm/xe: Drop unused header inxe_heci_gsc.cdrm/xe: Drop unused header inxe_huc.cdrm/xe: Clean up headers inxe_huc_debugfs.cdrm/xe: Drop unused header inxe_hw_engine.cdrm/xe: Simplify include inxe_hw_engine_class_sysfs.cdrm/xe: Simplify include inxe_hw_engine_group.cdrm/xe: Cleanup headers inxe_hw_fence.cdrm/xe: Cleanup headers inxe_i2c.c
drm/xe: Drop unused header inxe_irq.cdrm/xe: Drop unused headers inxe_memirq.cdrm/xe: Drop unused headers inxe_mmio.cdrm/xe: Drop unused headers inxe_mocs.cdrm/xe: Simplify include inxe_module.cdrm/xe: Drop unused header inxe_nvm.cdrm/xe: Drop unused headers inxe_page_reclaim.cdrm/xe: Drop unused header inxe_pci.cdrm/xe: Simplify include inxe_psmi.c
drm/xe: Drop unused header inxe_pxp.cdrm/xe: Simplify header inxe_pxp_debugfs.cdrm/xe: Cleanup headers inxe_reg_sr.cdrm/xe: Drop unused headers inxe_reg_whitelist.cdrm/xe: Cleanup headers inxe_ring_ops.cdrm/xe: Drop unused header inxe_rtp.cdrm/xe: Simplify header inxe_sa.c
drm/xe: Simplify header inxe_sched_job.cdrm/xe: Drop unused header inxe_sriov_packet.cdrm/xe: Drop unused header inxe_sriov_pf_debugfs.cdrm/xe: Drop unused header inxe_sriov_vf.cdrm/xe: Cleanup headers inxe_step.c
drm/xe: Drop unused header inxe_survivability_mode.cdrm/xe: Cleanup headers inxe_tile.c
drm/xe: Cleanup headers inxe_tlb_inval.cdrm/xe: Drop unused header inxe_ttm_stolen_mgr.cdrm/xe: Drop unused header inxe_ttm_sys_mgr.cdrm/xe: Drop unused header inxe_ttm_vram_mgr.cdrm/xe: Drop unused headers inxe_uc.cdrm/xe: Cleanup headers inxe_uc_debugfs.cdrm/xe: Simplify header inxe_uc_fw.c
drm/xe: Drop unused header inxe_validation.cdrm/xe: Drop unused header inxe_vm.c
drm/xe: Drop unused headers inxe_vram.cdrm/xe: Drop unused header inxe_vram_freq.cdrm/xe: Drop unused header inxe_vsec.cdrm/xe: Simplify header inxe_wa.c
drm/xe: Drop unused header inxe_wait_user_fence.cdrm/xe: Simplify header inxe_wopcm.cdrivers/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(-)Signature · 1 line
2.52.0Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Signature · 4 lines
Matt Roper Graphics Software Engineer Linux GPU Platform Enablement Intel Corporation
Patchwork
CI✓ Xe.CI.Full: success for Cleanup unused headers reported by clangd
In reply to Matt Roper== Series Details ==
== 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@[email protected]
* 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@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-10/igt@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-3/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-3/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-10/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-10/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-1/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-8/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-1/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-7/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-2/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-7/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-4/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-3/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-7/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-8/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-8/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-6/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-6/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4378-5ef09fd6fa463fe02033807ed0c9c78957cdb0a8/shard-bmg-9/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-9/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-9/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-10/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-10/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-6/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-3/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-8/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
* 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@[email protected]
#### 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@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@[email protected]
* 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@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-lnl-7/igt@[email protected]
* 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@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-2/igt@[email protected]
* 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@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-7/igt@kms_hdr@[email protected]
* 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/[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/[email protected]
* 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@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-4/igt@[email protected]
* 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@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-lnl-3/igt@[email protected]
* 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@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-160053v1/shard-bmg-1/igt@[email protected]
[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