Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/audio/base_fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,10 @@ __cold static int basefw_set_large_config(struct comp_dev *dev, uint32_t param_i
assert_can_be_cold();

switch (param_id) {
case IPC4_ASTATE_TABLE:
/* Trivial handler due to an empty Astate Table requested in get_large_config */
STATIC_ASSERT(IPC4_MAX_CLK_STATES == 0, IPC4_NON_ZERO_ASTATE_UNSUPPORTED);
return IPC4_SUCCESS;
case IPC4_DMA_CONTROL:
return basefw_dma_control(first_block, last_block, data_offset, data);
case IPC4_PERF_MEASUREMENTS_STATE:
Expand Down
7 changes: 4 additions & 3 deletions src/include/ipc4/base_fw.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
#ifndef __SOF_IPC4_BASE_FW_H__
#define __SOF_IPC4_BASE_FW_H__

/* Three clk src states :low power XTAL, low power ring
* and high power ring oscillator
/* SOF FW performs autonomous management of clock sources.
* Set MAX_CLK_STATES to 0 in order to propagate this information through IPC and thus
* prevent reception of unsupported clock configuration.
*/
#define IPC4_MAX_CLK_STATES 3
#define IPC4_MAX_CLK_STATES 0

/* Max src queue count count supported by ipc4 */
#define IPC4_MAX_SRC_QUEUE 8
Expand Down
Loading