Re: drm/nouneau: 5.11 cycle regression bisected to 461619f5c324 "drm/nouveau: switch to new allocator"

From: Christian König
Date: Wed Feb 10 2021 - 06:52:36 EST


Please try to add a "return NULL" at the beginning of ttm_pool_type_take().

That should effectively disable using the pool.

Thanks for testing,
Christian.

Am 10.02.21 um 12:22 schrieb Mike Galbraith:
On Wed, 2021-02-10 at 11:52 +0100, Christian König wrote:

You could try to replace the "for (order = min(MAX_ORDER - 1UL,
__fls(num_pages)); num_pages;" in ttm_pool_alloc() with "for (order = 0;
num_pages;" to get the old behavior.
That's a nogo too.

-Mike