-
Notifications
You must be signed in to change notification settings - Fork 308
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
Enabling probe feature in AMD Platforms #8634
Changes from all commits
a1b8cbc
00411bd
82792c1
1829eef
60acfae
0211ca5
58bd139
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,5 @@ CONFIG_COMP_ASRC=n | |
CONFIG_TRACE=y | ||
CONFIG_TRACEE=y | ||
CONFIG_TRACEV=y | ||
CONFIG_PROBE=y | ||
CONFIG_PROBE_POINTS_MAX=16 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,8 +184,6 @@ int dma_copy_new(struct dma_copy *dc) | |
return 0; | ||
} | ||
|
||
#if CONFIG_DMA_GW | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this config is not AMD specific, if AMD platform want to use this, better to add this config to AMD build? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Enabling CONFIG_DMA_GW will bring in many other API's which will cause failures in DMA operations and are not required on AMD platform, but dma_copy_set_stream_tag is required for enabling DMA channel based on stream tag, That is the reason to remove CONFIG_DMA_GW for this API, I believe this won't affect non AMD platforms. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, this is fine - its mostly generic if anyone is using a DMA tag to identify a DMA channel. |
||
int dma_copy_set_stream_tag(struct dma_copy *dc, uint32_t stream_tag) | ||
{ | ||
/* get DMA channel from DMAC */ | ||
|
@@ -198,4 +196,3 @@ int dma_copy_set_stream_tag(struct dma_copy *dc, uint32_t stream_tag) | |
return 0; | ||
} | ||
|
||
#endif |
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.
Can you please add more details about what 'probe' functionality is?
Is the ability to get some statistics/logs via compress interface?
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.
Hi,
This is a debug feature to probe the data in between components of pipeline, for more information find the below link
https://thesofproject.github.io/latest/developer_guides/debugability/probes/index.html
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.
@dbaluta its already used on Intel platforms. Kernel parts also upstream.