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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Mon Jan 29 16:31:38 UTC 2018


Hi,

There is almost no changes from the previous series. I just put the
i915_query_ioctl() declaration in its own header file (like Joonas
suggested, if I remember correctly).

Adding a couple of patches for discussion on how to have a userspace
query all of the information it needs from the device in one ioctl
(Chris' suggestion).

Would be great to land !RFC if people are okay with it.

Cheers,

Lionel Landwerlin (8):
  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
  RFC: drm/i915: expose chipset/driver properties through query uAPI
  RFC: drm/i915: reuse new chipset/driver query in getparam

 drivers/gpu/drm/i915/Makefile            |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c      |  63 ++++---
 drivers/gpu/drm/i915/i915_drv.c          | 216 +++++++++++----------
 drivers/gpu/drm/i915/i915_gpu_error.c    |   1 +
 drivers/gpu/drm/i915/i915_query.c        | 312 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_query.h        |  38 ++++
 drivers/gpu/drm/i915/intel_device_info.c | 226 +++++++++++++++++-----
 drivers/gpu/drm/i915/intel_device_info.h |  49 ++++-
 drivers/gpu/drm/i915/intel_lrc.c         |   2 +-
 drivers/gpu/drm/i915/intel_ringbuffer.h  |   2 +-
 include/uapi/drm/i915_drm.h              | 188 +++++++++++++++++++
 11 files changed, 926 insertions(+), 172 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_query.c
 create mode 100644 drivers/gpu/drm/i915/i915_query.h

--
2.15.1


More information about the Intel-gfx mailing list