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

sof-test: read /proc instead of parsing TPLG file for legacy HDA platforms #430

Merged
merged 6 commits into from
Nov 5, 2020

Commits on Oct 23, 2020

  1. tools: move shared python functions to common.py

    No functional change, only move code here and there,
    and add some comment.
    
    Signed-off-by: Amery Song <chao.song@intel.com>
    Amery Song committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    0952b96 View commit details
    Browse the repository at this point in the history
  2. tools: rename func_dump_pipeline and func_export_pipeline

    This patch renames func_dump_pipeline to format_pipeline,
    and renames func_export_pipeline to export_pipeline.
    
    Signed-off-by: Amery Song <chao.song@intel.com>
    Amery Song committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    796de48 View commit details
    Browse the repository at this point in the history
  3. sof-dump-status: dump pipeline info from proc for legacy HDA

    To reuse test cases from sof-test repo, we need to
    dump pipeline info from proc, just like dump pipeline
    info from topology on SOF platform.
    
    As there is no format/channel/rate information in proc,
    we hard code some default format/channel/rate values,
    this should be enough for legacy HDA platform test.
    
    Signed-off-by: Amery Song <chao.song@intel.com>
    Amery Song committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    d1210f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. sof-dump-status: add a type filter for proc pipeline

    We don't need a complex filter for proc pipeline
    as topology pipeline does. So a simple type filter
    for proc pipeline is implemented in this patch.
    
    This makes it possible for some test cases to run
    under legacy HDA platform without any script change.
    
    Signed-off-by: Amery Song <chao.song@intel.com>
    Amery Song committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    2f9eb1b View commit details
    Browse the repository at this point in the history
  2. lib.sh: add is_sof_used function

    This patch adds is_sof_used function to check
    we are running test on SOF platform or legacy
    HDA platform.
    
    Signed-off-by: Amery Song <chao.song@intel.com>
    Amery Song committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    7af5c7c View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. pipeline.sh: export proc pipeline info to test case

    Signed-off-by: Amery Song <chao.song@intel.com>
    Amery Song committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    f0314fa View commit details
    Browse the repository at this point in the history