public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Stuart Summers <stuart.summers@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 0/4] Refactor to expand subslice mask
Date: Thu, 18 Apr 2019 17:00:02 -0700	[thread overview]
Message-ID: <20190419000006.10819-1-stuart.summers@intel.com> (raw)

This patch series contains a few code clean-up patches, followed
by a patch which changes the storage of the subslice mask to better
match the userspace access through the I915_QUERY_TOPOLOGY_INFO
ioctl. The index into the subslice_mask array is then calculated:
  slice * subslice stride + subslice index / 8

Stuart Summers (4):
  drm/i915: Use local variable for SSEU info in GETPARAM ioctl
  drm/i915: Add macro for SSEU stride calculation
  drm/i915: Move calculation of subslices per slice to new function
  drm/i915: Expand subslice mask

 drivers/gpu/drm/i915/i915_debugfs.c       |  46 ++++---
 drivers/gpu/drm/i915/i915_drv.c           |  15 ++-
 drivers/gpu/drm/i915/i915_gpu_error.c     |   5 +-
 drivers/gpu/drm/i915/i915_query.c         |  15 +--
 drivers/gpu/drm/i915/intel_device_info.c  | 154 +++++++++++++---------
 drivers/gpu/drm/i915/intel_device_info.h  |  52 ++++++--
 drivers/gpu/drm/i915/intel_engine_cs.c    |   6 +-
 drivers/gpu/drm/i915/intel_engine_types.h |  32 ++---
 drivers/gpu/drm/i915/intel_hangcheck.c    |   3 +-
 drivers/gpu/drm/i915/intel_workarounds.c  |   2 +-
 10 files changed, 203 insertions(+), 127 deletions(-)

-- 
2.21.0.5.gaeb582a983

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

             reply	other threads:[~2019-04-19  0:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-19  0:00 Stuart Summers [this message]
2019-04-19  0:00 ` [PATCH 1/4] drm/i915: Use local variable for SSEU info in GETPARAM ioctl Stuart Summers
2019-04-19  0:00 ` [PATCH 2/4] drm/i915: Add macro for SSEU stride calculation Stuart Summers
2019-04-19  0:00 ` [PATCH 3/4] drm/i915: Move calculation of subslices per slice to new function Stuart Summers
2019-04-19  0:00 ` [PATCH 4/4] drm/i915: Expand subslice mask Stuart Summers
2019-04-19  0:07 ` ✗ Fi.CI.CHECKPATCH: warning for Refactor to expand " Patchwork
2019-04-19  0:09 ` ✗ Fi.CI.SPARSE: " Patchwork
2019-04-19  0:28 ` ✓ Fi.CI.BAT: success " Patchwork
2019-04-19  3:44 ` ✗ Fi.CI.IGT: failure " Patchwork
2019-04-25 16:28 ` [PATCH 0/5] " Stuart Summers
2019-04-25 16:29   ` [PATCH 1/5] drm/i915: Use local variable for SSEU info in GETPARAM ioctl Stuart Summers
2019-04-25 16:29   ` [PATCH 2/5] drm/i915: Add macro for SSEU stride calculation Stuart Summers
2019-04-25 16:29   ` [PATCH 3/5] drm/i915: Move calculation of subslices per slice to new function Stuart Summers
2019-04-25 16:29   ` [PATCH 4/5] drm/i915: Move sseu helper functions to intel_sseu.h Stuart Summers
2019-04-25 16:29   ` [PATCH 5/5] drm/i915: Expand subslice mask Stuart Summers

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=20190419000006.10819-1-stuart.summers@intel.com \
    --to=stuart.summers@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox