From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: Some updates over DP AUX Transactions Date: Tue, 10 Mar 2026 12:41:15 +1000 Message-ID: In-Reply-To: <20260309-dp_aux_timeout-v1-0-08c610a63a84@intel.com> References: <20260309-dp_aux_timeout-v1-0-08c610a63a84@intel.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Overall Series Review Subject: Some updates over DP AUX Transactions Author: Arun R Murthy 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