-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topology: NHLT: Intel: Add support for blob format v3.0 #276
Topology: NHLT: Intel: Add support for blob format v3.0 #276
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from couple of minor issues this looks good AFAIU.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@singalsu Looks good, some minor comments, see inline.
d8e8f75
to
dccf228
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found one more place where 8 could be replaced with SSP_TS_GROUP_SIZE, but that is a minor issue, so approved.
|
||
blob30->gateway_attributes = blob->gateway_attributes; | ||
blob30->version = SSP_BLOB_VER_3_0; | ||
for (i = 0; i < 8; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should maybe use SP_TS_GROUP_SIZE here too (or ARRAY_SIZE(blob->ts_group)).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I fixed it, and also for v1.5! Can you please re-review @jsarha .
This patch adds the 3.0 format that is used for the PTL ACE3.x platform. Blob 3.0 is based on blob 1.5 but it adds DMA control registers settings and has some changes in registers bitfields. This patch also fixes some compile warnings when NHLT_DEBUG is set for comparing int with unsigned in ssp-debug.c for code for all blobs variants. Signed-off-by: Seppo Ingalsuo <[email protected]>
The MOD = 1 is the only allowed setting for SSC0(31) bit for cAVS 2.x and all ACE versions 1.x, 2.x, and 3.x Signed-off-by: Seppo Ingalsuo <[email protected]>
- The SSC1 bits 21 and 20, TSRE and RSRE, do not exist. - The SSC0 bit 30 ACS does not exist. - The SSC0 bit 6 ECS does not exist but needs to be set, add note. - The MDIVXCTRL bits 20:21 MNDSS does not exist. Signed-off-by: Seppo Ingalsuo <[email protected]>
dccf228
to
cda97fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The MOD = 1 is the only allowed setting for SSC0(31) bit for cAVS 2.x and all ACE versions 1.x, 2.x, and 3.x Closes: #276 Signed-off-by: Seppo Ingalsuo <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
- The SSC1 bits 21 and 20, TSRE and RSRE, do not exist. - The SSC0 bit 30 ACS does not exist. - The SSC0 bit 6 ECS does not exist but needs to be set, add note. - The MDIVXCTRL bits 20:21 MNDSS does not exist. Closes: #276 Signed-off-by: Seppo Ingalsuo <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
No description provided.