dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* modules: firmware groups attempt two
@ 2023-07-04  2:50 Dave Airlie
  2023-07-04  2:50 ` [PATCH 1/2] docs: module: start adding some docs for MODULE_ macros Dave Airlie
  2023-07-04  2:50 ` [PATCH 2/2] modules/firmware: add a new option to denote a firmware group to choose one Dave Airlie
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Airlie @ 2023-07-04  2:50 UTC (permalink / raw)
  To: dri-devel, linux-modules

This is a second attempt at firmware grouping so we can have dracut
only pull one firmware into the initramfs instead of a bunch of legacy ones.

v1 got derailed when it was pointed out that ordering isn't consistent in
modinfo with C to sections, so that plan no longer was feasible.

This was the simplest next best option, it keeps the group tags, and
adds a new list of acceptable firmwares. New dracut will ignore legacy
firmware in favour of the list, old dracut will just read the legacy info
lines.

This is ugly because it requires duplication, but I can't think of a nice
way beyond horrible unscaleable C preprocessor tricks to make it nicer.

Dave.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-18 12:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04  2:50 modules: firmware groups attempt two Dave Airlie
2023-07-04  2:50 ` [PATCH 1/2] docs: module: start adding some docs for MODULE_ macros Dave Airlie
2023-07-04  2:50 ` [PATCH 2/2] modules/firmware: add a new option to denote a firmware group to choose one Dave Airlie
2023-07-07 18:41   ` Luis Chamberlain
2023-07-17 19:41     ` Lucas De Marchi
2023-07-18  0:52       ` David Airlie
2023-07-18 12:28         ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox