Skip to content
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

[stable-v2.2] platform: tigerlake: increase ALH group count #9604

Draft
wants to merge 1 commit into
base: stable-v2.2
Choose a base branch
from

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Oct 21, 2024

The PCM bidirectional FIFO count is 6 for Tigerlake hardware.

Link: #9571

The PCM bidirectional FIFO count is 6 for Tigerlake hardware.

Link: thesofproject#9571
Signed-off-by: Kai Vehmanen <[email protected]>
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bardliao
Copy link
Collaborator

Do we need to update the alh_handshake_map in src/platform/tigerlake/include/platform/drivers/alh.h?
Also,

/* copier id = (group id << 4) + codec id + IPC4_ALH_DAI_INDEX_OFFSET
 * dai_index = (group id << 8) + codec id;
 */
#define IPC4_ALH_DAI_INDEX(x) ((((x) & 0xF0) << DAI_NUM_ALH_BI_DIR_LINKS_GROUP) + \
				(((x) & 0xF) - IPC4_ALH_DAI_INDEX_OFFSET))

doesn't look correct to me.

Should it be

#define IPC4_ALH_DAI_INDEX(x) ((((x) & 0xF0) << 4) + \
				(((x) & 0xF) - IPC4_ALH_DAI_INDEX_OFFSET))

?

Can we test it with a SDW codec that is on any SDW link other than link 0? Like SDW link 1, 2, or 3.

Copy link
Member

@abonislawski abonislawski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks incorrect for TGL

@kv2019i kv2019i added the DNM Do Not Merge tag label Oct 22, 2024
@kv2019i kv2019i marked this pull request as draft October 22, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNM Do Not Merge tag
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants