Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] drm/i915/color: cleanup plane pre/post csc lut code
@ 2026-06-03 15:14 Jani Nikula
  2026-06-03 15:14 ` [PATCH 1/8] drm/i915/color: clean up variables in xelpd_program_plane_pre_csc_lut() Jani Nikula
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Jani Nikula @ 2026-06-03 15:14 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

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(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-06-04  4:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 15:14 [PATCH 0/8] drm/i915/color: cleanup plane pre/post csc lut code Jani Nikula
2026-06-03 15:14 ` [PATCH 1/8] drm/i915/color: clean up variables in xelpd_program_plane_pre_csc_lut() Jani Nikula
2026-06-03 15:14 ` [PATCH 2/8] drm/i915/color: clean up variables in xelpd_program_plane_post_csc_lut() Jani Nikula
2026-06-03 15:14 ` [PATCH 3/8] drm/i915/color: reduce indent in xelpd_program_plane_pre_csc_lut() Jani Nikula
2026-06-03 15:14 ` [PATCH 4/8] drm/i915/color: reduce indent in xelpd_program_plane_post_csc_lut() Jani Nikula
2026-06-03 15:14 ` [PATCH 5/8] drm/i915/color: join loops in xelpd_program_plane_pre_csc_lut() Jani Nikula
2026-06-03 15:14 ` [PATCH 6/8] drm/i915/color: join loops in xelpd_program_plane_post_csc_lut() Jani Nikula
2026-06-03 15:14 ` [PATCH 7/8] drm/i915/color: deduplicate loops in xelpd_program_plane_pre_csc_lut() Jani Nikula
2026-06-03 15:14 ` [PATCH 8/8] drm/i915/color: deduplicate loops in xelpd_program_plane_post_csc_lut() Jani Nikula
2026-06-03 16:31 ` ✓ CI.KUnit: success for drm/i915/color: cleanup plane pre/post csc lut code Patchwork
2026-06-03 17:09 ` ✓ Xe.CI.BAT: " Patchwork
2026-06-04  4:43 ` ✓ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox