mirror of https://github.com/thesofproject/sof.git
fw_ready: add D3_PERSISTENT to indicate if restoring from D3 supported
Add flag SOF_IPC_INFO_D3_PERSISTENT to inform host driver if the IMR restore feature is supported to the fw_ready message, then the host driver can decide whether to choose it or not. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
parent
1af8ba0d1c
commit
f79bbb296d
|
@ -33,6 +33,7 @@
|
|||
#define SOF_IPC_INFO_LOCKS BIT(1)
|
||||
#define SOF_IPC_INFO_LOCKSV BIT(2)
|
||||
#define SOF_IPC_INFO_GDB BIT(3)
|
||||
#define SOF_IPC_INFO_D3_PERSISTENT BIT(4)
|
||||
|
||||
/* extended data types that can be appended onto end of sof_ipc_fw_ready */
|
||||
enum sof_ipc_ext_data {
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
/** \brief SOF ABI version major, minor and patch numbers */
|
||||
#define SOF_ABI_MAJOR 3
|
||||
#define SOF_ABI_MINOR 18
|
||||
#define SOF_ABI_PATCH 1
|
||||
#define SOF_ABI_MINOR 19
|
||||
#define SOF_ABI_PATCH 0
|
||||
|
||||
/** \brief SOF ABI version number. Format within 32bit word is MMmmmppp */
|
||||
#define SOF_ABI_MAJOR_SHIFT 24
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
SOF_IPC_INFO_BUILD | \
|
||||
(IS_ENABLED(CONFIG_DEBUG_LOCKS) ? SOF_IPC_INFO_LOCKS : 0) | \
|
||||
(IS_ENABLED(CONFIG_DEBUG_LOCKS_VERBOSE) ? SOF_IPC_INFO_LOCKSV : 0) | \
|
||||
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) \
|
||||
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) | \
|
||||
(IS_ENABLED(CONFIG_CAVS) ? SOF_IPC_INFO_D3_PERSISTENT : 0) \
|
||||
)
|
||||
|
||||
/* dump file and line to start of mailbox or shared memory */
|
||||
|
@ -126,7 +127,8 @@
|
|||
( \
|
||||
(IS_ENABLED(CONFIG_DEBUG_LOCKS) ? SOF_IPC_INFO_LOCKS : 0) | \
|
||||
(IS_ENABLED(CONFIG_DEBUG_LOCKS_VERBOSE) ? SOF_IPC_INFO_LOCKSV : 0) | \
|
||||
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) \
|
||||
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) | \
|
||||
(IS_ENABLED(CONFIG_CAVS) ? SOF_IPC_INFO_D3_PERSISTENT : 0) \
|
||||
)
|
||||
|
||||
#define dbg() do {} while (0)
|
||||
|
|
Loading…
Reference in New Issue