Skip to content

drm/i915/color: cleanup plane pre/post csc lut code

Jani Nikula intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915/color: clean up variables in xelpd_program_plane_pre_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+5 -60 replies
2/8drm/i915/color: clean up variables in xelpd_program_plane_post_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+5 -50 replies
3/8drm/i915/color: reduce indent in xelpd_program_plane_pre_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+32 -310 replies
4/8drm/i915/color: reduce indent in xelpd_program_plane_post_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+40 -390 replies
5/8drm/i915/color: join loops in xelpd_program_plane_pre_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+9 -180 replies
6/8drm/i915/color: join loops in xelpd_program_plane_post_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+9 -170 replies
7/8drm/i915/color: deduplicate loops in xelpd_program_plane_pre_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+8 -131 reply
8/8drm/i915/color: deduplicate loops in xelpd_program_plane_post_csc_lut()drivers/gpu/drm/i915/display/intel_color.c+8 -140 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChaitanya Kumar Borah
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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/8] drm/i915/color: cleanup plane pre/post csc lut code

While reviewing some patches I noticed the xelpd_program_plane_pre_csc_lut() and xelpd_program_plane_post_csc_lut() functions were a bit convoluted. Reduce the number of loops in each from four to one, among other things.

BR,
Jani.

Jani Nikula (8):
drm/i915/color: clean up variables in
xelpd_program_plane_pre_csc_lut()
drm/i915/color: clean up variables in
xelpd_program_plane_post_csc_lut()
drm/i915/color: reduce indent in xelpd_program_plane_pre_csc_lut() drm/i915/color: reduce indent in xelpd_program_plane_post_csc_lut() drm/i915/color: join loops in xelpd_program_plane_pre_csc_lut() drm/i915/color: join loops in xelpd_program_plane_post_csc_lut() drm/i915/color: deduplicate loops in xelpd_program_plane_pre_csc_lut() drm/i915/color: deduplicate loops in
xelpd_program_plane_post_csc_lut()

 drivers/gpu/drm/i915/display/intel_color.c | 117 ++++++++-------------
 1 file changed, 45 insertions(+), 72 deletions(-)
Signature · 1 line
2.47.3