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: dw_hdmi: Misc enable/disable, CEC and EDID cleanup
Date: Tue, 05 May 2026 07:58:54 +1000	[thread overview]
Message-ID: <review-overall-20260504191059.275928-1-jonas@kwiboo.se> (raw)
In-Reply-To: <20260504191059.275928-1-jonas@kwiboo.se>

Overall Series Review

Subject: drm: bridge: dw_hdmi: Misc enable/disable, CEC and EDID cleanup
Author: Jonas Karlman <jonas@kwiboo.se>
Patches: 19
Reviewed: 2026-05-05T07:58:54.413382

---

This is a well-structured 17-patch cleanup series for the Synopsys DesignWare HDMI bridge driver (`dw-hdmi.c`). The series systematically simplifies the HPD/RXSENSE interrupt handling, moves power on/off into the atomic bridge callbacks, eliminates stale state tracking (`bridge_is_on`, `previous_mode`, `rxsense`, `sink_is_hdmi`, `sink_has_audio`), switches CEC notifier handling to use the generic CEC helpers, and introduces debounced HPD processing via `delayed_work`.

The overall direction is excellent — the driver becomes significantly simpler (net -183 lines), and the changes align with how the DRM bridge infrastructure expects things to work. Each patch is well-scoped and the commit messages are clear and well-written with good rationale.

Most patches carry Reviewed-by tags already. The new v4 patches (12, 13, 14, 15, 16, 17) do not yet have reviews, and these are the ones that deserve the most scrutiny.

I have a few observations and one concern:

**Main concern**: Patch 14 (RXSENSE rework) removes the `force` field from `struct dw_hdmi` and the `disabled` field, but patch 10 (which applies earlier) still writes to `hdmi->force` in `dw_hdmi_connector_force()`. This looks like a build-breaking ordering dependency — patch 10 assigns `hdmi->force` but patch 14 removes the field. The intermediary patches (11, 12, 13) don't appear to remove the `force` usage. This needs to be verified carefully — the mbox ordering doesn't exactly match patch numbering so I may be misreading the incremental diffs, but if the `force` field is accessed after it's removed, that's a compile error.

**Minor observations** are noted per-patch below.

---
Generated by Claude Code Patch Reviewer

      parent reply	other threads:[~2026-05-04 21:58 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-04 19:10 [PATCH v4 00/17] drm: bridge: dw_hdmi: Misc enable/disable, CEC and EDID cleanup Jonas Karlman
2026-05-04 19:10 ` [PATCH v4 01/17] drm: bridge: dw_hdmi: Disable scrambler feature when not supported Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 02/17] drm: bridge: dw_hdmi: Only notify connected status on HPD interrupt Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 03/17] drm: bridge: dw_hdmi: Call poweron/poweroff from atomic enable/disable Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 04/17] drm: bridge: dw_hdmi: Use passed mode instead of stored previous_mode Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 05/17] drm: bridge: dw_hdmi: Fold poweron and setup functions Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 06/17] drm: bridge: dw_hdmi: Remove previous_mode and mode_set Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 07/17] drm: bridge: dw_hdmi: Invalidate CEC phys addr from connector detect Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 08/17] drm: bridge: dw_hdmi: Remove cec_notifier_mutex Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 09/17] drm: bridge: dw_hdmi: Extract dw_hdmi_connector_status_update() Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 10/17] drm: bridge: dw_hdmi: Use dw_hdmi_connector_status_update() Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 11/17] drm: bridge: dw_hdmi: Use display_info is_hdmi and has_audio Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 12/17] drm: bridge: dw_hdmi: Use generic CEC notifier helpers Jonas Karlman
2026-05-04 21:21   ` Neil Armstrong
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 13/17] drm: bridge: dw_hdmi: Use delayed_work to debounce hotplug event Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 14/17] drm: bridge: dw_hdmi: Rework HDP and RXSENSE interrupt handling Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 15/17] drm: bridge: dw_hdmi: Remove the empty dw_hdmi_setup_rx_sense() Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 16/17] drm: bridge: dw_hdmi: Remove the empty dw_hdmi_phy_update_hpd() Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 19:10 ` [PATCH v4 17/17] drm: bridge: dw_hdmi: Merge top and bottom half IRQ handlers Jonas Karlman
2026-05-04 21:58   ` Claude review: " Claude Code Review Bot
2026-05-04 21:58 ` 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-20260504191059.275928-1-jonas@kwiboo.se \
    --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