[Intel-gfx] [PATCH 0/4] Refactor to expand subslice mask

Stuart Summers stuart.summers at intel.com
Fri Apr 19 00:00:02 UTC 2019


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



More information about the Intel-gfx mailing list