In case topology provides NHLT configuration, use it instead of relying on the table in ACPI tree. Only gateway-related modules e.g.: Copier care about the process. For those the order of fetching for hardware configuration becomes: 1) check if NHLT override is set, 2) check if NHLT descriptor override is set, 3) use NHLT from ACPI directly Such approach ensures no conflicts exist between 1) and 2) and that 1) always takes precedence.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -125,6 +125,7 @@ enum avs_tplg_token { · 124 unmodified lines | ||
| 125 | 125 | AVS_TKN_MOD_KCONTROL_ID_U32 = 1707, |
| 126 | 126 | AVS_TKN_MOD_INIT_CONFIG_NUM_IDS_U32 = 1708, |
| 127 | 127 | AVS_TKN_MOD_INIT_CONFIG_ID_U32 = 1709, |
| 128 | + AVS_TKN_MOD_NHLT_CONFIG_ID_U32 = 1710, | |
| 128 | 129 | |
| 129 | 130 | /* struct avs_tplg_path_template */ |
| 130 | 131 | AVS_TKN_PATH_TMPL_ID_U32 = 1801, |