Skip to content

Conversation

@juimonen
Copy link

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]

@FocusLuo
Copy link

Can one of the admins verify this patch?

@singalsu singalsu self-requested a review September 25, 2018 08:11
Copy link
Collaborator

@singalsu singalsu left a 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.

@singalsu
Copy link
Collaborator

singalsu commented Sep 25, 2018

@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.

Copy link
Member

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 ?

Copy link
Author

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOF_EFFECT_NONE

Copy link
Author

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]>
@juimonen
Copy link
Author

@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...

@juimonen
Copy link
Author

@lgirdwood, corresponding kernel pr: thesofproject/linux#161

@lgirdwood lgirdwood merged commit 70068a1 into thesofproject:master Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants