Skip to content

Rename GEN_VER to GFX_VER

[email protected] igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Changes from the cover letter

- scripts/generate_iga64_codes: Pass -DGFX_VER instead of -DGEN_VER to the cpp preprocessor and rename the shell variable gen_ver to gfx_ver. Update generated struct field from .gen_ver to .gfx_ver.
- lib/iga64_macros.h: Replace all GEN_VER references with GFX_VER.
- tests/intel/*.gen.iga64_codes.c: Update generated .gen_ver struct fields to .gfx_ver.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Rename GEN_VER to GFX_VERlib/gpgpu_fill.c lib/gpgpu_fill.c.gen.iga64_codes.c lib/gpgpu_shader.c +8 more+144 -1441 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/1] Rename GEN_VER to GFX_VER

From: Nakshtra Goyal <[email protected]>

New usages of GEN are not allowed in IGT. Replace all occurrences of GEN_VER/gen_ver with GFX_VER/gfx_ver across the IGA64 shader infrastructure and igt code bases

The GEN_VER preprocessor define is passed by the generate_iga64_codes script during IGA64 GPU shader assembly compilation and used for conditional compilation in iga64_macros.h. Rename it to GFX_VER to align with the IGT naming convention.

Changes:
- scripts/generate_iga64_codes: Pass -DGFX_VER instead of -DGEN_VER to the cpp preprocessor and rename the shell variable gen_ver to gfx_ver. Update generated struct field from .gen_ver to .gfx_ver.
- lib/iga64_macros.h: Replace all GEN_VER references with GFX_VER.
- tests/intel/*.gen.iga64_codes.c: Update generated .gen_ver struct fields to .gfx_ver.

Nakshtra Goyal (1):
Rename GEN_VER to GFX_VER

 lib/gpgpu_fill.c                              |   4 +-
 lib/gpgpu_fill.c.gen.iga64_codes.c            |  14 +-
 lib/gpgpu_shader.c                            |  30 +--
 lib/gpgpu_shader.c.gen.iga64_codes.c          | 184 +++++++++---------
 lib/gpgpu_shader.h                            |   4 +-
 lib/iga64_macros.h                            |  10 +-
 scripts/generate_iga64_codes                  |  16 +-
 tests/intel/xe_eudebug_online.c               |   6 +-
 .../xe_eudebug_online.c.gen.iga64_codes.c     |  14 +-
 tests/intel/xe_prefetch_fault.c               |   2 +-
 .../xe_prefetch_fault.c.gen.iga64_codes.c     |   4 +-
 11 files changed, 144 insertions(+), 144 deletions(-)
Signature · 1 line
2.34.1