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/xe: Set TTM device beneficial_order to 9 (2M) Date: Thu, 23 Apr 2026 09:01:58 +1000 Message-ID: In-Reply-To: <20260421012608.1474950-3-matthew.brost@intel.com> References: <20260421012608.1474950-1-matthew.brost@intel.com> <20260421012608.1474950-3-matthew.brost@intel.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review ```c - xe->drm.vma_offset_manager, 0); + xe->drm.vma_offset_manager, + TTM_ALLOCATION_POOL_BENEFICIAL_ORDER(get_order(SZ_2M))); ``` Straightforward and correct. `get_order(SZ_2M)` returns 9 (2MB / 4KB = 512 = 2^9). The macro `TTM_ALLOCATION_POOL_BENEFICIAL_ORDER` masks to the lower 8 bits, which is fine for value 9. This correctly enables the Patch 1 behavior for Xe. The 2MB sweet spot matches the large GPU page size, which makes sense for Xe's memory management. No concerns with this patch. --- Generated by Claude Code Patch Reviewer