Commit 491bc1c
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 for 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 copied 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 have 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 65b2764 commit 491bc1c
1 file changed
+33
-0
lines changed| 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 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
999 | 1029 | | |
1000 | 1030 | | |
1001 | 1031 | | |
| |||
1154 | 1184 | | |
1155 | 1185 | | |
1156 | 1186 | | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
1157 | 1190 | | |
1158 | 1191 | | |
1159 | 1192 | | |
| |||
0 commit comments