[PATCH] drm/nouveau: select FW caching

Dave Airlie airlied at gmail.com
Wed Feb 19 01:52:53 UTC 2025


On Wed, 19 Feb 2025 at 07:39, Luis Chamberlain <mcgrof at kernel.org> wrote:
>
> On Tue, Feb 18, 2025 at 06:24:43PM +0100, Danilo Krummrich wrote:
> > On Tue, Feb 18, 2025 at 06:28:53AM -0800, Luis Chamberlain wrote:
> > >
> > > What I recommend is to look into why we disable it by default, I think
> >
> > I think FW_CACHE is enabled by default, no?
> >
> > > its sold old obscure reasoning but now suspect it was udev being dumb,
> > > in line with why we also try to defensively try to ignore duplicate
> > > udev requests for module requests causing a flood. Refer to commit
> > > 9b9879fc03275ff ("modules: catch concurrent module loads, treat them as
> > > idempotent") for details.
> >
> > Thanks, that helps a lot.
> >
> > Given that this commit landed in v6.5
>
> That commit lets us ignore the udev floods for superfluous module
> requests only.
>
> > I guess there's not really a concern to
> > force enable FW_CACHE for Nouveau as a fix for commit 176fdcbddfd2
> > ("drm/nouveau/gsp/r535: add support for booting GSP-RM"), which landed in v6.7.
>
> I'd recommmend to look into *why* folks didn't like fw cache to look at
> disabling it in the first place, and look and see if udev was acting up
> and doing stupid things preventing suspend.

This has been on in Fedora for ever, Linus said it was originally on
by default and Greg thinks Android folks had a regression, I don't
think the intersections of nouveau and platforms which had problems a
long time ago is interesting enough to care,

All distros should enable this, it fixes problems, if Android finds a
regression with nouveau it'll bisect to here.

Dave.
>
>  Luis


More information about the Nouveau mailing list