public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: drm: bridge: ti-sn65dsi83: Fix DSI mode flags for stable LVDS output
Date: Thu, 28 May 2026 12:36:18 +1000	[thread overview]
Message-ID: <review-overall-20260527085736.920390-1-tessolveupstream@gmail.com> (raw)
In-Reply-To: <20260527085736.920390-1-tessolveupstream@gmail.com>

Overall Series Review

Subject: drm: bridge: ti-sn65dsi83: Fix DSI mode flags for stable LVDS output
Author: Sudarshan Shetty <tessolveupstream@gmail.com>
Patches: 3
Reviewed: 2026-05-28T12:36:18.878762

---

This is a straightforward 2-patch series that removes three DSI mode flags (`MIPI_DSI_MODE_VIDEO_NO_HFP`, `MIPI_DSI_MODE_VIDEO_NO_HBP`, and `MIPI_DSI_MODE_VIDEO_BURST`) from the ti-sn65dsi83 bridge driver to improve LVDS output stability.

The changes are well-motivated. The driver explicitly programs HFP, HBP, hsync, and vsync timing values into the bridge chip's registers (lines 666–679), meaning it depends on receiving these values from the DSI host. Using `NO_HFP`/`NO_HBP` flags instructs the DSI host to suppress transmission of those blanking periods, which is contradictory — the bridge needs that timing information to reconstruct valid LVDS output. The removal makes the driver's DSI-side configuration consistent with the register programming on the LVDS side.

The split into two patches (HFP/HBP flags vs. burst mode) is appropriate since the two changes have different justifications and different risk profiles. The series has Tested-by tags from two independent testers (Luca Ceresoli and Alexander Stein), providing good validation.

**Concern:** These are behavioral changes that affect all users of this driver, not just the submitter's platform. Removing burst mode (patch 2) could be a regression for platforms that currently work with burst mode. The commit message for patch 2 is honest about this ("depending on the host controller implementation") but doesn't explain why non-burst mode is universally correct. This is worth scrutiny from the maintainers.

Overall: Patch 1 is clearly correct. Patch 2 is reasonable but more debatable.

---
Generated by Claude Code Patch Reviewer

      parent reply	other threads:[~2026-05-28  2:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-27  8:57 [PATCH v4 0/2] drm: bridge: ti-sn65dsi83: Fix DSI mode flags for stable LVDS output Sudarshan Shetty
2026-05-27  8:57 ` [PATCH v4 1/2] drm: bridge: ti-sn65dsi83: Remove NO_HFP and NO_HBP mode flags for LVDS stability Sudarshan Shetty
2026-05-28  2:36   ` Claude review: " Claude Code Review Bot
2026-05-27  8:57 ` [PATCH v4 2/2] drm: bridge: ti-sn65dsi83: Disable video burst mode " Sudarshan Shetty
2026-05-28  2:36   ` Claude review: " Claude Code Review Bot
2026-05-28  2:36 ` Claude Code Review Bot [this message]

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-20260527085736.920390-1-tessolveupstream@gmail.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