Skip to content

The COMP_CMD_SET_DATA requires max. length acknowledge message from DSP #477

Closed

Description

@singalsu

Also it looks like the command also uses maximum length (384) for sent data even if the set data payload is much smaller. The set data IPC could be enhanced to be more efficient.

Activity

  1. added
    enhancement
    on Dec 20, 2018
  2. changed the title [-]The COMP_CMD_SET_DATA requires max. length response acknowledge from DSP[/-] [+]The COMP_CMD_SET_DATA requires max. length acknowledge message from DSP[/+] on Dec 20, 2018
  3. plbossart commented on Dec 20, 2018

    @plbossart
    Member

    @singalsu would you mind clarifying what the problem is and what you are looking for? is this an IPC change or just a change on the kernel side?

  4. singalsu commented on Dec 20, 2018

    @singalsu
    CollaboratorAuthor

    If the usage of always max. size IPC is confirmed (the header size field is always 384 for EQs data with checks for it enforced, I noticed this due to the IPC size check bug) then just as kernel change by using as size the actual payload size + headers size would be a first improvement to reduce IPC traffic.

    If we would optimize that response from firmware does not need to the same length but just sufficient to report back success it would optimize the traffic even more. But that would be an IPC change. Maybe not for ABI header files but for the usage of them.

  5. ranj063 commented on Dec 20, 2018

    @ranj063
    Collaborator

    @plbossart this would not require any ipc change but just an appropriate reply size set for the command so that the DSP isnt sending the entire chunk back to the host.

  6. singalsu commented on Jun 14, 2019

    @singalsu
    CollaboratorAuthor

    I will start working with this after my vacation in end of June. This is related to Linux #753 and PR #890.

  7. singalsu commented on Jan 14, 2020

    @singalsu
    CollaboratorAuthor

    Not sure this is valid any more. I need to re-check and close this if such no more happens.

  8. lgirdwood commented on Jan 14, 2020

    @lgirdwood
    Member

    @singalsu MAX IPC size has been recently updated too, best to check its in both FW and SW.

  9. self-assigned this
    on Jan 15, 2020
  10. singalsu commented on Feb 15, 2021

    @singalsu
    CollaboratorAuthor

    I don't think this issue is relevant any more. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions