Re: [PATCH v9 26/31] gpu: nova-core: make WPR heap sizing fallible
From: John Hubbard
Date: Tue Apr 07 2026 - 23:03:03 EST
On 4/7/26 6:53 PM, Alexandre Courbot wrote:
> On Thu Mar 26, 2026 at 10:38 AM JST, John Hubbard wrote:
>> Make management_overhead() fail on multiplication or alignment
>> overflow instead of silently saturating. Propagate that failure through
>> wpr_heap_size() and the framebuffer layout code that consumes it.
>>
>> This is not Blackwell-specific, so keep it separate from the larger WPR2
>> heap change that follows.
>>
>> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
>
> This looks completely independent from the series. Staging it for
> merging when drm-rust-next reopens as this is clearly correct.
OK.
thanks,
--
John Hubbard