From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/vblank: Extract get_vblank_counter_and_timestamp() Date: Wed, 25 Mar 2026 07:15:59 +1000 Message-ID: In-Reply-To: <20260323213645.10965-1-ville.syrjala@linux.intel.com> References: <20260323213645.10965-1-ville.syrjala@linux.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: drm/vblank: Extract get_vblank_counter_and_timestamp() Author: Ville Syrjala Patches: 2 Reviewed: 2026-03-25T07:15:59.433526 --- This is a single-patch cleanup that extracts a repeated "read vblank counter and timestamp in a retry loop" pattern from three call sites in `drm_vblank.c` into a new helper function `get_vblank_counter_and_timestamp()`. The refactoring is straightforward, correct, and reduces code duplication. There is one minor semantic difference worth noting but it is harmless. **Verdict: Looks good.** Clean, simple refactoring. --- Generated by Claude Code Patch Reviewer