diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-05-31 22:42:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-10 12:49:03 +0100 |
commit | e289df82344fecc104ad8326b9ab6da612b9c899 (patch) | |
tree | 97397e61d210a3eff87984a7d8168c6cc7f55711 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bd1886661b14345ed3c7b261550bcca6cd76840a (diff) |
spi: Rework per message DMA mapped flag to be per transfer
The granularity of DMA mappings is transfer and moreover,
the direction is also important as it can be unidirect.
The current cur_msg_mapped flag doesn't fit well the DMA mapping
and syncing calls and we have tons of checks around on top of it.
So, instead of doing that rework the code to use per transfer per
direction flag to show if it's DMA mapped or not.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
Link: https://lore.kernel.org/r/20240531194723.1761567-9-andriy.shevchenko@linux.intel.com
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions