[igt-dev] [PATCH i-g-t v3 0/5] Remove global igt_global_mmio
Daniel Mrzyglod
daniel.t.mrzyglod at intel.com
Mon Apr 15 08:59:32 UTC 2019
This patchset remove global igt_global_mmio pointer and structures.
Motivation for this patch is to move global pointers. 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
Cc: Katarzyna Dec <katarzyna.dec at intel.com>
Cc: Michal Winiarski <michal.winiarski at intel.com>
Daniel Mrzyglod (4):
lib/igt_device: add igt_device_map_pci_bar_region
lib/intel_mmio: different functions are used for mapping if fd is
known.
lib/intel_mmio: extend read write registers functions by a pointer for
mmaped area
lib/intel_mmio: remove igt_global_mmio and move pointer to mmio_data
structure
Michał Winiarski (1):
lib/igt_device: add igt_device_get_pci_addr by fd
benchmarks/gem_latency.c | 5 +-
benchmarks/gem_wsim.c | 6 +-
lib/igt_device.c | 160 ++++++++++++++++++
lib/igt_device.h | 3 +
lib/intel_io.h | 90 +++++++----
lib/intel_iosf.c | 80 +++++----
lib/intel_mmio.c | 178 ++++++++++----------
tests/i915/gem_exec_latency.c | 7 +-
tests/i915/gem_exec_parse.c | 14 +-
tests/i915/i915_pm_lpsp.c | 9 +-
tools/intel_audio_dump.c | 296 +++++++++++++++++++---------------
tools/intel_backlight.c | 15 +-
tools/intel_display_poller.c | 15 +-
tools/intel_forcewaked.c | 14 +-
tools/intel_gpu_time.c | 11 +-
tools/intel_infoframes.c | 75 ++++-----
tools/intel_l3_parity.c | 14 +-
tools/intel_lid.c | 8 +-
tools/intel_panel_fitter.c | 31 ++--
tools/intel_perf_counters.c | 17 +-
tools/intel_reg.c | 41 +++--
tools/intel_reg_checker.c | 8 +-
tools/intel_watermark.c | 46 +++---
23 files changed, 731 insertions(+), 412 deletions(-)
--
2.20.1
More information about the igt-dev
mailing list