mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* question about firmware caching and relying on it (CONFIG_FW_CACHE)
@ 2025-02-02 20:15 Dave Airlie
  2025-02-02 20:54 ` Linus Torvalds
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Airlie @ 2025-02-02 20:15 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Linus Torvalds, LKML, dri-devel,
	Luis R. Rodriguez, russ.weight

Hi,

I'm asking to see if there is any chance of consensus on having a
driver rely on (select) FW_CACHE. Nobody currently does.

Currently FW_CACHE is an optional feature (that distros may or may not
configure off), where we will cache loaded firmwares to avoid problems
over suspend/resume (and speed up resume).

I've just discovered a problem in nouveau's suspend code when the
FW_CACHE is turned off, it tries to load a few in it's suspend path
for certain scenarios. Enabling FW_CACHE fixes this, but I'm unsure if
that is considered properly fixing it or should FW_CACHE just be
considered an optimisation.

Do I
a) select FW_CACHE in nouveau Kconfig
b) fix nouveau to avoid loading the fw at suspend time (effectively
caching it itself?)

Dave.

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

end of thread, other threads:[~2025-02-03 21:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-02 20:15 question about firmware caching and relying on it (CONFIG_FW_CACHE) Dave Airlie
2025-02-02 20:54 ` Linus Torvalds
2025-02-03  8:19   ` Greg Kroah-Hartman
2025-02-03 21:40     ` Luis Chamberlain

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

all inboxes | Powered by JetHome®