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/tegra: hdmi: Open-code drm_simple_encoder_init()
Date: Sat, 16 May 2026 12:11:37 +1000	[thread overview]
Message-ID: <review-overall-20260502143420.7850-1-souradiptodas6@gmail.com> (raw)
In-Reply-To: <20260502143420.7850-1-souradiptodas6@gmail.com>

Overall Series Review

Subject: drm/tegra: hdmi: Open-code drm_simple_encoder_init()
Author: Souradipto Das <souradiptodas6@gmail.com>
Patches: 2
Reviewed: 2026-05-16T12:11:37.822669

---

This mbox contains two versions of the same patch — v1 and v2 — by Souradipto Das, which open-codes `drm_simple_encoder_init()` in the tegra HDMI driver. The change is straightforward and mechanically correct: it replaces a call to a trivial helper with the underlying `drm_encoder_init()` call and a driver-local `drm_encoder_funcs` struct, removing the dependency on `drm_simple_kms_helper.h`. This is part of a broader cleanup effort suggested by Thomas Zimmermann.

The v2 patch fixes the stray blank line from v1. One minor style issue remains (missing blank line before the new struct), and the unchecked return value of `drm_encoder_init()` is carried over from the original code. The other tegra encoder drivers (rgb, dsi, sor) still use `drm_simple_encoder_init()` and have the same unchecked-return pattern, so this patch is consistent with the rest of the driver.

**Verdict:** The v2 patch is correct and suitable for merge, with one minor style nit.

---
Generated by Claude Code Patch Reviewer

  parent reply	other threads:[~2026-05-16  2:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-02 14:34 [PATCH] drm/tegra: hdmi: Open-code drm_simple_encoder_init() Souradipto Das
2026-05-13 10:05 ` [PATCH v2] " Souradipto Das
2026-05-16  2:11   ` Claude review: " Claude Code Review Bot
2026-05-16  2:11 ` Claude Code Review Bot [this message]
2026-05-16  2:11 ` 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-20260502143420.7850-1-souradiptodas6@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