mbox series

[0/9] more uncore rework

Message ID 20190325214940.23632-1-daniele.ceraolospurio@intel.com (mailing list archive)
Headers show
Series more uncore rework | expand

Message

Daniele Ceraolo Spurio March 25, 2019, 9:49 p.m. UTC
Continuation of the crusade to make the uncore code self-contained.
The first few patches are mostly what's left of the previous series,
while the later ones swap dev_priv out in a few more places.

The last patch is a bit more aggressive and introduces some new
wrappers to read/write engine registers.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>

Daniele Ceraolo Spurio (9):
  drm/i915: rename raw reg access functions
  drm/i915: add HAS_FORCEWAKE flag to uncore
  drm/i915: add uncore flags for unclaimed mmio
  drm/i915: take a ref to the rpm in the uncore structure
  drm/i915: switch uncore mmio funcs to use intel_uncore
  drm/i915: switch intel_uncore_forcewake_for_reg to intel_uncore
  drm/i915: intel_wait_for_register_fw to uncore
  drm/i915: switch intel_wait_for_register to uncore
  drm/i915: take a reference to uncore in the engine and use it

 drivers/gpu/drm/i915/gvt/handlers.c           |   2 +-
 drivers/gpu/drm/i915/gvt/mmio_context.c       |  11 +-
 drivers/gpu/drm/i915/i915_debugfs.c           |   2 +-
 drivers/gpu/drm/i915/i915_drv.c               |   6 +-
 drivers/gpu/drm/i915/i915_drv.h               |  75 ++-----
 drivers/gpu/drm/i915/i915_gpu_error.c         |  42 ++--
 drivers/gpu/drm/i915/i915_perf.c              |  12 +-
 drivers/gpu/drm/i915/i915_reg.h               |  16 +-
 drivers/gpu/drm/i915/i915_reset.c             |  38 ++--
 drivers/gpu/drm/i915/i915_vgpu.c              |   6 +-
 drivers/gpu/drm/i915/icl_dsi.c                |   6 +-
 drivers/gpu/drm/i915/intel_cdclk.c            |   8 +-
 drivers/gpu/drm/i915/intel_crt.c              |   6 +-
 drivers/gpu/drm/i915/intel_ddi.c              |   2 +-
 drivers/gpu/drm/i915/intel_display.c          |  27 +--
 drivers/gpu/drm/i915/intel_dp.c               |   4 +-
 drivers/gpu/drm/i915/intel_dp_mst.c           |   2 +-
 drivers/gpu/drm/i915/intel_dpio_phy.c         |   5 +-
 drivers/gpu/drm/i915/intel_dpll_mgr.c         |  25 ++-
 drivers/gpu/drm/i915/intel_drv.h              |  17 +-
 drivers/gpu/drm/i915/intel_engine_cs.c        | 148 ++++++------
 drivers/gpu/drm/i915/intel_engine_types.h     |   2 +
 drivers/gpu/drm/i915/intel_fbc.c              |   2 +-
 drivers/gpu/drm/i915/intel_guc.c              |  15 +-
 drivers/gpu/drm/i915/intel_hangcheck.c        |   6 +-
 drivers/gpu/drm/i915/intel_hdcp.c             |  16 +-
 drivers/gpu/drm/i915/intel_huc.c              |   2 +-
 drivers/gpu/drm/i915/intel_huc_fw.c           |  22 +-
 drivers/gpu/drm/i915/intel_i2c.c              |   2 +-
 drivers/gpu/drm/i915/intel_lrc.c              |  19 +-
 drivers/gpu/drm/i915/intel_lrc.h              |  22 +-
 drivers/gpu/drm/i915/intel_lvds.c             |   6 +-
 drivers/gpu/drm/i915/intel_pm.c               |  17 +-
 drivers/gpu/drm/i915/intel_psr.c              |   8 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c       | 166 +++++++-------
 drivers/gpu/drm/i915/intel_ringbuffer.h       |  45 +++-
 drivers/gpu/drm/i915/intel_runtime_pm.c       |   8 +-
 drivers/gpu/drm/i915/intel_sideband.c         |  12 +-
 drivers/gpu/drm/i915/intel_uncore.c           | 211 +++++++++---------
 drivers/gpu/drm/i915/intel_uncore.h           | 167 ++++++++++++--
 drivers/gpu/drm/i915/intel_workarounds.c      |   2 +-
 drivers/gpu/drm/i915/selftests/intel_uncore.c |  17 +-
 drivers/gpu/drm/i915/selftests/mock_uncore.c  |   4 +-
 drivers/gpu/drm/i915/vlv_dsi.c                |  28 +--
 drivers/gpu/drm/i915/vlv_dsi_pll.c            |   4 +-
 45 files changed, 703 insertions(+), 560 deletions(-)