aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2024-06-17 20:13:50 +0800
committerVinod Koul <vkoul@kernel.org>2024-06-21 15:26:26 +0530
commit8e8c0dfc828c3f3ba5ebcee076b979d2134a6e27 (patch)
tree392c8ff4af38af14f25e25fc3a25ebfb76863160 /tools/perf/scripts/python/exported-sql-viewer.py
parentb96f16bdf58dae08d841536820269c6b0d9c976b (diff)
soundwire: generic_bandwidth_allocation: change port_bo parameter to pointer
Currently, we do port_bo += bps * ch in both inside and outside sdw_compute_master_ports(). We can pass port_bo as a pointer and only calculate port_bo in sdw_compute_master_ports(). Besides, different port could use different lanes and we can't just add port_bo based on total channels in a manager. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20240617121350.14074-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