First reduce to use of the mmio global variable by switching to INREG and OUTREG, and finally rename mmio to igt_global_mmio. BR, Jani. Jani Nikula (10): lib: add 16 and 8 bit versions of INREG and OUTREG intel_reg: switch to INREG and OUTREG intel_backlight: switch to INREG and OUTREG intel_reg_checker: switch to INREG intel_reg_{read,write}: switch to INREG and OUTREG intel_watermark: switch to INREG intel_display_poller: use INREG and OUTREG intel_vga_{read,write}: use INREG and OUTREG tests/gen7_forcewake_mt: use local mmio variable rename global mmio variable to igt_global_mmio lib/intel_io.h | 6 ++++- lib/intel_mmio.c | 60 ++++++++++++++++++++++++++++++-------------- tests/gen7_forcewake_mt.c | 1 + tools/intel_backlight.c | 20 ++++----------- tools/intel_display_poller.c | 8 +++--- tools/intel_reg.c | 12 ++++----- tools/intel_reg_checker.c | 8 +----- tools/intel_reg_read.c | 5 ++-- tools/intel_reg_snapshot.c | 2 +- tools/intel_reg_write.c | 8 +++--- tools/intel_vga_read.c | 2 +- tools/intel_vga_write.c | 2 +- tools/intel_watermark.c | 2 +- 13 files changed, 71 insertions(+), 65 deletions(-) -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx