Skip to content

drm/i915: Grab the vblank evasion lock around the entire evasion.

Maarten Lankhorst intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915: Keep vblank irq enabled during vblank evasion.drivers/gpu/drm/i915/intel_sprite.c+4 -711 replies
2/5drm/i915: Grab uncore.lock around enabling vblank evasiondrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_sprite.c+8 -51 reply
3/5drm/i915: Call i915_pipe_update_start with uncore.lock held.drivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/i915_trace.h drivers/gpu/drm/i915/intel_drv.h +1 more+60 -157 replies
4/5drm/i915: Move all locking for plane updates to callerdrivers/gpu/drm/i915/i915_trace.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_pm.c +1 more+52 -1140 replies
5/5drm/i915: Use DOUBLE_BUFFER_CTL on top of vblank evasion for GEN9+.drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_sprite.c+9 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] drm/i915: Grab the vblank evasion lock around the entire evasion.

Some cleanups to move the uncore.lock around vblank evasion, so run to completion without racing on uncore.lock. Hopefully this will reduce the chance of underruns, and perhaps allows us to decrease VBLANK_EVASION_TIME_US as well as a followup patch.

Tested on KBL and BSW.

Maarten Lankhorst (5):
drm/i915: Keep vblank irq enabled during vblank evasion. drm/i915: Grab uncore.lock around enabling vblank evasion drm/i915: Call i915_pipe_update_start with uncore.lock held. drm/i915: Move all locking for plane updates to caller drm/i915: Use DOUBLE_BUFFER_CTL on top of vblank evasion for GEN9+.

 drivers/gpu/drm/i915/i915_irq.c      | 68 ++++++++++++++++++++++++------
 drivers/gpu/drm/i915/i915_reg.h      |  3 ++
 drivers/gpu/drm/i915/i915_trace.h    | 20 ++++-----
 drivers/gpu/drm/i915/intel_display.c | 74 +++++++++++++-------------------
 drivers/gpu/drm/i915/intel_drv.h     |  2 +
 drivers/gpu/drm/i915/intel_pm.c      | 16 +++----
 drivers/gpu/drm/i915/intel_sprite.c  | 81 ++++++++++--------------------------
 7 files changed, 128 insertions(+), 136 deletions(-)
Signature · 6 lines
2.16.1

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