diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2025-05-08 14:20:29 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-05-14 12:44:01 +0100 |
commit | 62ada17a6217a50fbd1b23f10899890f56effc97 (patch) | |
tree | a8ae48e7ace21ddb2241f1a1f69cbc46a87a7d80 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d028b57b77f91e4643abd661640f345cd34522b6 (diff) |
soundwire: only compute port params in specific stream states
Currently, sdw_compute_master_ports() is blindly called for every single
Manager runtime. However, we should not take into account the stream's
bandwidth if the stream is just allocated or already deprepared.
Fixes: 25befdf32aa4 ("soundwire: generic_bandwidth_allocation: count the bandwidth of active streams only")
Link: https://github.com/thesofproject/linux/issues/5398
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20250508062029.6596-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions