Skip to content

drm/i915: Optimize CSC updates for ilk+

Ville Syrjala intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915: Remove locks around skl+ scaler programmingdrivers/gpu/drm/i915/display/skl_scaler.c+0 -101 reply
2/4drm/i915: Make ilk+ pfit regiser unlockeddrivers/gpu/drm/i915/display/intel_display.c+9 -91 reply
3/4drm/i915: Split color_commit() into noarm+arm pairdrivers/gpu/drm/i915/display/intel_color.c drivers/gpu/drm/i915/display/intel_color.h drivers/gpu/drm/i915/display/intel_display.c+56 -281 reply
4/4drm/i915: Split pipe+output CSC programming to noarm+arm pairdrivers/gpu/drm/i915/display/intel_color.c+23 -131 reply

Reviews trailers per patch

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

PatchStanislav Lisovskiy
1/4R-b
2/4R-b
3/4R-b
4/4R-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/4] drm/i915: Optimize CSC updates for ilk+

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

As we did with plane updates we can split the color management updates to noarm+arm pair. The CSC matrix coefficients can all be written in the noarm hook, with just the PIPE_CSC_mode (the arming register) left behind in the arm hook.

Also make the scaler/pfit completely lockless as that too adds overhead into the vblank evasion critical section.

Ville Syrjälä (4):
drm/i915: Remove locks around skl+ scaler programming drm/i915: Make ilk+ pfit regiser unlocked
drm/i915: Split color_commit() into noarm+arm pair drm/i915: Split pipe+output CSC programming to noarm+arm pair

 drivers/gpu/drm/i915/display/intel_color.c   | 95 +++++++++++++-------
 drivers/gpu/drm/i915/display/intel_color.h   |  3 +-
 drivers/gpu/drm/i915/display/intel_display.c | 40 +++++----
 drivers/gpu/drm/i915/display/skl_scaler.c    | 10 ---
 4 files changed, 88 insertions(+), 60 deletions(-)
Signature · 1 line
2.34.1