All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Subject: [PATCH 0/9] more uncore rework
Date: Mon, 25 Mar 2019 14:49:31 -0700	[thread overview]
Message-ID: <20190325214940.23632-1-daniele.ceraolospurio@intel.com> (raw)

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(-)

-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2019-03-25 21:49 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-25 21:49 Daniele Ceraolo Spurio [this message]
2019-03-25 21:49 ` [PATCH 1/9] drm/i915: rename raw reg access functions Daniele Ceraolo Spurio
2019-03-25 22:41   ` Paulo Zanoni
2019-03-25 22:57     ` Chris Wilson
2019-03-26  4:18   ` kbuild test robot
2019-03-26  4:37   ` kbuild test robot
2019-03-25 21:49 ` [PATCH 2/9] drm/i915: add HAS_FORCEWAKE flag to uncore Daniele Ceraolo Spurio
2019-03-26  0:13   ` Paulo Zanoni
2019-03-26 12:47   ` Michal Wajdeczko
2019-03-26 21:48     ` Chris Wilson
2019-03-25 21:49 ` [PATCH 3/9] drm/i915: add uncore flags for unclaimed mmio Daniele Ceraolo Spurio
2019-03-26  0:19   ` Paulo Zanoni
2019-03-25 21:49 ` [PATCH 4/9] drm/i915: take a ref to the rpm in the uncore structure Daniele Ceraolo Spurio
2019-03-25 21:49 ` [PATCH 5/9] drm/i915: switch uncore mmio funcs to use intel_uncore Daniele Ceraolo Spurio
2019-03-25 21:49 ` [PATCH 6/9] drm/i915: switch intel_uncore_forcewake_for_reg to intel_uncore Daniele Ceraolo Spurio
2019-03-26  9:20   ` kbuild test robot
2019-03-25 21:49 ` [PATCH 7/9] drm/i915: intel_wait_for_register_fw to uncore Daniele Ceraolo Spurio
2019-03-25 22:09   ` Chris Wilson
2019-03-26 15:12   ` kbuild test robot
2019-03-25 21:49 ` [PATCH 8/9] drm/i915: switch intel_wait_for_register " Daniele Ceraolo Spurio
2019-03-26 19:17   ` kbuild test robot
2019-03-25 21:49 ` [PATCH 9/9] drm/i915: take a reference to uncore in the engine and use it Daniele Ceraolo Spurio
2019-03-25 22:21   ` Chris Wilson
2019-03-26 12:01 ` ✗ Fi.CI.CHECKPATCH: warning for more uncore rework Patchwork
2019-03-26 12:06 ` ✗ Fi.CI.SPARSE: " Patchwork
2019-03-26 12:29 ` ✓ Fi.CI.BAT: success " Patchwork
2019-03-26 16:46 ` ✓ Fi.CI.IGT: " 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=20190325214940.23632-1-daniele.ceraolospurio@intel.com \
    --to=daniele.ceraolospurio@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=paulo.r.zanoni@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.