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

Daniel Mrzyglod daniel.t.mrzyglod at intel.com
Wed Apr 10 08:28:36 UTC 2019


This patchset remove global igt_global_mmio pointer and structures.
Motivation for this patch is to move global pointers. Current behaviour
limit no of concurrent PCI device. In a future there will be multiple 
PCI devices.

v2: fixed bugs pointed out in review

Cc: Katarzyna Dec <katarzyna.dec at intel.com>
Cc: Michal Winiarski <michal.winiarski at intel.com>

Daniel Mrzyglod (2):
  lib/igt_device: add igt_map_bar_region
  lib/intel_mmio: Remove global igt_global_mmio

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

 benchmarks/gem_latency.c      |  11 +-
 benchmarks/gem_wsim.c         |   8 +-
 lib/igt_device.c              | 156 ++++++++++++++++++++
 lib/igt_device.h              |   3 +
 lib/intel_io.h                |  93 +++++++-----
 lib/intel_iosf.c              |  82 +++++++----
 lib/intel_mmio.c              | 206 +++++++++++++++-----------
 tests/i915/gem_exec_latency.c |  10 +-
 tests/i915/gem_exec_parse.c   |  14 +-
 tests/i915/i915_pm_lpsp.c     |   8 +-
 tools/intel_audio_dump.c      | 267 +++++++++++++++++-----------------
 tools/intel_backlight.c       |  13 +-
 tools/intel_display_poller.c  |  13 +-
 tools/intel_forcewaked.c      |  11 +-
 tools/intel_gpu_time.c        |   7 +-
 tools/intel_infoframes.c      |  74 +++++-----
 tools/intel_l3_parity.c       |  12 +-
 tools/intel_lid.c             |   5 +-
 tools/intel_panel_fitter.c    |  29 ++--
 tools/intel_perf_counters.c   |  11 +-
 tools/intel_reg.c             |  33 +++--
 tools/intel_reg_checker.c     |   6 +-
 tools/intel_watermark.c       |  37 ++---
 23 files changed, 686 insertions(+), 423 deletions(-)

-- 
2.20.1



More information about the igt-dev mailing list