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

lnl: sndw: use HDA DMA to transfer stream data #8361

Merged
merged 4 commits into from
Jan 29, 2024

Commits on Jan 26, 2024

  1. tlv: add tlv_value_ptr_get() function

    Add function which retrieves pointer to the TLV structure value
    of the specified type
    
    Signed-off-by: Ievgen Ganakov <ievgen.ganakov@intel.com>
    iganakov committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    6d952e5 View commit details
    Browse the repository at this point in the history
  2. ipc4: add host_dma_config array

    Add host_dma_config array to be able to keep multiple
    DMA tlv pointers. This change is needed to enable SNDW
    FW aggregation using HD-A DMA on LNL
    
    Signed-off-by: Ievgen Ganakov <ievgen.ganakov@intel.com>
    iganakov committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    791c163 View commit details
    Browse the repository at this point in the history
  3. ipc4: add helper function to parse dma config

    Add helper function to parse muiltiple DMA config tlv structures
    added to copier Init Instance IPC in case of SNDW FW aggregation.
    
    To be able to find correct config we need to iterate over the
    sequence of DMA tlv with the same tlv type. Thus, we need to check
    if device_address value (which contains PDI) is equal to device_id
    parameter (passed with alh_id value).
    
    Signed-off-by: Ievgen Ganakov <ievgen.ganakov@intel.com>
    iganakov committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    0785ac6 View commit details
    Browse the repository at this point in the history
  4. copier: dai: use HD-A dai to configure soundwire on LNL

    Since LNL soundwire uses HD-A DMA to transfer data. Add LNL specific
    configuration to select HD-A DMA in case of SoundWire audio interface.
    Refactor copier dai code for sndw/alh node id type.
    
    Add support for sndw link aggregation mode for LNL platform based on
    DMA config being sent during Copier Init Instance IPC.
    
    Signed-off-by: Ievgen Ganakov <ievgen.ganakov@intel.com>
    iganakov committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    3787071 View commit details
    Browse the repository at this point in the history