From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: dmem: only check for dmem availability once Date: Sat, 16 May 2026 12:42:33 +1000 Message-ID: In-Reply-To: <20260512215156.4083082-8-cascardo@igalia.com> References: <20260512215156.4083082-1-cascardo@igalia.com> <20260512215156.4083082-8-cascardo@igalia.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review Straightforward refactoring. Moving the `igt_cgroup_dmem_available()` check to the top-level fixture means it runs once instead of per-test, which is correct since the controller availability doesn't change during a test run. **Minor style:** Extra blank line before the closing `}` of the fixture block: ```c igt_require_f(igt_cgroup_dmem_available(), "dmem cgroup controller not available ...\n"); } /* <-- blank line above */ ``` --- Generated by Claude Code Patch Reviewer