drm/i915/selftest: allow larger memory allocation
authorMikolaj Wasiak <mikolaj.wasiak@intel.com>
Fri, 9 May 2025 07:57:18 +0000 (09:57 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 12 May 2025 09:31:38 +0000 (11:31 +0200)
commit5dff17241483d934d8a72633fb2c2b7eaf2d91a3
tree6e251bb252996b9bebe64bc95f18019558788b65
parentff868667a4f9c6e349f4a4f0dcc3ff60d6ea8a73
drm/i915/selftest: allow larger memory allocation

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@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Krzysztof Niemiec <krzysztof.niemiec@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/fptevdfbclvg2lbfuys5ibffbl2baouywkutnr7vdsy5tzcqfk@mpflwlh6jxfd
drivers/gpu/drm/i915/selftests/intel_memory_region.c