Skip to content

Misc cleanups and locking fixes

Tvrtko Ursulin intel-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 33 repliesIn review
  2. v213 patches 31 repliesSuperseded
  3. v16 patches 9 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915/bdw+: Replace list_del+list_add_tail with list_move_taildrivers/gpu/drm/i915/intel_lrc.c+6 -90 replies
2/7drm/i915: Do not call API requiring struct_mutex where it is not availabledrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_lrc.c +2 more+56 -575 replies
3/7drm/i915: Cache ringbuffer GTT addressdrivers/gpu/drm/i915/intel_lrc.c drivers/gpu/drm/i915/intel_ringbuffer.c drivers/gpu/drm/i915/intel_ringbuffer.h+5 -23 replies
4/7drm/i915: Cache LRC state page in the contextdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_lrc.c+12 -63 replies
4/7drm/i915: Cache LRC state page in the contextdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_lrc.c+25 -116 replies
5/7drm/i915: Don't need a timer to wake us updrivers/gpu/drm/i915/i915_gem.c+8 -202 replies
6/7drm/i915: Only grab timestamps when neededdrivers/gpu/drm/i915/i915_gem.c+7 -55 replies
7/7drm/i915: GEM operations need to be done under the big lockdrivers/gpu/drm/i915/i915_gem_stolen.c drivers/gpu/drm/i915/intel_display.c+9 -215 replies

Reviews trailers per patch

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

PatchDaniel VetterDave GordonChris Wilson
1/7R-b
2/7R-b R-b
3/7
4/7
4/7
5/7R-b
6/7A-b R-b R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/7] Misc cleanups and locking fixes

From: Tvrtko Ursulin <[email protected]>

Mostly fixing callers who call GEM API wo/ holding the struct_mutex and a few small code cleanups.

Tvrtko Ursulin (7):
drm/i915/bdw+: Replace list_del+list_add_tail with list_move_tail drm/i915: Do not call API requiring struct_mutex where it is not
available
drm/i915: Cache ringbuffer GTT address
drm/i915: Cache LRC state page in the context drm/i915: Don't need a timer to wake us up
drm/i915: Only grab timestamps when needed
drm/i915: GEM operations need to be done under the big lock

 drivers/gpu/drm/i915/i915_debugfs.c     |  15 ++--
 drivers/gpu/drm/i915/i915_drv.h         |   3 +
 drivers/gpu/drm/i915/i915_gem.c         |  40 ++++------
 drivers/gpu/drm/i915/i915_gem_stolen.c  |   3 +
 drivers/gpu/drm/i915/intel_display.c    |   8 +-
 drivers/gpu/drm/i915/intel_lrc.c        | 125 ++++++++++++++++----------------
 drivers/gpu/drm/i915/intel_lrc.h        |   4 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c |   3 +
 drivers/gpu/drm/i915/intel_ringbuffer.h |   3 +
 9 files changed, 103 insertions(+), 101 deletions(-)
Signature · 6 lines
1.9.1

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