From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: accel/amdxdna: Disable device buffer exporting Date: Wed, 27 May 2026 14:20:13 +1000 Message-ID: In-Reply-To: <20260526185058.1780869-1-lizhi.hou@amd.com> References: <20260526185058.1780869-1-lizhi.hou@amd.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: accel/amdxdna: Disable device buffer exporting Author: Lizhi Hou Patches: 1 Reviewed: 2026-05-27T14:20:13.447868 --- This is a single-patch submission that explicitly disables DMA-BUF exporting for device buffer objects in the amdxdna accelerator driver. The change is small, correct, and straightforward. By setting the `.export` callback on `amdxdna_gem_dev_obj_funcs` to a function that returns `-EOPNOTSUPP`, it overrides the default fallback to `drm_gem_prime_export()` (seen in `drm_prime.c:387-390`), which would otherwise attempt to export a buffer that the driver never intends to share. The approach is the standard DRM pattern for disabling export on specific GEM object types. No issues found. --- Generated by Claude Code Patch Reviewer