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: Some updates over DP AUX Transactions
Date: Tue, 10 Mar 2026 12:41:15 +1000	[thread overview]
Message-ID: <review-overall-20260309-dp_aux_timeout-v1-0-08c610a63a84@intel.com> (raw)
In-Reply-To: <20260309-dp_aux_timeout-v1-0-08c610a63a84@intel.com>

Overall Series Review

Subject: Some updates over DP AUX Transactions
Author: Arun R Murthy <arun.r.murthy@intel.com>
Patches: 6
Reviewed: 2026-03-10T12:41:15.829415

---

This RFC series attempts to address DP AUX transaction timeouts by (1) adding a helper to wake a sleeping sink, (2) calling it on timeout, and (3) refactoring `get_aux_send_ctl` from returning a value to directly programming the register via RMW. The series has several significant issues:

- **Patch 1** has a misuse of `poll_timeout_us` (using `ret` for two purposes simultaneously) and questionable wake logic.
- **Patch 2** is reasonable in intent but the wake call inside the retry loop may cause excessive delays.
- **Patch 3** is the most problematic: it fundamentally changes the `get_aux_send_ctl` abstraction from a pure value-returning function to one with side effects (writing to hardware registers), and the PSR changes are broken.

The stated motivation of avoiding touching the AUX power request bit (bit 19) is valid, but the approach is overly invasive and introduces multiple bugs. A simpler approach would be to keep the existing abstraction and just mask off / preserve the power request bit in the caller.

---

---
Generated by Claude Code Patch Reviewer

      parent reply	other threads:[~2026-03-10  2:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-09  7:29 [PATCH RFC 0/3] Some updates over DP AUX Transactions Arun R Murthy
2026-03-09  7:29 ` [PATCH RFC 1/3] drm/display/dp: Export function to wake the sink AUX_CH Arun R Murthy
2026-03-10  2:41   ` Claude review: " Claude Code Review Bot
2026-03-09  7:29 ` [PATCH RFC 2/3] drm/i915/dp: On AUX_CH tx timeout, wake up the sink Arun R Murthy
2026-03-10  2:41   ` Claude review: " Claude Code Review Bot
2026-03-09  7:29 ` [PATCH RFC 3/3] drm/i915/dp: Configure PORT_AUX_CTL and then trigger the tx Arun R Murthy
2026-03-09 13:09   ` Jani Nikula
2026-03-09 13:20     ` Murthy, Arun R
2026-03-10  2:41   ` Claude review: " Claude Code Review Bot
2026-03-10  2:41 ` 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-20260309-dp_aux_timeout-v1-0-08c610a63a84@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