diff options
| author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2025-10-14 11:14:47 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-12-08 12:37:26 +0530 |
| commit | 57b3a7b27e0b72df4ccee89719de12719aa9d547 (patch) | |
| tree | b31c10277d134da19b690631ce049e6b83ae4660 /tools/lib/python/feat/parse_features.py | |
| parent | 5a838e010c64b794ac990e9b19bfb0bf7083a1f2 (diff) | |
soundwire: cadence: export sdw_cdns_bpt_find_bandwidth
Currently, we calculate the required bandwidth after the PDI buffer size
is calculated. However as we need to add some fake frame to align the
data block size, the final PDI size and the frame number will change.
Besides, we need the required bandwidth to decide the DMA channel number
and the channel number will be used to calculate the data block size.
Therefore, we calculate the required bandwidth and export a helper for
the caller to get the required bandwidth.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20251014031450.3781789-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions
