From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: drm/i915/color: Enable SDR plane color pipeline
Date: Sun, 12 Apr 2026 13:07:22 +1000 [thread overview]
Message-ID: <review-overall-20260408051514.608781-1-chaitanya.kumar.borah@intel.com> (raw)
In-Reply-To: <20260408051514.608781-1-chaitanya.kumar.borah@intel.com>
Overall Series Review
Subject: drm/i915/color: Enable SDR plane color pipeline
Author: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Patches: 14
Reviewed: 2026-04-12T13:07:22.561946
---
This 13-patch series adds SDR plane color pipeline support to i915, building on the existing HDR plane color pipeline infrastructure and the DRM colorop framework. It introduces a new `DRM_COLOROP_FIXED_MATRIX` colorop type for fixed-function CSC blocks, adds pre/post-CSC LUT programming for SDR planes, and wires up YUV range correction through the colorop framework.
The series is generally well-structured with a clean patch decomposition (DRM core type, i915 pipeline wiring, HW programming, refactoring, new features). However, there is a **critical bug** in how the new colorop-based CSC/range-correction interacts with the existing legacy YUV color handling in `glk_plane_color_ctl()`, which will cause register corruption for YUV framebuffers on SDR planes and a regression for limited-range YUV content even without using color pipelines.
**Key issues:**
1. **Critical**: Conflicting CSC mode and YUV range correction programming paths in `glk_plane_color_ctl()` (Patches 3/12)
2. **Medium**: Hardcoded `plane - 3` offset for SDR plane register addressing (Patches 7/9)
3. **Minor**: Kernel-doc tag mismatch for `DRM_COLOROP_FM_YCBCR2020_FULL_RGB_NC` (Patch 1)
4. **Minor**: Post-CSC refactoring silently removes segment 0 programming (Patch 8)
---
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-04-12 3:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 5:15 [PATCH v2 00/13] drm/i915/color: Enable SDR plane color pipeline Chaitanya Kumar Borah
2026-04-08 5:15 ` [PATCH v2 01/13] drm/colorop: Add DRM_COLOROP_FIXED_MATRIX Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 02/13] drm/i915/color: Add CSC on SDR plane color pipeline Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 03/13] drm/i915/color: Program fixed-function CSC on SDR planes Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 04/13] drm/i915/color: Add support for 1D LUT in " Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 05/13] drm/i915/color: Fix HDR pre-CSC LUT programming loop Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 06/13] drm/i915/color: Extract HDR pre-CSC LUT programming to helper function Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 07/13] drm/i915/color: Program Pre-CSC registers for SDR Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 08/13] drm/i915/color: Extract HDR post-CSC LUT programming to helper function Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 09/13] drm/i915/color: Program Plane Post CSC registers for SDR planes Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 10/13] drm/i915/color: Add color pipeline support " Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 11/13] drm/i915/color: Add YCbCr limited-to-full range color block support Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 12/13] drm/i915/color: Program plane YUV range correction colorop Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-08 5:15 ` [PATCH v2 13/13] drm/i915/color: Add YUV range correction to SDR plane pipeline Chaitanya Kumar Borah
2026-04-12 3:07 ` Claude review: " Claude Code Review Bot
2026-04-12 3:07 ` Claude Code Review Bot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-03-06 16:52 [PATCH 00/10] drm/i915/color: Enable SDR plane color pipeline Chaitanya Kumar Borah
2026-03-08 22:26 ` Claude review: " Claude Code Review Bot
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=review-overall-20260408051514.608781-1-chaitanya.kumar.borah@intel.com \
--to=claude-review@example.com \
--cc=dri-devel-reviews@example.com \
/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