Commit 682892d
committed
ipc4: handler: Add support for rx payload with LARGE_CONFIG_GET messages
Some LARGE_CONFIG_GET message includes payload to provide instructions
to the handler modules on how to fulfill the request.
The generic control messages are such examples (they are not related to
VENDOR_CONFIG_PARAM messages):
The payload from host includes the sof_ipc4_control_msg_payload struct to
describe the ID of the control fro example. Alone the type (enum, switch
or bytes) is not enough to know _which_ control's information is requested.
Similarly, the control's ID does not identify the control's type.
When such generic control message is received, the payload is coped from
hostbox to the comp_data and the handler module can inspect it before
overwriting it with the requested data.
Note: currently we don't have modules which would handle generic control
get functionality, but they would not worked, because the information was
not available to them to decide which control's data needs to be returned.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent a1d31ff commit 682892d
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
999 | 1018 | | |
1000 | 1019 | | |
1001 | 1020 | | |
| |||
1154 | 1173 | | |
1155 | 1174 | | |
1156 | 1175 | | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
1157 | 1180 | | |
1158 | 1181 | | |
1159 | 1182 | | |
| |||
0 commit comments