[PATCH i-g-t 0/6] igt: Clean up some Intel platform checks

Ville Syrjala ville.syrjala at linux.intel.com
Mon Sep 23 20:45:51 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

I got annoyed by the AT_LEAST_*() stuff. They don't seem
to add anything of value, so just get rid of them.

Side note: intel_display_ver() vs. intel_graphics_ver() seems
like a decent footgun: one gives you the major version only
while the other gives you 'major << 8 | minor'...

Ville Syrjälä (6):
  tests/gem_ctx_engines: Fix gen6+ check
  tests/kms_frontbuffer_tracking: Simplify tiling vs. platform tests
  tests/kms_ccs: Use logical && instead of bitwise &
  tests/xe_ccs: Use logical && instead of bitwise &
  igt: Get rid of AT_LEAST_DISPLAY()
  igt: Get rid of AT_LEAST_GEN()

 lib/gpu_cmds.c                         |  2 +-
 lib/i915/intel_decode.c                |  2 +-
 lib/intel_batchbuffer.c                |  2 +-
 lib/intel_blt.c                        |  4 ++--
 lib/intel_blt.h                        |  2 +-
 lib/intel_bufops.c                     |  8 ++++----
 lib/intel_chipset.h                    | 10 ++++------
 lib/intel_common.c                     |  2 +-
 lib/intel_mocs.c                       |  2 +-
 lib/intel_pat.c                        |  2 +-
 lib/rendercopy_gen9.c                  | 18 +++++++++---------
 tests/intel/gem_ctx_engines.c          |  2 +-
 tests/intel/kms_ccs.c                  | 10 +++++-----
 tests/intel/kms_fbcon_fbt.c            |  2 +-
 tests/intel/kms_frontbuffer_tracking.c | 12 ++++--------
 tests/intel/kms_pm_dc.c                |  2 +-
 tests/intel/perf.c                     |  2 +-
 tests/intel/xe_ccs.c                   | 20 ++++++++++----------
 tests/intel/xe_debugfs.c               |  2 +-
 tests/intel/xe_query.c                 |  2 +-
 20 files changed, 51 insertions(+), 57 deletions(-)

-- 
2.44.2



More information about the igt-dev mailing list