Skip to content

drm/i915/dsb: Optimize indexed register writes

Ville Syrjala intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915/dsb: Remove old comment about stale contents of the DSB bufferdrivers/gpu/drm/i915/display/intel_dsb.c+1 -51 reply
2/7drm/i915/dsb: Eliminate intel_dsb_prev_ins_is_write()drivers/gpu/drm/i915/display/intel_dsb.c+3 -91 reply
3/7drm/i915/dsb: Carve up intel_dsb_prev_ins_is_indexed_write()drivers/gpu/drm/i915/display/intel_dsb.c+20 -91 reply
4/7drm/i915/dsb: Extract intel_dsb_set_ins()drivers/gpu/drm/i915/display/intel_dsb.c+11 -61 reply
5/7drm/i915/dsb: Update previous instruction tracking in intel_dsb_align_tail() & co.drivers/gpu/drm/i915/display/intel_dsb.c+4 -03 replies
6/7drm/i915/dsb: Skip redundant zeroing of every second indexed write DWdrivers/gpu/drm/i915/display/intel_dsb.c+4 -101 reply
7/7drm/i915/dsb: Avoid redundant writes to the DSB buffer for indexed register writesdrivers/gpu/drm/i915/display/intel_dsb.c+9 -22 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7
6/7R-b
7/7R-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 [PATCH 0/7] drm/i915/dsb: Optimize indexed register writes

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

Optimize the indexed register write handling.

This speeds up the DSB buffer preparation stage quite a bit for LUT updates on my DG2. Didn't measure BMG or any of the iGPU platforms.

Ville Syrjälä (7):
drm/i915/dsb: Remove old comment about stale contents of the DSB
buffer
drm/i915/dsb: Eliminate intel_dsb_prev_ins_is_write() drm/i915/dsb: Carve up intel_dsb_prev_ins_is_indexed_write() drm/i915/dsb: Extract intel_dsb_set_ins()
drm/i915/dsb: Update previous instruction tracking in
intel_dsb_align_tail() & co.
drm/i915/dsb: Skip redundant zeroing of every second indexed write DW drm/i915/dsb: Avoid redundant writes to the DSB buffer for indexed
register writes

 drivers/gpu/drm/i915/display/intel_dsb.c | 107 +++++++++++++----------
 1 file changed, 59 insertions(+), 48 deletions(-)
Signature · 1 line
2.56.0