Skip to content

drm/i915: Split plane updates to noarm+arm phases

Ville Syrjala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/i915: Reject planar formats when doing async flipsdrivers/gpu/drm/i915/display/intel_display.c+6 -01 reply
2/9drm/i915: Fix async flip with decryption and/or DPTdrivers/gpu/drm/i915/display/skl_universal_plane.c+20 -101 reply
3/9drm/i915: Fix up the sprite namespacingdrivers/gpu/drm/i915/display/intel_sprite.c+53 -531 reply
4/9drm/i915: Split update_plane() into update_noarm() + update_arm()drivers/gpu/drm/i915/display/i9xx_plane.c drivers/gpu/drm/i915/display/intel_atomic_plane.c drivers/gpu/drm/i915/display/intel_atomic_plane.h +6 more+192 -942 replies
5/9drm/i915: Split skl+ plane update into noarm+arm pairdrivers/gpu/drm/i915/display/skl_universal_plane.c+72 -419 replies
6/9drm/i915: Split pre-skl primary plane update into noarm+arm pairdrivers/gpu/drm/i915/display/i9xx_plane.c+40 -213 replies
7/9drm/i915: Split g4x+ sprite plane update into noarm+arm pairdrivers/gpu/drm/i915/display/intel_sprite.c+28 -131 reply
8/9drm/i915: Split ivb+ sprite plane update into noarm+arm pairdrivers/gpu/drm/i915/display/intel_sprite.c+28 -141 reply
9/9drm/i915: Split vlv/chv sprite plane update into noarm+arm pairdrivers/gpu/drm/i915/display/intel_sprite.c+30 -151 reply

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchStanislav Lisovskiy
1/9R-b
2/9R-b
3/9R-b
4/9R-b R-b
5/9R-b R-b
6/9R-b R-b
7/9R-b
8/9R-b
9/9R-b

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

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/9] drm/i915: Split plane updates to noarm+arm phases

From: Ville Syrjälä <[email protected]>

Write all non-arming double buffered plane registers ahead of the vblank evade critical section. This reduces the amount of work we have to inside the critical section and thus should speed it up a bit.

I didn't convert cursors yet because IIRC they had some intersting double buffering behaviours. Similar story with skl+ scalers. Need to do further studies on those topics to do this safely. For now we're left with a few TODOs.

Also tossed in a few async flip fixes at the start.

Ville Syrjälä (9):
drm/i915: Reject planar formats when doing async flips drm/i915: Fix async flip with decryption and/or DPT drm/i915: Fix up the sprite namespacing
drm/i915: Split update_plane() into update_noarm() + update_arm() drm/i915: Split skl+ plane update into noarm+arm pair drm/i915: Split pre-skl primary plane update into noarm+arm pair drm/i915: Split g4x+ sprite plane update into noarm+arm pair drm/i915: Split ivb+ sprite plane update into noarm+arm pair drm/i915: Split vlv/chv sprite plane update into noarm+arm pair

 drivers/gpu/drm/i915/display/i9xx_plane.c     |  72 +++---
 .../gpu/drm/i915/display/intel_atomic_plane.c |  88 +++++--
 .../gpu/drm/i915/display/intel_atomic_plane.h |  23 +-
 drivers/gpu/drm/i915/display/intel_cursor.c   |  44 ++--
 drivers/gpu/drm/i915/display/intel_display.c  |  18 +-
 .../drm/i915/display/intel_display_types.h    |  12 +-
 drivers/gpu/drm/i915/display/intel_sprite.c   | 214 +++++++++++-------
 .../drm/i915/display/skl_universal_plane.c    | 150 +++++++-----
 drivers/gpu/drm/i915/i915_trace.h             |  33 ++-
 9 files changed, 431 insertions(+), 223 deletions(-)
Signature · 1 line
2.32.0