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/amdgpu: optimize psp_copy_fw() Date: Tue, 26 May 2026 07:30:33 +1000 Message-ID: In-Reply-To: References: 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/amdgpu: optimize psp_copy_fw() Author: Christophe JAILLET Patches: 1 Reviewed: 2026-05-26T07:30:33.539468 --- This is a single-patch series that replaces a `memset` + `memcpy` pair with `memcpy_and_pad()` in `psp_copy_fw()`. The transformation is correct and uses an existing kernel helper designed for exactly this pattern. The optimization avoids writing the first `bin_size` bytes of the buffer twice (once by the `memset`, then again by the `memcpy`). **Verdict: Patch looks good.** --- Generated by Claude Code Patch Reviewer