The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Christian König" <christian.koenig@amd.com>
To: Mike Galbraith <efault@gmx.de>, lkml <linux-kernel@vger.kernel.org>
Cc: nouveau@lists.freedesktop.org, Ben Skeggs <bskeggs@redhat.com>,
	Dave Airlie <airlied@redhat.com>
Subject: Re: drm/nouneau: 5.11 cycle regression bisected to 461619f5c324 "drm/nouveau: switch to new allocator"
Date: Wed, 10 Feb 2021 12:44:59 +0100	[thread overview]
Message-ID: <5df26bda-9ff8-168f-e5a3-0bb503ffcca9@amd.com> (raw)
In-Reply-To: <41cc52bd57a466f29ea81676d42f57a7b9da7dd8.camel@gmx.de>

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
>


  reply	other threads:[~2021-02-10 11:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-10 10:13 drm/nouneau: 5.11 cycle regression bisected to 461619f5c324 "drm/nouveau: switch to new allocator" Mike Galbraith
2021-02-10 10:34 ` Christian König
2021-02-10 10:40   ` Mike Galbraith
2021-02-10 10:42     ` Christian König
2021-02-10 11:06       ` Mike Galbraith
2021-02-10 10:46   ` Mike Galbraith
2021-02-10 10:52     ` Christian König
2021-02-10 11:22       ` Mike Galbraith
2021-02-10 11:44         ` Christian König [this message]
2021-02-10 12:22           ` Mike Galbraith
2021-02-10 13:26             ` Christian König
2021-02-10 15:30               ` Mike Galbraith
2021-02-10 15:34                 ` Christian König
2021-02-10 15:37                   ` Mike Galbraith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5df26bda-9ff8-168f-e5a3-0bb503ffcca9@amd.com \
    --to=christian.koenig@amd.com \
    --cc=airlied@redhat.com \
    --cc=bskeggs@redhat.com \
    --cc=efault@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox