Skip to content

Conversation

@RanderWang
Copy link
Collaborator

No description provided.

@RanderWang
Copy link
Collaborator Author

updated. Validated each tplg file and tested sdw on device.

@lgirdwood
Copy link
Member

@RanderWang conflicts.

@RanderWang RanderWang force-pushed the ipc4-deepbuffer branch 2 times, most recently from 2fe3c0b to a5ff23b Compare November 2, 2022 02:56
@RanderWang
Copy link
Collaborator Author

@lgirdwood conflict was caused by chain dma. please first merge #6514.

@RanderWang RanderWang removed the request for review from marcinszkudlinski November 2, 2022 02:57
@RanderWang
Copy link
Collaborator Author

@lgirdwood conflict fixed

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

mostly good but this needs serious polish to make it shiny clean

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

I'd like the deep-buffer size to be configurable per product. There's no good reason to force everyone to use 100ms upfront.

@plbossart
Copy link
Member

Actually rebase necessary @RanderWang, looks like there are conflicts?

We should also check why we have two TIMEOUTS on 2 out of 3 nocodec test devices. it's a troubling coincidence, isn't it?

@RanderWang
Copy link
Collaborator Author

SOFCI TEST

@RanderWang
Copy link
Collaborator Author

@lgirdwood all ipc4 test pass now

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

#6576

Let's try to use the same indices for PCMs so that the external view of the topology remains the same.

@RanderWang
Copy link
Collaborator Author

update deep buffer pcm index to 31 according to topology1

PCM30  playback	LowLatency
PCM31  playback	DeepBuffer (for low-power)
PCM32  playback	Media (e.g. movies)
PCM33  playback	Voice (Communication with a human)
PCM34  playback	Ultrasonics
```

@plbossart
Copy link
Member

except that we didn't follow the convention for all cases in topology1. We should probably update this for compatibility, it has no impact on UCM/users since it's a developer-only config. Can you do this with a follow-up patch @RanderWang ?

card 0: sofnocodec [sof-nocodec], device 3: Port0 Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Copy link
Member

@plbossart plbossart 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 good but two issues to be aware of before merging @lgirdwood

a) this will conflict with @ranj063 cleanup patch #6592
b) adding a 100ms buffer in the firmware is likely to expose some issues, I would run a daily test on this PR to avoid breaking CI too much.

@lgirdwood
Copy link
Member

@mengdonglin can we schedule a daily test for this PR as requested by @plbossart ? (can be next week, we can merge the cleanup #6592 first)

@ranj063
Copy link
Collaborator

ranj063 commented Dec 1, 2022

@RanderWang good for rebase now

@RanderWang RanderWang force-pushed the ipc4-deepbuffer branch 2 times, most recently from e023252 to decfc9c Compare December 2, 2022 05:38
@ranj063
Copy link
Collaborator

ranj063 commented Dec 2, 2022

@RanderWang let us know the results of the daily test with this PR

@RanderWang
Copy link
Collaborator Author

@RanderWang let us know the results of the daily test with this PR

sure, I sent the status to you

@lgirdwood
Copy link
Member

@RanderWang @ranj063 pls let me know when ready to merge.

@lgirdwood
Copy link
Member

@RanderWang conflicts

It will be shared by I2S, HDA and SDW platforms

Signed-off-by: Rander Wang <rander.wang@intel.com>
Deep buffer is mixed with ssp0 stream.

Signed-off-by: Rander Wang <rander.wang@intel.com>
Deep buffer is mixed with Jack out.

Signed-off-by: Rander Wang <rander.wang@intel.com>
Deep buffer is mixed with HDA analog.

Signed-off-by: Rander Wang <rander.wang@intel.com>
@RanderWang
Copy link
Collaborator Author

@lgirdwood updated. Now it passes all ipc4 test on TGL, but some cases are failed on MTL for power management issue

@lgirdwood lgirdwood merged commit 8818e50 into thesofproject:main Dec 5, 2022
@marc-hb
Copy link
Collaborator

marc-hb commented Dec 7, 2022

Could this PR cause this recent TGL IPC4 regression?

It's the only significant PR that was merged recently.

@RanderWang
Copy link
Collaborator Author

RanderWang commented Dec 7, 2022

I triggered a test plan in ci 18496, check-kmod-load-unload-after-playback passed. Maybe it can result to this bug but it should be in low rate. It will enabled D0i3 if only deepbuffer stream is working.

@marc-hb
Copy link
Collaborator

marc-hb commented Dec 7, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants