Skip to content

Replace seqno values with request structures

[email protected] intel-gfx 4 versions – Applied

Status from this message: I've merged the first two patches from this series, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 4 repliesApplied
  2. v328 patches 25 repliesSuperseded
  3. v228 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v129 patches6 repliesApplied

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/4drm/i915: Fix up seqno -> request merge issuesdrivers/gpu/drm/i915/intel_display.c+2 -41 reply
2/4drm/i915: Zero fill the request structuredrivers/gpu/drm/i915/intel_lrc.c drivers/gpu/drm/i915/intel_ringbuffer.c+2 -20 replies
3/4drm/i915: Add unique id to the request structure for debuggingdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_lrc.c drivers/gpu/drm/i915/intel_ringbuffer.c+8 -00 replies
4/4drm/i915: Additional request structure tracingdrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/i915_trace.h+17 -73 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchThomas DanielPRC QA PRTS (Patch Regression Test System Contact:
1/4
2/4R-b
3/4R-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] Replace seqno values with request structures

From: John Harrison <[email protected]>

There is a general feeling that it is better to move away from using a simple integer 'seqno' value to track batch buffer completion. Instead, the request structure should be used. That provides for much more flexibility going forwards. Especially which things like a GPU scheduler (which can re-order batch buffers and hence seqnos after submission to the hardware), Android sync points and other such features which potentially make seqno usage more and more complex.

This patch set does the work of converting most of the driver to use request structures in preference to seqno values. The only place left that still uses seqnos is the semaphore code. It was decided to leave that alone for the time being as the semaphores are hardware based and the hardware only understands seqno values.

v2: Rebased to newer nightly tree which significantly changed some of the display MMIO flip code (including making __wait_request public and renaming it).

v3: Rebased to yet another nightly tree which included execlist pin/unpin patches. NB: this is based on a tree including a pending update for an unpin bug. Also includes a fix for a clash with the shrinker.

v4: Remaining patches rebased to remove caching of completion status patches. This is now future work to be done in a different manner.

[Patches against drm-intel-nightly tree fetched 03/12/2014]

John Harrison (4):
drm/i915: Fix up seqno -> request merge issues drm/i915: Zero fill the request structure
drm/i915: Add unique id to the request structure for debugging drm/i915: Additional request structure tracing

 drivers/gpu/drm/i915/i915_drv.h         |    4 ++++
 drivers/gpu/drm/i915/i915_irq.c         |    2 +-
 drivers/gpu/drm/i915/i915_trace.h       |   22 ++++++++++++++++------
 drivers/gpu/drm/i915/intel_display.c    |    6 ++----
 drivers/gpu/drm/i915/intel_lrc.c        |    4 +++-
 drivers/gpu/drm/i915/intel_ringbuffer.c |    4 +++-
 6 files changed, 29 insertions(+), 13 deletions(-)
Signature · 6 lines
1.7.9.5

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