Skip to content

lib: s/GEN_VER/GFX_VER/ for Intel platform

[email protected] igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 3 repliesIn review
  2. v21 patch 0 repliesSuperseded
  3. v11 patch 1 replySuperseded

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 v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1lib: s/GEN_VER/GFX_VER/ for Intel platformlib/gpgpu_fill.c lib/gpgpu_fill.c.gen.iga64_codes.c lib/gpgpu_shader.c +8 more+148 -1483 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchPriyanka DandamudiAndrzej Hajda
1/1R-b R-b

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

Read the v3 thread

Cover letter [PATCH i-g-t v3 0/1] lib: s/GEN_VER/GFX_VER/ for Intel platform

From: Nakshtra Goyal <[email protected]>

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.

This series is a continuation of the series sent earlier with slightly different subject https://patchwork.freedesktop.org/series/167076/

Nakshtra Goyal (1):
lib: s/GEN_VER/GFX_VER/ for Intel platform

 lib/gpgpu_fill.c                              |   4 +-
 lib/gpgpu_fill.c.gen.iga64_codes.c            |  16 +-
 lib/gpgpu_shader.c                            |  30 +--
 lib/gpgpu_shader.c.gen.iga64_codes.c          | 186 +++++++++---------
 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     |  16 +-
 tests/intel/xe_prefetch_fault.c               |   2 +-
 .../xe_prefetch_fault.c.gen.iga64_codes.c     |   6 +-
 11 files changed, 148 insertions(+), 148 deletions(-)
Signature · 1 line
2.34.1