sof icon indicating copy to clipboard operation
sof copied to clipboard

[FEATURE] Update and remove passthrough definitions

Open cujomalainey opened this issue 4 years ago • 11 comments

some components have outdated manual copy code, we need to clean these up with the new audio_stream_copy function.

Current spotted ones are:

  • Crossover This works because the definition of audio_stream_copy does not include updating the buffer r/w
  • IGO NR module not entirely necessary, just would allow a bypass of the whole interleave/deinterleave logic

I will need to see if there are any others but a quick search for "passthrough" yielded the above results.

cujomalainey avatar Jul 13 '21 22:07 cujomalainey

@cujomalainey @johnylin76 @fuyuntsuo Cleaning up our milestone 1.9 leftovers and this got picked in the filter. It seems this would be still valid. I'll bump it to v2.6 for now.

kv2019i avatar Feb 15 '23 19:02 kv2019i

@andrula-song @singalsu I assume all modules now using optimal copy/processing API/loops now. Can we close ?

lgirdwood avatar May 10 '23 21:05 lgirdwood

@lgirdwood The crossover and igo_nr are still using the read/write frag function in a MCPS expensive way. We will convert both to module adapter in this Q2 that will address this issue too.

singalsu avatar May 15 '23 10:05 singalsu

Moving to v2.7 for the remaining items to be addressed.

alex-cri avatar May 30 '23 18:05 alex-cri

@singalsu @andrula-song any update, I guess most modules now optimized, can we close ?

lgirdwood avatar Jul 04 '23 15:07 lgirdwood

checked the code, igo_nr still not converted to module_adapter interface. I am afraid we can not close it now.

andrula-song avatar Jul 05 '23 01:07 andrula-song

Thanks @andrula-song . For IGO_NR we have a draft for module conversion, but that won't make it to v2.8, so let me that that PR for v2.9 and push feature as well. Draft at https://github.com/thesofproject/sof/pull/8301

kv2019i avatar Nov 29 '23 09:11 kv2019i

@andrula-song @singalsu IGO_NR is now converted to module interface, #8301 is merged as well. Can we close?

kv2019i avatar Mar 04 '24 13:03 kv2019i

@kv2019i IGO_NR is now OK, but crossover isn't. The module conversion is done but there was no need to touch the processing core functions. It would be a separate work item from us.

singalsu avatar Mar 13 '24 12:03 singalsu

@singalsu whats remaining effort for crossover ?

lgirdwood avatar Apr 17 '24 12:04 lgirdwood

v2.10 cut @singalsu @lgirdwood , crossover still open, moving to 2.11.

kv2019i avatar Jun 05 '24 09:06 kv2019i

Feature cutoff for v2.12 today, what's the status with cross-over?

kv2019i avatar Dec 13 '24 11:12 kv2019i

sorry for the late reply, uploaded #9726 for review

johnylin76 avatar Dec 16 '24 03:12 johnylin76

Thanks all, with crossover converted, we can finally close this.

kv2019i avatar Jan 03 '25 10:01 kv2019i