Skip to content
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

[WIP][Do no review] Tools: Testbech: Add IPC4 support #9025

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Commits on Aug 29, 2024

  1. Tools: Testbench: Temporary debug help to remove O3

    This commit will be deleted when the Testbench IPC4 work
    is non-draft.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c2929e1 View commit details
    Browse the repository at this point in the history
  2. platform: library: Add missing include task.h to ll_schedule

    This fixes build issues
    
    In file included from tools/testbench/common_test.c:5:
    src/platform/library/include/platform/lib/ll_schedule.h:22:51:
    error: ‘enum task_state’ declared inside parameter list will not
    be visible outside of this definition or declaration [-Werror]
    
    In file included from tools/testbench/common_test.c:16:
    tools/testbench/build_testbench/sof_ep/install/include/sof/
    schedule/ll_schedule.h:40:5:
    error: conflicting types for ‘schedule_task_init_ll’
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    cb69a48 View commit details
    Browse the repository at this point in the history
  3. IPC4: Add stddef.h include to define size_t

    This fixes testbench build.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    2eae600 View commit details
    Browse the repository at this point in the history
  4. IPC: IPC4: Skip ipc_wait_for_compound_msg() for CONFIG_LIBRARY

    This prevents the IPC4_FAILURE since there is no parallel
    execution in scheduler and pipelines with this IPC request
    and respond step.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    0164162 View commit details
    Browse the repository at this point in the history
  5. Audio: Pipeline: No dai_get_init_delay_ms() with CONFIG_LIBRARY

    The file module does not provide a dai_get_init_delay_ms()
    operation so it is skipped for CONFIG_LIBRARY testbench build.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    4191747 View commit details
    Browse the repository at this point in the history
  6. Audio: Crossover: Fix IPC4 testbench build

    The crossover_init_output_pins() function is changed to static.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c9918b6 View commit details
    Browse the repository at this point in the history
  7. Tools: Testbench: Convert file component to module adapter

    This is done as preparation for testbench IPC4 support. The
    update to IPC4 is simpler for a module adapter component.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    848f8b8 View commit details
    Browse the repository at this point in the history
  8. Tools: Testbech: Add IPC4 support

    This patch copies many similar changes as has been done for
    SOF plugin since split and developed further from testbench. The
    changes include:
    
        - Move tplg_ctx to under testbench_prm struct for better
          compatibility with plugin and topology parser.
        - Similarly as plugin ad to testbench_prm widget list, route list,
          pcm list and pipeline list.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e1829b0 View commit details
    Browse the repository at this point in the history
  9. Copy Ranjani's plugin leak fixes from thesofproject#9055.

    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    389a9e0 View commit details
    Browse the repository at this point in the history
  10. Tools: Testebench: Updates to run in current SOF

    Header dai-legacy.h modify to make other functions in SOF happy
    is a bit suspicious.
    
    Other changes are "normal" maintenance.
    
    Signed-off-by: Seppo Ingalsuo <[email protected]>
    singalsu committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    71aa31c View commit details
    Browse the repository at this point in the history