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/tyr: add shmem backing for GEM objects Date: Tue, 03 Mar 2026 12:48:19 +1000 Message-ID: In-Reply-To: <20260302232500.244489-7-deborah.brouwer@collabora.com> References: <20260302232500.244489-1-deborah.brouwer@collabora.com> <20260302232500.244489-7-deborah.brouwer@collabora.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Patch Review **Author:** Deborah Brouwer / Boris Brezillon Adds `BoCreateArgs` with a `flags` field and updates `BoData` accordingly. = Currently `flags` is stored but not used beyond creation. ```rust +pub(crate) struct BoCreateArgs { + flags: u32, +} ``` The `flags` field is `pub(crate)` on the struct but the field itself is pri= vate (no `pub`). This means only code within `gem.rs` can construct a `BoCr= eateArgs`. Since `KernelBo::new()` (added later in patch 10) constructs it = with `flags: 0`, and the firmware loader also uses `flags: 0`, this is fine= for now but will need adjustment when userspace BO creation is added. The = `flags` field on `BoData` is also unused currently =E2=80=94 acceptable for= scaffolding. No blocking issues. --- Generated by Claude Code Patch Reviewer