aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2021-03-23 13:07:01 +0800
committerVinod Koul <[email protected]>2021-03-30 14:36:11 +0530
commit8f29bb83586ea993e98b258e1fdb657367dd3c25 (patch)
treedb8c7a3d364bf5701c5a5035b8ad98670de4e0b4 /tools/perf/scripts/python/export-to-sqlite.py
parent886ce97a36a05e7a9c9d5d894e72d31f50146f5d (diff)
soundwire: generic_allocation: fix confusion between group and packing
The existing code makes no sense, we multiply a channel number by zero (SDW_BLK_GRP_CNT_1), and the result is used to configure the block packing mode. Sampling grouping and channel packing are two separate concepts in SoundWire. In addition, the bandwidth allocation allocates a vertical slice for each stream, which makes the use of the PER_CHANNEL packing mode irrelevant. Let's use the proper definition for block packing mode (PER_PORT). This change has no functional impact though since the net result is the same configuration of the DPN_BlockCtrl3 register, when implemented. Reported-by: Bard Liao <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions