Skip to content

Broadwell HW semaphores

Ben Widawsky intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13drm/i915: Move semaphore specific ring members to structdrivers/gpu/drm/i915/i915_gem.c drivers/gpu/drm/i915/i915_gpu_error.c drivers/gpu/drm/i915/intel_ringbuffer.c +1 more+60 -570 replies
2/13drm/i915: Virtualize the ringbuffer signal funcdrivers/gpu/drm/i915/intel_ringbuffer.c drivers/gpu/drm/i915/intel_ringbuffer.h+27 -170 replies
3/13drm/i915: Move ring_begin to signal()drivers/gpu/drm/i915/intel_ringbuffer.c drivers/gpu/drm/i915/intel_ringbuffer.h+25 -180 replies
4/13drm/i915: Make semaphore updates more precisedrivers/gpu/drm/i915/intel_ringbuffer.c+22 -216 replies
5/13drm/i915: gen specific ring initdrivers/gpu/drm/i915/intel_ringbuffer.c+92 -420 replies
6/13drm/i915/bdw: implement semaphore signaldrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ringbuffer.c +1 more+197 -4613 replies
7/13drm/i915/bdw: implement semaphore waitdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ringbuffer.c drivers/gpu/drm/i915/intel_ringbuffer.h+62 -371 reply
8/13drm/i915: FORCE_RESTORE for gen8 semaphoresdrivers/gpu/drm/i915/i915_gem_context.c+9 -00 replies
9/13drm/i915/bdw: poll semaphoresdrivers/gpu/drm/i915/intel_ringbuffer.c+1 -01 reply
10/13drm/i915: Extract semaphore error collectiondrivers/gpu/drm/i915/i915_gpu_error.c+19 -120 replies
11/13drm/i915/bdw: collect semaphore error statedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c drivers/gpu/drm/i915/intel_ringbuffer.h+51 -94 replies
12/13drm/i915: unleash semaphores on gen8drivers/gpu/drm/i915/i915_drv.c+0 -60 replies
13/13drm/i915: semaphore debugfsdrivers/gpu/drm/i915/i915_debugfs.c+69 -00 replies

Reviews trailers per patch

1 of 13 patches has a Reviewed-by or Acked-by.

PatchVille Syrjälä
1/13
2/13
3/13
4/13R-b
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

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

Read the v1 thread

Cover letter [PATCH 00/13] [REPOST] Broadwell HW semaphores

These are the remaining patches for enabling HW semaphores on Broadwell. The patches are rebased against the latest drm-intel-nightly, and the only other intentional modifications were those requested by Chris. The functionality they provide is the same as before. Unfortunately, I will not have the ability to test these until I return from FOSDEM - however it sounds like we have some reviewer time now.

Since last time:
I had a couple of rebase conflicts, and build errors as a result of moving things (like the invention module parameter structure). They were trivial, so the only concern there would be if my 'test-every-commit' script blew up. It also should have all the feedback I had received from Chris on the first round. I wasn't sure what to do with a couple of the things Chris said "drm/i915/bdw: collect semaphore error state" for example. Anything which I was confused about is left in.

As before, the series is pushed here:
git://people.freedesktop.org/~bwidawsk/drm-intel bdw-sema

If you find yourself with a problem after running these, you can either disable semaphores from the kernel command line, or revert "drm/i915:
unleash semaphores on gen8"

Ben Widawsky (13):
drm/i915: Move semaphore specific ring members to struct drm/i915: Virtualize the ringbuffer signal func drm/i915: Move ring_begin to signal()
drm/i915: Make semaphore updates more precise drm/i915: gen specific ring init
drm/i915/bdw: implement semaphore signal drm/i915/bdw: implement semaphore wait drm/i915: FORCE_RESTORE for gen8 semaphores drm/i915/bdw: poll semaphores
drm/i915: Extract semaphore error collection drm/i915/bdw: collect semaphore error state drm/i915: unleash semaphores on gen8
drm/i915: semaphore debugfs

 drivers/gpu/drm/i915/i915_debugfs.c     |  69 +++++++
 drivers/gpu/drm/i915/i915_drv.c         |   6 -
 drivers/gpu/drm/i915/i915_drv.h         |   2 +
 drivers/gpu/drm/i915/i915_gem.c         |  10 +-
 drivers/gpu/drm/i915/i915_gem_context.c |   9 +
 drivers/gpu/drm/i915/i915_gpu_error.c   |  76 ++++++--
 drivers/gpu/drm/i915/i915_reg.h         |   8 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c | 330 ++++++++++++++++++++++++--------
 drivers/gpu/drm/i915/intel_ringbuffer.h |  87 ++++++++-
 9 files changed, 483 insertions(+), 114 deletions(-)
Signature · 1 line
1.8.5.3