From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 0/8] drm/i915/color: cleanup plane pre/post csc lut code
Date: Wed, 3 Jun 2026 18:14:27 +0300 [thread overview]
Message-ID: <cover.1780499355.git.jani.nikula@intel.com> (raw)
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
next reply other threads:[~2026-06-03 15:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 15:14 Jani Nikula [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1780499355.git.jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox