Timur Tabi
2025-Oct-07 03:29 UTC
[PATCH] nouveau: add option to avoid 535 firmware in initramfs
On Tue, 2025-10-07 at 11:32 +1000, Dave Airlie wrote:> +config DRM_NOUVEAU_570_ONLY > + bool "Only support 570 firmware, don't add 535 to the initrd." > + depends on DRM_NOUVEAU > + default n > + help > +????????? Nouveau can support 535 and 570 firmwares, but that means both > +????????? will end up in initramfs, bloating it. If you can guarantee you > +????????? have the 570 in your distro or install, enable this option. > +I don't like the idea of using the specific version number in the Kconfig. Can we rename this to "DRM_NOUVEAU_LATEST_FW_ONLY" or something like that, and Nouveau automatically only supports whatever the latest version is? I know we probably won't add support for anything after 570, but we might.
Dave Airlie
2025-Oct-07 03:31 UTC
[PATCH] nouveau: add option to avoid 535 firmware in initramfs
On Tue, 7 Oct 2025 at 13:29, Timur Tabi <ttabi at nvidia.com> wrote:> > On Tue, 2025-10-07 at 11:32 +1000, Dave Airlie wrote: > > +config DRM_NOUVEAU_570_ONLY > > + bool "Only support 570 firmware, don't add 535 to the initrd." > > + depends on DRM_NOUVEAU > > + default n > > + help > > + Nouveau can support 535 and 570 firmwares, but that means both > > + will end up in initramfs, bloating it. If you can guarantee you > > + have the 570 in your distro or install, enable this option. > > + > > I don't like the idea of using the specific version number in the Kconfig. > > Can we rename this to "DRM_NOUVEAU_LATEST_FW_ONLY" or something like that, and Nouveau > automatically only supports whatever the latest version is? I know we probably won't add > support for anything after 570, but we might.We can't do that, because if we moved to 580, and distros have this option on for 570, they would fail unless they had the 580 firmware, so it needs to be versioned. Dave.