[alsa-devel] [PATCH] ASoC: dapm: Use less aggressive caching to ensure correctness

Mark Brown broonie at kernel.org
Wed Nov 14 01:26:12 CET 2018


On Wed, Nov 07, 2018 at 12:03:06PM +0800, Tzung-Bi Shih wrote:

Please don't top post, reply in line with needed context.  This allows
readers to readily follow the flow of conversation and understand what
you are talking about and also helps ensure that everything in the
discussion is being addressed.

> The second one is forcing to recalculate the graph at the bottom of
> snd_soc_instantiate_card() by additionally calling
> dapm_mark_endpoints_dirty().  It would waste some computing power by
> comparing with the first idea but it would be also simpler than the
> first one.

As we just discussed in person this is probably the best option - it's
what we used to have (or were supposed to have, but I'm fairly sure I
remember writing the code), I'm guessing it's gone AWOL during all the
refactorings for componentization.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20181113/c0fa68e1/attachment.sig>


More information about the Alsa-devel mailing list