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/ivpu: Test for imported buffers with drm_gem_is_imported() Date: Tue, 10 Mar 2026 12:33:19 +1000 Message-ID: In-Reply-To: <20260309092755.3165130-1-karol.wachowski@linux.intel.com> References: <20260309092755.3165130-1-karol.wachowski@linux.intel.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Overall Series Review Subject: accel/ivpu: Test for imported buffers with drm_gem_is_imported() Author: Karol Wachowski Patches: 3 Reviewed: 2026-03-10T12:33:19.397216 --- This is a straightforward, single-patch cleanup that replaces direct access= es to `obj->import_attach` with the `drm_gem_is_imported()` helper function= in the ivpu accelerator driver. The helper itself (in `drm_gem.h:646-648`)= simply does `return !!obj->import_attach`, so the semantic behavior is ide= ntical. This is a good practice =E2=80=94 using the abstraction layer inste= ad of poking at struct internals directly. The patch is **correct and ready to merge**. No functional change, no issue= s found. --- Generated by Claude Code Patch Reviewer