[PATCH v2] drm/i915/selftest: allow larger memory allocation
Krzysztof Karas
krzysztof.karas at intel.com
Fri Mar 28 10:07:48 UTC 2025
Hi Mikołaj,
> Due to changes in allocator, the size of the allocation for
> contiguous region is not rounded up to a power-of-two and
> instead allocated as is. Thus, change the part of test that
> expected the allocation to fail.
>
> Signed-off-by: Mikolaj Wasiak <mikolaj.wasiak at intel.com>
> ---
> v1 -> v2:
> - Added negative test for too large allocation
I see that you kept the rounding in determining the sizes :)
LGTM: Reviewed-by: Krzysztof Karas <krzysztof.karas at intel.com>
Best Regards,
Krzysztof
More information about the Intel-gfx
mailing list