[Intel-gfx] [PATCH 0/4] drm/i915: Optimize CSC updates for ilk+
Ville Syrjala
ville.syrjala at linux.intel.com
Thu Feb 24 16:50:59 UTC 2022
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
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(-)
--
2.34.1
More information about the Intel-gfx
mailing list