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/amdgpu: Replace VKMS vblank timer with common implementation
Date: Thu, 23 Apr 2026 09:48:28 +1000	[thread overview]
Message-ID: <review-overall-20260420125223.234974-1-tzimmermann@suse.de> (raw)
In-Reply-To: <20260420125223.234974-1-tzimmermann@suse.de>

Overall Series Review

Subject: drm/amdgpu: Replace VKMS vblank timer with common implementation
Author: Thomas Zimmermann <tzimmermann@suse.de>
Patches: 2
Reviewed: 2026-04-23T09:48:28.476506

---

This is a single patch from Thomas Zimmermann that replaces amdgpu's custom VKMS vblank timer implementation with the shared DRM vblank helper infrastructure (`DRM_CRTC_VBLANK_TIMER_FUNCS` / `DRM_CRTC_HELPER_VBLANK_FUNCS`). The conversion is straightforward and correct. The shared helpers in `drm_vblank_helper.c` and `drm_vblank.c` provide equivalent functionality with improved robustness — particularly around deadlock avoidance in the cancel path and race handling in the timestamp function. The patch is a net deletion of ~120 lines, which is a strong positive.

The conversion looks functionally correct. The shared implementation handles the same cases as the removed code, with several improvements in the details. There is one minor cleanup opportunity worth noting.

**Verdict: Looks good overall. One minor nit about leftover dead fields.**

---

---
Generated by Claude Code Patch Reviewer

      parent reply	other threads:[~2026-04-22 23:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-20 12:51 [PATCH] drm/amdgpu: Replace VKMS vblank timer with common implementation Thomas Zimmermann
2026-04-20 14:28 ` Alex Deucher
2026-04-22 23:48 ` Claude review: " Claude Code Review Bot
2026-04-22 23:48 ` 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-20260420125223.234974-1-tzimmermann@suse.de \
    --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