Skip to content

Add sysfs interface to control class-of-service

Prathap Kumar Valsan intel-gfx 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 2 repliesIn review
  2. v31 patch 2 repliesSuperseded
  3. v2 posting 2/21 patch 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/21 patch6 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v4 from the cover letter

- Make it explicit in the commit message that we want to set CLOS global on device (Chris)
- Fixe the Locking (Chris)
- Move the global configuration of contexts away from gt.(Chris)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/i915: Add sysfs interface to control class-of-servicedrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/gt/intel_lrc.c drivers/gpu/drm/i915/gt/intel_lrc_reg.h +8 more+393 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/1] Add sysfs interface to control class-of-service

For GEN11 MOCS are part of context register state. This means updating CLOS also needs to update the context state of active contexts.

v4:
- Make it explicit in the commit message that we want to set CLOS global on device (Chris)
- Fixe the Locking (Chris)
- Move the global configuration of contexts away from gt.(Chris)

v3: Rebase

v2:
- Update the interface to use two sysfs files(Joonas)
- Gen12 PCode interface is not ready yet to read the way mask. So removed TGL support and added support for Gen11.
- Updating MOCS in Gen 11 also require changing the context image of existing contexts.
- Referred to gen8_configure_all_contexts() as suggested by Chris.

Prathap Kumar Valsan (1):
drm/i915: Add sysfs interface to control class-of-service

 drivers/gpu/drm/i915/Makefile           |   1 +
 drivers/gpu/drm/i915/gt/intel_lrc.c     |   7 ++
 drivers/gpu/drm/i915/gt/intel_lrc_reg.h |   1 +
 drivers/gpu/drm/i915/gt/intel_mocs.c    | 115 +++++++++++++++++++++
 drivers/gpu/drm/i915/gt/intel_mocs.h    |   7 ++
 drivers/gpu/drm/i915/i915_clos.c        | 128 ++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_clos.h        |  15 +++
 drivers/gpu/drm/i915/i915_drv.h         |  10 ++
 drivers/gpu/drm/i915/i915_gem.c         |   3 +
 drivers/gpu/drm/i915/i915_reg.h         |   1 +
 drivers/gpu/drm/i915/i915_sysfs.c       | 105 +++++++++++++++++++
 11 files changed, 393 insertions(+)
 create mode 100644 drivers/gpu/drm/i915/i915_clos.c
 create mode 100644 drivers/gpu/drm/i915/i915_clos.h
Signature · 6 lines
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx