[Intel-gfx] [PATCH v2 00/29] drm/i915: Type safe register read/write (v2) and more prep work

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Wed Nov 4 13:19:48 PST 2015


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Another round of stuff for the type safe register access. Some of these
were already posted during the first round, but a lot of it is new
(LRI stuff, cmd parser, lrc setup etc., vgpu, etc.)

Available as a git branch too:
git://github.com/vsyrjala/linux.git type_safe_reg_access_8

Ville Syrjälä (29):
  pci: Decouple quirks.c from i915_reg.h
  drm/i915: Remove the magic AUX_CTL is at DP + foo tricks
  drm/i915: Replace the aux ddc name switch statement with a table
  drm/i915: Parametrize AUX registers
  drm/i915: Add dev_priv->psr_mmio_base
  drm/i915: Store aux data reg offsets in intel_dp->aux_ch_data_reg[]
  drm/i915: Model PSR AUX register selection more like the normal AUX
    code
  drm/i915: s/PCH_DP_/PORT_/ in intel_trans_dp_port_sel() and move it
    next to its only user
  drm/i915: Replace aux_ch_ctl_reg check with port check
  drm/i915: s/is_sdvob/enum port/
  drm/i915: Store DVO SRCDIM register offset under intel_dvo_device
  drm/i915: Streamline gpio_mmio_base deduction
  drm/i915: Prefix raw register defines with underscore
  drm/i915: Parametrize L3 error registers
  drm/i915: Parametrize MOCS registers
  drm/i915: s/0x50/RING_PSMI_CTL/
  drm/i915: Make the high dword offset more explicit in
    i915_reg_read_ioctl
  drm/i915: Make the cmd parser 64bit regs explicit
  drm/i915: Add functions to emit register offsets to the ring
  drm/i915: Add wa_ctx_emit_reg()
  drm/i915: Wrap ASSIGN_CTX_{PDP,PM4L} in do {} while(0)
  drm/i915: Give names to more ring registers
  drm/i915: Wrap context LRI init in a macro
  drm/i915: Turn vgpu pdps into an array
  drm/i915: Pull the vgpu uncore funcs apart from the rest of gen6+
  drm/i915: Add 'offset' to uncore funcs
  drm/i915: Add save/restore of SWF for ILK+
  drm/i915: Add missing ')' to SKL_PS_ECC_STAT define
  drm/i915: Type safe register read/write

 drivers/gpu/drm/i915/dvo.h                 |    3 +-
 drivers/gpu/drm/i915/i915_cmd_parser.c     |   37 +-
 drivers/gpu/drm/i915/i915_debugfs.c        |    9 +-
 drivers/gpu/drm/i915/i915_drv.h            |   54 +-
 drivers/gpu/drm/i915/i915_gem.c            |    7 +-
 drivers/gpu/drm/i915/i915_gem_context.c    |    4 +-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |    4 +-
 drivers/gpu/drm/i915/i915_gem_fence.c      |    2 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c        |   23 +-
 drivers/gpu/drm/i915/i915_gpu_error.c      |    4 +-
 drivers/gpu/drm/i915/i915_guc_reg.h        |   52 +-
 drivers/gpu/drm/i915/i915_guc_submission.c |    2 +-
 drivers/gpu/drm/i915/i915_irq.c            |   32 +-
 drivers/gpu/drm/i915/i915_reg.h            | 2715 ++++++++++++++--------------
 drivers/gpu/drm/i915/i915_suspend.c        |    6 +
 drivers/gpu/drm/i915/i915_sysfs.c          |    3 +-
 drivers/gpu/drm/i915/i915_trace.h          |    4 +-
 drivers/gpu/drm/i915/i915_vgpu.h           |   14 +-
 drivers/gpu/drm/i915/intel_audio.c         |   14 +-
 drivers/gpu/drm/i915/intel_crt.c           |   14 +-
 drivers/gpu/drm/i915/intel_csr.c           |   11 +-
 drivers/gpu/drm/i915/intel_ddi.c           |   13 +-
 drivers/gpu/drm/i915/intel_display.c       |  116 +-
 drivers/gpu/drm/i915/intel_dp.c            |  288 +--
 drivers/gpu/drm/i915/intel_drv.h           |   14 +-
 drivers/gpu/drm/i915/intel_dsi.c           |   45 +-
 drivers/gpu/drm/i915/intel_dvo.c           |   27 +-
 drivers/gpu/drm/i915/intel_fifo_underrun.c |    4 +-
 drivers/gpu/drm/i915/intel_hdmi.c          |   55 +-
 drivers/gpu/drm/i915/intel_i2c.c           |   27 +-
 drivers/gpu/drm/i915/intel_lrc.c           |  115 +-
 drivers/gpu/drm/i915/intel_lrc.h           |   19 +-
 drivers/gpu/drm/i915/intel_lvds.c          |    8 +-
 drivers/gpu/drm/i915/intel_mocs.c          |   41 +-
 drivers/gpu/drm/i915/intel_pm.c            |    5 +-
 drivers/gpu/drm/i915/intel_psr.c           |   53 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c    |   17 +-
 drivers/gpu/drm/i915/intel_ringbuffer.h    |    7 +-
 drivers/gpu/drm/i915/intel_sdvo.c          |   38 +-
 drivers/gpu/drm/i915/intel_uncore.c        |  199 +-
 drivers/pci/quirks.c                       |    4 +-
 41 files changed, 2140 insertions(+), 1969 deletions(-)

-- 
2.4.10



More information about the Intel-gfx mailing list