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: 6.12 and below: amdgpu: fix panic with SI and DC
Date: Mon, 23 Feb 2026 06:01:56 +1000	[thread overview]
Message-ID: <review-overall-20260221034402.69537-1-rosenp@gmail.com> (raw)
In-Reply-To: <20260221034402.69537-1-rosenp@gmail.com>

Overall Series Review

Subject: 6.12 and below: amdgpu: fix panic with SI and DC
Author: Rosen Penev <rosenp@gmail.com>
Patches: 12
Reviewed: 2026-02-23T06:01:56.568456

---

This is a 2-patch stable-only series requesting reverts of two commits in `si_dpm.c` that added high-pixelclock workarounds for Southern Islands GPUs. The author reports that these commits cause kernel panics on AMD 7750 when booting with `amdgpu.dc=1` on stable kernels older than 6.18. The root cause appears to be that the added code accesses `adev->mode_info.crtcs[i]->connector` via `to_amdgpu_connector()`, which is presumably invalid or NULL under the DC codepath on these older kernels. In 6.17+, further commits reworked this code to use `display_cfg` instead, fixing the issue, but those changes are too involved to backport cleanly.

The code changes themselves are mechanically correct -- they are clean `git revert` outputs that leave the code in a compilable and functional state. The main issues are with the commit messages, which Greg KH has already flagged on the list. Patch 1 has no explanation at all for why the revert is needed, and patch 2 has typos and doesn't specify which stable branches are affected. The submitter has acknowledged a v2 is needed.

One observation worth noting: patch 1 alone does not fix the crash. The offending connector access remains until patch 2 removes it. Between patches 1 and 2, the kernel is still broken when using DC on SI. While this is acceptable for a revert series (individual patches don't need to be independently useful if they're always applied together), it's worth mentioning since this is going into stable.

---
Generated by Claude Code Patch Reviewer

      parent reply	other threads:[~2026-02-22 20:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-21  3:44 [PATCH 0/2] 6.12 and below: amdgpu: fix panic with SI and DC Rosen Penev
2026-02-21  3:44 ` [PATCH 1/2] Revert "drm/amd/pm: Disable MCLK switching on SI at high pixel clocks" Rosen Penev
2026-02-21  5:40   ` Greg KH
2026-02-21  5:54     ` Rosen Penev
2026-02-21  6:33       ` Greg KH
2026-02-22 20:01   ` Claude review: " Claude Code Review Bot
2026-02-21  3:44 ` [PATCH 2/2] Revert "drm/amd/pm: Disable SCLK switching on Oland with high pixel clocks (v3)" Rosen Penev
2026-02-21  5:41   ` Greg KH
2026-02-21  5:52     ` Rosen Penev
2026-02-21  6:33       ` Greg KH
2026-02-21  8:48         ` Rosen Penev
2026-02-22 20:01   ` Claude review: " Claude Code Review Bot
2026-02-21  5:41 ` [PATCH 0/2] 6.12 and below: amdgpu: fix panic with SI and DC Greg KH
2026-02-21  5:55   ` Rosen Penev
2026-02-22 20:01 ` 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-20260221034402.69537-1-rosenp@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