[igt-dev] [PATCH i-g-t v10 0/3] Remove global igt_global_mmio

Daniel Mrzyglod daniel.t.mrzyglod at intel.com
Wed Aug 28 16:16:13 UTC 2019


      This patchset remove need for global igt_global_mmio pointer and structures.
In the end igt_global_mmio was kept for legacy reason.
Right now every device could have their own *igt_mmio pointer.
Current behaviour limit number of concurrent PCI device. 
There is a need to run multiple devices.

v2: fixed bugs pointed out in review
v3: divide series to more patches - fix bugs
v4: reword fix bugs
v5: removed patch 03/06 from the previous series due to sugestions
    add fd to gem_mappable_aperture_size()
v6: remove not needed patches. leave igt_global mmio for legacy reason.
v7: cosmetick changes
v8: pack and rename structure, remove unnecessary field, remove unnecessary 
    castings
v9: fix bad castings
v10: add macros for legacy functions

Daniel Mrzyglod (2):
  lib/intel_mmio: add funtions for read/write register funtions
  lib/intel_mmio: add additional api for multiple devices

Michał Winiarski (1):
  lib/igt_device: add igt_device_get_pci_addr by fd

 benchmarks/gem_latency.c      |   3 +-
 benchmarks/gem_wsim.c         |   3 +-
 lib/igt_device.c              | 124 +++++++++++++++++++++++++
 lib/igt_device.h              |   1 +
 lib/intel_io.h                | 114 +++++++++++++++--------
 lib/intel_iosf.c              |  74 ++++++++-------
 lib/intel_mmio.c              | 166 +++++++++++++++++-----------------
 tests/i915/gem_exec_latency.c |   4 +-
 tests/i915/gem_exec_parse.c   |  13 ++-
 tests/i915/gem_workarounds.c  |   3 +-
 tests/i915/i915_pm_lpsp.c     |   6 +-
 tools/intel_audio_dump.c      |   6 +-
 tools/intel_backlight.c       |   3 +-
 tools/intel_display_poller.c  |   5 +-
 tools/intel_forcewaked.c      |  15 +--
 tools/intel_gpu_time.c        |   3 +-
 tools/intel_infoframes.c      |   5 +-
 tools/intel_l3_parity.c       |  11 ++-
 tools/intel_lid.c             |   3 +-
 tools/intel_panel_fitter.c    |   5 +-
 tools/intel_perf_counters.c   |  10 +-
 tools/intel_reg.c             |  23 ++---
 tools/intel_reg_checker.c     |   3 +-
 tools/intel_watermark.c       |  42 +++++----
 24 files changed, 425 insertions(+), 220 deletions(-)

-- 
2.21.0



More information about the igt-dev mailing list