Skip to content

igt: Clean up some Intel platform checks

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tests/gem_ctx_engines: Fix gen6+ checktests/intel/gem_ctx_engines.c+1 -11 reply
2/6tests/kms_frontbuffer_tracking: Simplify tiling vs. platform teststests/intel/kms_frontbuffer_tracking.c+1 -51 reply
3/6tests/kms_ccs: Use logical && instead of bitwise &tests/intel/kms_ccs.c+2 -22 replies
4/6tests/xe_ccs: Use logical && instead of bitwise &tests/intel/xe_ccs.c+4 -42 replies
5/6igt: Get rid of AT_LEAST_DISPLAY()lib/intel_chipset.h tests/intel/kms_pm_dc.c+1 -21 reply
6/6igt: Get rid of AT_LEAST_GEN()lib/gpu_cmds.c lib/i915/intel_decode.c lib/intel_batchbuffer.c +15 more+45 -461 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchLucas De MarchiZbigniew Kempczyński
1/6R-b
2/6R-b
3/6R-b
4/6R-b R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Ville Syrjälä <[email protected]>

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(-)
Signature · 1 line
2.44.2