You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 210ddc3
Browse filesBrowse the repository at this point in the historyBrowse files
ASoC: SOF: debug: List the loaded topology files in fw_profile/tplg_name
The fw_profile/tplg_name debugfs file exposes the topology file name
selected for the platform. When function topologies are used, the
selected name is a placeholder (sof-<platform>-dummy.tplg) which does
not tell which topology files have actually been loaded.
Replace the static name with a list of the loaded topology files, one
per line, set by snd_sof_load_topology() after a successful load and
cleared again when the loading fails or when the topology is removed in
sof_pcm_remove(). The topology path prefix is dropped from the names as
it is exposed separately via fw_profile/tplg_path.
The file is backed by a seq_file reader instead of debugfs_create_str()
so that the list can be replaced under a mutex without racing with
concurrent readers. While no topology is loaded the selected topology
name is shown.
For monolithic topologies the content of the file is unchanged.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
0 commit comments