-
Notifications
You must be signed in to change notification settings - Fork 349
dai-zephyr: do not set local buffer if no process func found #7690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dai-zephyr: do not set local buffer if no process func found #7690
Conversation
|
Not sure @lyakh this helps much, but we do avoid one extra dd->local_buffer write. |
juimonen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure I understand the optimization, but looks innocent enough to me
lyakh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thanks for fixing it! But need to fix one hick up.
|
@kv2019i @juimonen Given two possibilities: and as long as the order indeed isn't important - often both will work correctly, but I think one is clearly preferable over the other and should be used whenever possible. |
Rework set_new_local_buffer() to not set dd->local_buffer multiple times. Also remove erroneous __sparse_cache attribute for "local_buf". Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
55ceca3 to
1ac1ea1
Compare
|
V2 uploaded, please review. |
|
The Intel CI System/merge/build fails to one run of "TestSrcFullScope::test_01_04_src" indicating a glitch on one platform. I don't think it can be related to this PR, but need to do another run to be sure. |
|
SOFCI TEST |
|
@kv2019i still failing CI, can you check. Thanks |
Rework set_new_local_buffer() to not set dd->local_buffer multiple times.