lib/intel: switch graphics/IP version queries to fd-based APIs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest4 patches 0 repliesNew
- v44 patches 0 repliesSuperseded
- v34 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 3 patches | 5 replies | Superseded | |
| v1 | 3 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- rebase to fix the compile error
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | lib/intel: rename intel_gen() and intel_graphics_ver() to *_from_pciid() variantsbenchmarks/ benchmarks/ benchmarks/ +125 more | +393 | 0 replies | |
| 2/4 | lib/intel: add fd-based graphics IP version query helperslib/ lib/ lib/ +2 more | +77 | 0 replies | |
| 3/4 | intel/{lib, tests}: switch fd-backed version checks to intel_gfx_ver*lib/ lib/ lib/ +112 more | +388 | 0 replies | |
| 4/4 | lib/intel_device_info: remove the graphics_rel from xe2+ deviceslib/ | +0 | 0 replies | |
| 4/4 | lib/intel_device_info: remove the graphcs_rel from xe2+ deviceslib/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/4] lib/intel: switch graphics/IP version queries to fd-based APIs
This series separates PCI ID–based device traits from per‑device IP version queries. It introduces fd‑based intel_gfx_ver()/intel_gfx_ver_major() using Xe query data when available, keeps PCI ID translation as _from_pciid, and updates libs/tests to use the fd‑based APIs. This aligns IGT with post‑MTL IP disaggregation while preserving i915 safety fallback.
v5:
- rebase to fix the compile error
Xin Wang (4):
lib/intel: rename intel_gen() and intel_graphics_ver() to
*_from_pciid() variants
lib/intel: add fd-based graphics IP version query helpers intel/{lib,tests}: switch fd-backed version checks to intel_gfx_ver* lib/intel_device_info: remove the graphics_rel from xe2+ devices
benchmarks/gem_blt.c | 2 +- benchmarks/gem_busy.c | 2 +- benchmarks/gem_latency.c | 2 +- benchmarks/gem_wsim.c | 8 ++-- benchmarks/intel_upload_blit_large.c | 2 +- benchmarks/intel_upload_blit_large_gtt.c | 2 +- benchmarks/intel_upload_blit_large_map.c | 2 +- benchmarks/intel_upload_blit_small.c | 2 +- lib/gpgpu_shader.c | 6 +-- lib/gpu_cmds.c | 21 +++++---- lib/i915/gem_engine_topology.c | 10 ++--- lib/i915/gem_mman.c | 2 +- lib/i915/gem_submission.c | 8 ++-- lib/i915/i915_crc.c | 6 +-- lib/i915/intel_decode.c | 4 +- lib/igt_dummyload.c | 3 +- lib/igt_fb.c | 2 +- lib/igt_gt.c | 4 +- lib/igt_store.c | 2 +- lib/instdone.c | 2 +- lib/intel_batchbuffer.c | 56 ++++++++++++------------ lib/intel_batchbuffer.h | 4 +- lib/intel_blt.c | 22 ++++------ lib/intel_blt.h | 2 +- lib/intel_bufops.c | 10 ++--- lib/intel_chipset.c | 43 ++++++++++++++++++ lib/intel_chipset.h | 14 +++--- lib/intel_common.c | 2 +- lib/intel_compute.c | 6 +-- lib/intel_device_info.c | 32 +++++++++----- lib/intel_mmio.c | 8 ++-- lib/intel_mocs.c | 13 +++--- lib/intel_pat.c | 14 +++--- lib/intel_reg_map.c | 2 +- lib/ioctl_wrappers.c | 2 +- lib/rendercopy_gen9.c | 24 +++++----- lib/xe/xe_legacy.c | 2 +- lib/xe/xe_oa.c | 4 +- lib/xe/xe_query.c | 25 +++++++++++ lib/xe/xe_query.h | 1 + lib/xe/xe_spin.c | 4 +- lib/xe/xe_sriov_provisioning.c | 4 +- tests/intel/api_intel_allocator.c | 2 +- tests/intel/api_intel_bb.c | 11 +++-- tests/intel/gem_bad_reloc.c | 4 +- tests/intel/gem_blits.c | 2 +- tests/intel/gem_close_race.c | 2 +- tests/intel/gem_concurrent_all.c | 2 +- tests/intel/gem_ctx_create.c | 4 +- tests/intel/gem_ctx_engines.c | 6 +-- tests/intel/gem_ctx_isolation.c | 14 +++--- tests/intel/gem_ctx_shared.c | 8 ++-- tests/intel/gem_ctx_sseu.c | 2 +- tests/intel/gem_eio.c | 6 +-- tests/intel/gem_evict_alignment.c | 6 +-- tests/intel/gem_evict_everything.c | 8 ++-- tests/intel/gem_exec_async.c | 2 +- tests/intel/gem_exec_await.c | 2 +- tests/intel/gem_exec_balancer.c | 4 +- tests/intel/gem_exec_big.c | 2 +- tests/intel/gem_exec_capture.c | 9 ++-- tests/intel/gem_exec_fair.c | 20 ++++----- tests/intel/gem_exec_fence.c | 20 ++++----- tests/intel/gem_exec_flush.c | 4 +- tests/intel/gem_exec_gttfill.c | 2 +- tests/intel/gem_exec_latency.c | 6 +-- tests/intel/gem_exec_nop.c | 4 +- tests/intel/gem_exec_parallel.c | 2 +- tests/intel/gem_exec_params.c | 8 ++-- tests/intel/gem_exec_reloc.c | 10 ++--- tests/intel/gem_exec_schedule.c | 20 ++++----- tests/intel/gem_exec_store.c | 6 +-- tests/intel/gem_exec_suspend.c | 2 +- tests/intel/gem_exec_whisper.c | 6 +-- tests/intel/gem_fenced_exec_thrash.c | 5 +-- tests/intel/gem_gpgpu_fill.c | 2 +- tests/intel/gem_gtt_hog.c | 2 +- tests/intel/gem_linear_blits.c | 11 ++--- tests/intel/gem_media_fill.c | 2 +- tests/intel/gem_media_vme.c | 2 +- tests/intel/gem_mmap_gtt.c | 12 ++--- tests/intel/gem_read_read_speed.c | 4 +- tests/intel/gem_render_copy.c | 10 ++--- tests/intel/gem_ringfill.c | 4 +- tests/intel/gem_set_tiling_vs_blt.c | 2 +- tests/intel/gem_softpin.c | 6 +-- tests/intel/gem_streaming_writes.c | 4 +- tests/intel/gem_sync.c | 8 ++-- tests/intel/gem_tiled_fence_blits.c | 4 +- tests/intel/gem_tiling_max_stride.c | 8 ++-- tests/intel/gem_userptr_blits.c | 25 +++++------ tests/intel/gem_vm_create.c | 2 +- tests/intel/gem_watchdog.c | 4 +- tests/intel/gem_workarounds.c | 2 +- tests/intel/gen7_exec_parse.c | 2 +- tests/intel/gen9_exec_parse.c | 2 +- tests/intel/i915_getparams_basic.c | 7 +-- tests/intel/i915_module_load.c | 2 +- tests/intel/i915_pm_rc6_residency.c | 6 +-- tests/intel/i915_pm_rpm.c | 2 +- tests/intel/i915_pm_sseu.c | 2 +- tests/intel/kms_ccs.c | 13 ++---- tests/intel/kms_fbcon_fbt.c | 2 +- tests/intel/kms_frontbuffer_tracking.c | 11 +++-- tests/intel/kms_pipe_stress.c | 6 +-- tests/intel/perf.c | 55 ++++++++++++----------- tests/intel/perf_pmu.c | 8 ++-- tests/intel/sysfs_preempt_timeout.c | 2 +- tests/intel/sysfs_timeslice_duration.c | 2 +- tests/intel/xe_ccs.c | 16 +++---- tests/intel/xe_compute.c | 8 ++-- tests/intel/xe_copy_basic.c | 6 +-- tests/intel/xe_debugfs.c | 3 +- tests/intel/xe_eu_stall.c | 4 +- tests/intel/xe_eudebug_online.c | 9 ++-- tests/intel/xe_evict.c | 6 +-- tests/intel/xe_exec_fault_mode.c | 2 +- tests/intel/xe_exec_multi_queue.c | 2 +- tests/intel/xe_exec_store.c | 6 +-- tests/intel/xe_exec_threads.c | 4 +- tests/intel/xe_fault_injection.c | 2 +- tests/intel/xe_gpgpu_fill.c | 2 +- tests/intel/xe_intel_bb.c | 7 ++- tests/intel/xe_media_fill.c | 2 +- tests/intel/xe_multigpu_svm.c | 3 +- tests/intel/xe_oa.c | 23 +++++----- tests/intel/xe_pat.c | 38 +++++++--------- tests/intel/xe_prefetch_fault.c | 3 +- tests/intel/xe_query.c | 4 +- tests/intel/xe_render_copy.c | 3 +- tests/intel/xe_svm_usrptr_madvise.c | 3 +- tests/prime_vgem.c | 2 +- tools/intel_dp_compliance.c | 2 +- tools/intel_error_decode.c | 12 ++--- tools/intel_gtt.c | 12 ++--- tools/intel_l3_parity.c | 2 +- tools/intel_reg.c | 6 +-- tools/intel_reg_decode.c | 4 +- tools/intel_tiling_detect.c | 2 +- tools/intel_vbt_decode.c | 2 +- 140 files changed, 535 insertions(+), 498 deletions(-)
Signature · 1 line
2.43.0