For D0i3, we need to tell DSP to run the pipelines in LP mode. This information is kept in topology and passed to driver as an attribute for pipe. So add a new tuple for lpmode and program the pipe based on value set.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -157,6 +157,8 @@ · 156 unmodified lines | |||
| 157 | * | 157 | * |
| 158 | * %SKL_TKN_STR_LIB_NAME: Specifies the library name | 158 | * %SKL_TKN_STR_LIB_NAME: Specifies the library name |
| 159 | * | 159 | * |
| 160 | * %SKL_TKN_U32_PMODE: Specifies the power mode for pipe | ||
| 161 | * | ||
| 160 | * module_id and loadable flags dont have tokens as these values will be | 162 | * module_id and loadable flags dont have tokens as these values will be |
| 161 | * read from the DSP FW manifest | 163 | * read from the DSP FW manifest |
| 162 | */ | 164 | */ |
| @@ -208,7 +210,8 @@ enum SKL_TKNS { · 45 unmodified lines | |||
| 208 | SKL_TKN_U32_PROC_DOMAIN, | 210 | SKL_TKN_U32_PROC_DOMAIN, |
| 209 | SKL_TKN_U32_LIB_COUNT, | 211 | SKL_TKN_U32_LIB_COUNT, |
| 210 | SKL_TKN_STR_LIB_NAME, | 212 | SKL_TKN_STR_LIB_NAME, |
| 211 | SKL_TKN_MAX = SKL_TKN_STR_LIB_NAME, | 213 | SKL_TKN_U32_PMODE, |
| 214 | SKL_TKN_MAX = SKL_TKN_U32_PMODE, | ||
| 212 | }; | 215 | }; |
| 213 | 216 | ||
| 214 | #endif | 217 | #endif |