[i-g-t 0/3] Apply igt.cocci transforms
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Thu Aug 1 06:25:59 UTC 2024
A number of KMS & Intel tests are using checks like "igt_assert(x < y)"
rather than using the dedicated comparison assertions that print the actual
values on assertion failure. This series applies the igt.cocci transforms
on all KMS & Intel tests.
Bhanuprakash Modem (1):
tests/kms: Apply igt.cocci transforms
Matt Roper (2):
lib: Add u32 variants of igt_assert_{lt,lte}
tests/intel: Apply igt.cocci transforms
lib/igt_core.h | 18 +++++++
tests/intel/api_intel_allocator.c | 12 ++---
tests/intel/api_intel_bb.c | 18 +++----
tests/intel/drm_fdinfo.c | 8 +--
tests/intel/gem_blits.c | 16 +++---
tests/intel/gem_ccs.c | 4 +-
tests/intel/gem_close_race.c | 2 +-
tests/intel/gem_concurrent_all.c | 8 +--
tests/intel/gem_create.c | 2 +-
tests/intel/gem_ctx_create.c | 8 +--
tests/intel/gem_ctx_exec.c | 4 +-
tests/intel/gem_ctx_persistence.c | 12 +++--
tests/intel/gem_eio.c | 8 +--
tests/intel/gem_exec_alignment.c | 6 ++-
tests/intel/gem_exec_big.c | 4 +-
tests/intel/gem_exec_capture.c | 8 +--
tests/intel/gem_exec_fair.c | 32 +++++++-----
tests/intel/gem_exec_fence.c | 2 +-
tests/intel/gem_exec_gttfill.c | 4 +-
tests/intel/gem_exec_nop.c | 2 +-
tests/intel/gem_exec_reloc.c | 4 +-
tests/intel/gem_gtt_speed.c | 2 +-
tests/intel/gem_linear_blits.c | 6 +--
tests/intel/gem_pread.c | 5 +-
tests/intel/gem_pwrite.c | 5 +-
tests/intel/gem_pxp.c | 16 +++---
tests/intel/gem_reset_stats.c | 8 +--
tests/intel/gem_softpin.c | 8 ++-
tests/intel/gem_tiled_blits.c | 6 +--
tests/intel/gem_tiled_fence_blits.c | 4 +-
tests/intel/gem_userptr_blits.c | 4 +-
tests/intel/gem_wait.c | 8 +--
tests/intel/gem_watchdog.c | 2 +-
tests/intel/i915_hangman.c | 2 +-
tests/intel/i915_module_load.c | 6 +--
tests/intel/i915_pm_freq_api.c | 50 +++++++++---------
tests/intel/i915_pm_rc6_residency.c | 4 +-
tests/intel/i915_pm_rps.c | 11 ++--
tests/intel/i915_query.c | 12 ++---
tests/intel/kms_big_fb.c | 2 +-
tests/intel/kms_busy.c | 2 +-
tests/intel/kms_ccs.c | 14 +++--
tests/intel/kms_cdclk.c | 5 +-
tests/intel/kms_dsc_helper.c | 4 +-
tests/intel/kms_fbcon_fbt.c | 3 +-
tests/intel/kms_pm_dc.c | 9 ++--
tests/intel/kms_pm_rpm.c | 2 +-
tests/intel/kms_psr.c | 18 +++----
tests/intel/perf.c | 34 ++++++-------
tests/intel/perf_pmu.c | 37 +++++++-------
tests/intel/xe_ccs.c | 4 +-
tests/intel/xe_debugfs.c | 2 +-
tests/intel/xe_dma_buf_sync.c | 2 +-
tests/intel/xe_evict.c | 4 +-
tests/intel/xe_exec_balancer.c | 7 +--
tests/intel/xe_exec_basic.c | 4 +-
tests/intel/xe_exec_compute_mode.c | 9 ++--
tests/intel/xe_exec_fault_mode.c | 5 +-
tests/intel/xe_exec_reset.c | 8 +--
tests/intel/xe_exec_store.c | 2 +-
tests/intel/xe_exec_threads.c | 11 ++--
tests/intel/xe_gt_freq.c | 79 +++++++++++++++--------------
tests/intel/xe_intel_bb.c | 16 +++---
tests/intel/xe_oa.c | 26 +++++-----
tests/intel/xe_pat.c | 2 +-
tests/intel/xe_peer2peer.c | 2 +-
tests/intel/xe_pm.c | 16 +++---
tests/intel/xe_pm_residency.c | 4 +-
tests/intel/xe_query.c | 12 ++---
tests/intel/xe_vm.c | 4 +-
tests/kms_async_flips.c | 22 ++++----
tests/kms_atomic_transition.c | 6 +--
tests/kms_cursor_legacy.c | 2 +-
tests/kms_dither.c | 2 +-
tests/kms_dp_aux_dev.c | 4 +-
tests/kms_hdmi_inject.c | 12 ++---
tests/kms_lease.c | 8 +--
tests/kms_plane.c | 9 ++--
tests/kms_plane_multiple.c | 2 +-
tests/kms_prime.c | 6 +--
tests/kms_properties.c | 6 +--
tests/kms_setmode.c | 2 +-
tests/kms_tiled_display.c | 2 +-
tests/kms_vrr.c | 2 +-
tests/kms_writeback.c | 10 ++--
85 files changed, 405 insertions(+), 380 deletions(-)
--
2.43.2
More information about the igt-dev
mailing list