-
Notifications
You must be signed in to change notification settings - Fork 350
EQ: Update IPC to deliver parameters in component creation #358
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
Conversation
|
Can one of the admins verify this patch? |
singalsu
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.
Code looks OK to me and this has been tested to work.
|
@lgirdwood I will need to update FIR memory allocation and cache invalidate functions like done for IIR but better to get this PR merged first. The update will reduce the amount of malloc() - free() calls during the life cycle of FIR EQ component. Kernel side EQ IPC has been just merged so we have an IPC incompatibility until this is merged. |
src/include/uapi/ipc.h
Outdated
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.
Will this ever be negative ?
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.
no. so changin to uint32.
src/include/uapi/ipc.h
Outdated
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.
SOF_EFFECT_NONE
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.
ok
Update iir and fir to get parameters at the creation time from ipc message. Parameters are originally sent from user space as part of the topology. Also update ipc.h with data members for iir and fir struct. Signed-off-by: Jaska Uimonen <[email protected]>
|
@lgirdwood updated pr. you probably want the same changes to kernel sof ipc header? I'm not totally sure how these are synced, but will make the same mods there... |
|
@lgirdwood, corresponding kernel pr: thesofproject/linux#161 |
Update iir and fir to get parameters at the creation time from ipc
message. Parameters are originally sent from user space as part
of the topology.
Also update ipc.h with data members for iir and fir struct.
Signed-off-by: Jaska Uimonen [email protected]