Skip to content

ipc: align stream.h with kernel - #1740

Merged
jajanusz merged 2 commits into
thesofproject:masterfrom
mrajwa:kernel_allign
Sep 23, 2019
Merged

jajanusz merged 2 commits into
thesofproject:masterfrom
mrajwa:kernel_allign

Conversation

@mrajwa

@mrajwa mrajwa commented Aug 22, 2019

Copy link
Copy Markdown
Contributor

This patch fixes the incorrect check for
host_period_bytes. This value was incorrectly used
to store host request for stream position. So
we introduced dedicated parameter for this purpose
(no_stream_position) and update all related checks accordingly.

Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>

mrajwa added 2 commits August 22, 2019 14:04
This change is to align sof_ipc_stream_params with its
kernel equivalent. In this patch no_stream_position
parameter is added to relax host_period_bytes from
storing information about the need of stream position
update.

Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This patch fixes the incorrect check for
host_period_bytes. This value was incorrectly used
to store host request for stream position. After
we introduced dedicated parameter for this purpose
(no_stream_position) the check needs to be updated
accordingly. Therefore this patch adds a check
for no_stream_position rather than host_period_bytes
to decide if stream position shall be send.

Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
@mrajwa
mrajwa requested review from a team, lbetlej, lgirdwood, mmaka1 and plbossart as code owners August 22, 2019 12:16
@mrajwa mrajwa changed the title Kernel allign ipc: align stream.h with kernel Aug 22, 2019
@mrajwa
mrajwa requested a review from keyonjie August 22, 2019 12:17
@tlauda tlauda added the ABI ABI change involved label Aug 22, 2019

@keyonjie keyonjie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, thanks.

@lgirdwood

Copy link
Copy Markdown
Member

@zrombel @xiulipan I'm not seeing @YvonneYang2 build failure in the CI errors.....

@lgirdwood

Copy link
Copy Markdown
Member

@zrombel @xiulipan I'm not seeing @YvonneYang2 build failure in the CI errors.....

Guys ignore the build failure report, it's a runtime failure with GCC and I've renamed the issue.

@wenqingfu

Copy link
Copy Markdown

SOFCI TEST

1 similar comment
@wenqingfu

Copy link
Copy Markdown

SOFCI TEST

@wenqingfu

Copy link
Copy Markdown

ping. Should this be merged? @lgirdwood @tlauda

@plbossart

Copy link
Copy Markdown
Member

This should be tied to an ABI change, and the kernel patches need to handle the backwards compatibility.

@mrajwa

mrajwa commented Sep 20, 2019

Copy link
Copy Markdown
Contributor Author

@plbossart, can we merge now? Kernel part is already merged.

@jajanusz
jajanusz merged commit 6cc3892 into thesofproject:master Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ABI ABI change involved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants