[00/12] Fewer for_each_engine(.., i915, ..)
mbox series

Message ID 20191022094726.3001-1-tvrtko.ursulin@linux.intel.com
Headers show
Series
  • Fewer for_each_engine(.., i915, ..)
Related show

Message

Tvrtko Ursulin Oct. 22, 2019, 9:47 a.m. UTC
From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

Since we want to eliminate the engine list copy in i915 this series converts
some of the remaining call sites to take gt as is the future direction.

Where appropriate it also converts the containing functions to take gt as well.
Most notably this applies to engine setup and initialization.

Tvrtko Ursulin (12):
  drm/i915: Pass intel_gt to intel_engines_init_mmio
  drm/i915: Pass intel_gt to intel_setup_engine_capabilities
  drm/i915: Pass intel_gt to intel_engines_cleanup
  drm/i915: Pass intel_gt to intel_engines_setup
  drm/i915: Pass intel_gt to intel_engines_init
  drm/i915: Pass intel_gt to intel_engines_verify_workarounds
  drm/i915: Split drop caches into GT and i915 parts
  drm/i915/selftests: Convert eviction selftests to gt/ggtt
  drm/i915/selftests: Use GT engines in mock_gem_device
  drm/i915/selftests: Use GT engines in igt_live_test
  drm/i915/selftests: Use GT engines in i915_gem_mman selftest
  drm/i915/selftests: Use for_each_uabi_engine in contex selftests

 .../drm/i915/gem/selftests/i915_gem_context.c |  12 +--
 .../drm/i915/gem/selftests/i915_gem_mman.c    |   5 +-
 drivers/gpu/drm/i915/gt/intel_engine.h        |  10 +-
 drivers/gpu/drm/i915/gt/intel_engine_cs.c     |  46 ++++----
 drivers/gpu/drm/i915/i915_debugfs.c           |  24 +++--
 drivers/gpu/drm/i915/i915_drv.c               |   4 +-
 drivers/gpu/drm/i915/i915_gem.c               |  14 +--
 .../gpu/drm/i915/selftests/i915_gem_evict.c   | 100 +++++++++---------
 .../gpu/drm/i915/selftests/igt_live_test.c    |   7 +-
 .../gpu/drm/i915/selftests/mock_gem_device.c  |   8 +-
 10 files changed, 122 insertions(+), 108 deletions(-)