[npubinfmt] add extra info to store number of visa insts
authorDongju Chae <dongju.chae@samsung.com>
Tue, 26 Jan 2021 03:09:02 +0000 (12:09 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Tue, 26 Jan 2021 11:14:53 +0000 (20:14 +0900)
This patch adds extra info to npubinfmt storing number of visa insts.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
include/common/npubinfmt.h

index 0fcf85e..fb8d371 100644 (file)
@@ -225,6 +225,9 @@ typedef struct {
 
           /** DSP-specific variables */
           uint32_t dspm_size;                               /**< The size of DSP memory */
+
+          /** vISA instructions */
+          uint32_t visa_num_plus_one;                       /**< Number of vISA insts + 1 (i.e., unknown if zero) */
         };
         /** If npubinfmt should be changed, append here as another version */
       };