[PATCH 00/13] Expand subslice mask part 2

Stuart Summers stuart.summers at intel.com
Tue Jun 18 14:22:58 UTC 2019


Currently, the subslice_mask runtime parameter is stored as an
array of subslices per slice. Expand the subslice mask array to
better match what is presented to userspace through the
I915_QUERY_TOPOLOGY_INFO ioctl. The index into this array is
then calculated:
  slice * subslice stride + subslice index / 8

Note that this is the second iteration of a patch which was
reverted previously due to regressions seen on ICL. This
has been split based on feedback into separate, more concise
patches. Two other patches are added authored by Chris Wilson
and ___ as a follow-up to the previously reverted patch.

Chris Wilson (2):
  drm/i915: Fix off-by-one in looking up icl sseu slice
  drm/i915: Initialise subslice prior to potential zero-length loop

Stuart Summers (11):
  drm/i915: Use variable for debugfs device status
  drm/i915: Add function to set SSEU info per platform
  drm/i915: Add subslice stride runtime parameter
  drm/i915: Add EU stride runtime parameter
  drm/i915: Add function to set subslices
  drm/i915: Add function to get subslices
  drm/i915: Add function to determine if a slice has a subslice
  drm/i915: Refactor instdone loops on new subslice functions
  drm/i915: Add new function to copy subslices for a slice
  drm/i915: Expand subslice mask
  drm/i915: Add debug log to ICL SSEU workaround

 drivers/gpu/drm/i915/gt/intel_engine_cs.c    |  23 +++-
 drivers/gpu/drm/i915/gt/intel_engine_types.h |  31 +++--
 drivers/gpu/drm/i915/gt/intel_hangcheck.c    |   3 +-
 drivers/gpu/drm/i915/gt/intel_sseu.c         |  47 +++++++-
 drivers/gpu/drm/i915/gt/intel_sseu.h         |  24 +++-
 drivers/gpu/drm/i915/gt/intel_workarounds.c  |  11 +-
 drivers/gpu/drm/i915/i915_debugfs.c          |  48 +++++---
 drivers/gpu/drm/i915/i915_gpu_error.c        |   5 +-
 drivers/gpu/drm/i915/i915_query.c            |  10 +-
 drivers/gpu/drm/i915/intel_device_info.c     | 118 +++++++++----------
 10 files changed, 212 insertions(+), 108 deletions(-)

-- 
2.21.0.5.gaeb582a983



More information about the Intel-gfx-trybot mailing list