From: "Michał Winiarski" <michal.winiarski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 0/6] Attempt to get rid of some globals
Date: Wed, 13 Mar 2019 13:53:26 +0100 [thread overview]
Message-ID: <20190313125332.12471-1-michal.winiarski@intel.com> (raw)
Not everything... Bunch of stuff in intel_mmio is left untouched.
Let's see if I'm going in the right direction. The idea is to drop globals and
make some helpers a bit less i915 specific.
Michał Winiarski (6):
tests/gem_exec_blt: Drop benchmark mode, use igt_sysfs
lib/igt_device: Introduce igt_device_get_card_index
lib: Kill drm_get_card()
lib/igt_sysfs: Remove idx from sysfs_open
lib/igt_sysfs: Simplify obtaining sysfs path
lib/igt_device: Move intel_get_pci_device under igt_device
benchmarks/gem_latency.c | 4 +-
benchmarks/gem_wsim.c | 4 +-
debugger/debug_rdata.c | 7 +-
debugger/eudb.c | 8 +-
lib/drmtest.c | 40 ----------
lib/drmtest.h | 1 -
lib/igt_device.c | 98 ++++++++++++++++++++++++
lib/igt_device.h | 3 +
lib/igt_gt.c | 2 +-
lib/igt_kms.c | 7 +-
lib/igt_sysfs.c | 40 +++-------
lib/igt_sysfs.h | 4 +-
lib/intel_chipset.c | 51 -------------
lib/intel_chipset.h | 1 -
lib/intel_mmio.c | 4 +-
lib/ioctl_wrappers.c | 5 +-
lib/ioctl_wrappers.h | 2 +-
tests/i915/gem_concurrent_all.c | 12 +--
tests/i915/gem_cpu_reloc.c | 4 +-
tests/i915/gem_exec_blt.c | 117 +++++++++--------------------
tests/i915/gem_exec_capture.c | 2 +-
tests/i915/gem_exec_latency.c | 3 +-
tests/i915/gem_exec_parse.c | 4 +-
tests/i915/gem_mmap.c | 4 +-
tests/i915/gem_mmap_gtt.c | 10 +--
tests/i915/gem_pwrite.c | 4 +-
tests/i915/gem_shrink.c | 2 +-
tests/i915/i915_hangman.c | 4 +-
tests/i915/i915_pm_lpsp.c | 3 +-
tests/i915/i915_pm_rc6_residency.c | 2 +-
tests/i915/i915_pm_rpm.c | 6 +-
tests/i915/i915_pm_rps.c | 5 +-
tests/i915/i915_suspend.c | 17 +++--
tests/kms_flip.c | 2 +-
tests/perf.c | 6 +-
tests/perf_pmu.c | 2 +-
tests/prime_mmap.c | 4 +-
tests/vgem_basic.c | 2 +-
tools/intel_audio_dump.c | 9 ++-
tools/intel_backlight.c | 8 +-
tools/intel_display_poller.c | 8 +-
tools/intel_forcewaked.c | 10 ++-
tools/intel_gpu_frequency.c | 9 ++-
tools/intel_gpu_time.c | 8 +-
tools/intel_gtt.c | 8 +-
tools/intel_infoframes.c | 7 +-
tools/intel_l3_parity.c | 5 +-
tools/intel_lid.c | 9 ++-
tools/intel_panel_fitter.c | 8 +-
tools/intel_perf_counters.c | 3 +-
tools/intel_reg.c | 23 +++---
tools/intel_reg_checker.c | 8 +-
tools/intel_watermark.c | 23 +++---
53 files changed, 332 insertions(+), 310 deletions(-)
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next reply other threads:[~2019-03-13 12:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-13 12:53 Michał Winiarski [this message]
2019-03-13 12:53 ` [igt-dev] [PATCH i-g-t 1/6] tests/gem_exec_blt: Drop benchmark mode, use igt_sysfs Michał Winiarski
2019-03-13 12:58 ` Chris Wilson
2019-03-13 12:53 ` [igt-dev] [PATCH i-g-t 2/6] lib/igt_device: Introduce igt_device_get_card_index Michał Winiarski
2019-03-13 13:02 ` Chris Wilson
2019-03-13 12:53 ` [igt-dev] [PATCH i-g-t 3/6] lib: Kill drm_get_card() Michał Winiarski
2019-03-13 13:05 ` Chris Wilson
2019-03-13 12:53 ` [igt-dev] [PATCH i-g-t 4/6] lib/igt_sysfs: Remove idx from sysfs_open Michał Winiarski
2019-03-13 13:08 ` Chris Wilson
2019-03-13 12:53 ` [igt-dev] [PATCH i-g-t 5/6] lib/igt_sysfs: Simplify obtaining sysfs path Michał Winiarski
2019-03-13 14:09 ` Chris Wilson
2019-03-13 12:53 ` [igt-dev] [PATCH i-g-t 6/6] lib/igt_device: Move intel_get_pci_device under igt_device Michał Winiarski
2019-03-13 14:27 ` Chris Wilson
2019-03-13 14:06 ` [igt-dev] ✓ Fi.CI.BAT: success for Attempt to get rid of some globals Patchwork
2019-03-13 18:07 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190313125332.12471-1-michal.winiarski@intel.com \
--to=michal.winiarski@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox