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: Use register! macro Date: Fri, 13 Mar 2026 14:38:50 +1000 Message-ID: In-Reply-To: <20260311-b4-tyr-use-register-macro-v2-v2-0-b936d9eb8f51@collabora.com> References: <20260311-b4-tyr-use-register-macro-v2-v2-0-b936d9eb8f51@collabora.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/tyr: Use register! macro Author: Deborah Brouwer Patches: 14 Reviewed: 2026-03-13T14:38:50.900342 --- This series converts the Tyr (Rust Mali GPU) driver from hand-rolled register definitions (using a custom `Register` struct with manual bit manipulation) to the kernel's `register!` macro, which provides type-safe register and field accessors. The series is well-structured: patch 1 does the bulk conversion for GPU_CONTROL, patch 2 adds a behavioral change around coherency, patches 3 and 4 handle JOB_CONTROL and MMU_CONTROL respectively, and patch 5 cleans up the now-unused custom register struct. The register definitions are thorough and well-documented. However, there is one **critical bug** in the soft reset path where the GPU command field is not set, which would break GPU initialization. There are also several minor issues around log output format changes, incomplete documentation, and module re-export inconsistencies. --- Generated by Claude Code Patch Reviewer