[Intel-gfx] [PATCH v14 0/6] drm/i915: expose RCS topology to userspace

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu Feb 22 17:53:53 UTC 2018


Hi all,

This iteration has 2 main changes :

 - Joonas wanted to have stride fields into the
   drm_i915_query_topology_info, so the layout has changed a bit.
   Tvrtko also suggested alignment stuff.

 - In commit b8ec759e6f1c6da0418238df066a0f1ef8fd2075 I added
   slice/subslice mask reporting for Haswell through the existing
   getparam ioctl. Haswell can have up to 10 EUs per half/sub-slice,
   so a few places needed to be updated with deal with u16 internally
   (this doesn't change the uAPI in anyway).

Cheers,

Lionel Landwerlin (6):
  drm/i915: store all subslice masks
  drm/i915/debugfs: reuse max slice/subslices already stored in sseu
  drm/i915/debugfs: add rcs topology entry
  drm/i915: add rcs topology to error state
  drm/i915: add query uAPI
  drm/i915: expose rcs topology through query uAPI

 drivers/gpu/drm/i915/Makefile            |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c      |  63 ++++----
 drivers/gpu/drm/i915/i915_drv.c          |   4 +-
 drivers/gpu/drm/i915/i915_gpu_error.c    |   1 +
 drivers/gpu/drm/i915/i915_query.c        | 131 ++++++++++++++++
 drivers/gpu/drm/i915/i915_query.h        |  15 ++
 drivers/gpu/drm/i915/intel_device_info.c | 248 ++++++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_device_info.h |  60 +++++++-
 drivers/gpu/drm/i915/intel_lrc.c         |   2 +-
 drivers/gpu/drm/i915/intel_ringbuffer.h  |   2 +-
 include/uapi/drm/i915_drm.h              | 102 +++++++++++++
 11 files changed, 546 insertions(+), 83 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_query.c
 create mode 100644 drivers/gpu/drm/i915/i915_query.h

--
2.16.1


More information about the Intel-gfx mailing list