[Intel-gfx] [RFC v2 00/14] Implicit dev_priv removal

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Jun 10 15:54:05 UTC 2019


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Mostly patches reworking the code and GEM init paths to remove some implicit
dev_priv dependencies (I915_READ/I915_WRITE), plus some small tweaks to tidy
GEM init paths to use more logical input parameters (enabled by the conversion
to uncore mmio accessors).

v2:
 * Introduce struct intel_gt by popular demand.
 * Compile tested only this time.

Tvrtko Ursulin (14):
  drm/i915: Make i915_check_and_clear_faults take uncore
  drm/i915: Convert intel_vgt_(de)balloon to uncore
  drm/i915: Introduce struct intel_gt as replacement for anonymous
    i915->gt
  drm/i915: Add a couple intel_gt helpers
  drm/i915: Convert i915_gem_init_swizzling to intel_gt
  drm/i915: Convert init_unused_rings to intel_gt
  drm/i915: Convert gt workarounds to intel_gt
  drm/i915: Store backpointer to intel_gt in the engine
  drm/i915: Convert intel_mocs_init_l3cc_table to intel_gt
  drm/i915: Convert i915_ppgtt_init_hw to intel_gt
  drm/i915: Consolidate some open coded mmio rmw
  drm/i915: Convert i915_gem_init_hw to intel_gt
  drm/i915/guc: Move intel_guc_reserved_gtt_size to intel_wopcm_guc_size
  drm/i915: Make GuC GGTT reservation work on ggtt

 drivers/gpu/drm/i915/Makefile                |   1 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c    |   3 +-
 drivers/gpu/drm/i915/gt/intel_engine_types.h |   2 +
 drivers/gpu/drm/i915/gt/intel_gt.c           |  44 ++++++
 drivers/gpu/drm/i915/gt/intel_gt.h           |  28 ++++
 drivers/gpu/drm/i915/gt/intel_gt_types.h     |  53 +++++++
 drivers/gpu/drm/i915/gt/intel_mocs.c         |  52 ++++---
 drivers/gpu/drm/i915/gt/intel_mocs.h         |   3 +-
 drivers/gpu/drm/i915/gt/intel_reset.c        |  28 ++--
 drivers/gpu/drm/i915/gt/intel_reset.h        |   2 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c  |  11 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.h  |   6 +-
 drivers/gpu/drm/i915/i915_drv.c              |   7 +-
 drivers/gpu/drm/i915/i915_drv.h              |  35 +----
 drivers/gpu/drm/i915/i915_gem.c              | 130 ++++++++--------
 drivers/gpu/drm/i915/i915_gem_gtt.c          | 148 ++++++++++++-------
 drivers/gpu/drm/i915/i915_gem_gtt.h          |   3 +-
 drivers/gpu/drm/i915/i915_vgpu.c             |  24 +--
 drivers/gpu/drm/i915/i915_vgpu.h             |   4 +-
 drivers/gpu/drm/i915/intel_guc.c             |  44 ------
 drivers/gpu/drm/i915/intel_guc.h             |   3 -
 drivers/gpu/drm/i915/intel_wopcm.h           |  17 +++
 22 files changed, 390 insertions(+), 258 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt.c
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt.h
 create mode 100644 drivers/gpu/drm/i915/gt/intel_gt_types.h

-- 
2.20.1



More information about the Intel-gfx mailing list