Skip to content

Commit f79bbb2

Browse files
keyonjielgirdwood
authored andcommitted
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>
1 parent 1af8ba0 commit f79bbb2

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/include/ipc/info.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#define SOF_IPC_INFO_LOCKS BIT(1)
3434
#define SOF_IPC_INFO_LOCKSV BIT(2)
3535
#define SOF_IPC_INFO_GDB BIT(3)
36+
#define SOF_IPC_INFO_D3_PERSISTENT BIT(4)
3637

3738
/* extended data types that can be appended onto end of sof_ipc_fw_ready */
3839
enum sof_ipc_ext_data {

src/include/kernel/abi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
/** \brief SOF ABI version major, minor and patch numbers */
3131
#define SOF_ABI_MAJOR 3
32-
#define SOF_ABI_MINOR 18
33-
#define SOF_ABI_PATCH 1
32+
#define SOF_ABI_MINOR 19
33+
#define SOF_ABI_PATCH 0
3434

3535
/** \brief SOF ABI version number. Format within 32bit word is MMmmmppp */
3636
#define SOF_ABI_MAJOR_SHIFT 24

src/include/sof/debug/debug.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
SOF_IPC_INFO_BUILD | \
3636
(IS_ENABLED(CONFIG_DEBUG_LOCKS) ? SOF_IPC_INFO_LOCKS : 0) | \
3737
(IS_ENABLED(CONFIG_DEBUG_LOCKS_VERBOSE) ? SOF_IPC_INFO_LOCKSV : 0) | \
38-
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) \
38+
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) | \
39+
(IS_ENABLED(CONFIG_CAVS) ? SOF_IPC_INFO_D3_PERSISTENT : 0) \
3940
)
4041

4142
/* dump file and line to start of mailbox or shared memory */
@@ -126,7 +127,8 @@
126127
( \
127128
(IS_ENABLED(CONFIG_DEBUG_LOCKS) ? SOF_IPC_INFO_LOCKS : 0) | \
128129
(IS_ENABLED(CONFIG_DEBUG_LOCKS_VERBOSE) ? SOF_IPC_INFO_LOCKSV : 0) | \
129-
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) \
130+
(IS_ENABLED(CONFIG_GDB_DEBUG) ? SOF_IPC_INFO_GDB : 0) | \
131+
(IS_ENABLED(CONFIG_CAVS) ? SOF_IPC_INFO_D3_PERSISTENT : 0) \
130132
)
131133

132134
#define dbg() do {} while (0)

0 commit comments

Comments
 (0)