diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-01-10 17:45:25 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-01-15 21:23:56 +0300 |
commit | 666c299be696f02c3354da104295fb94b8f65d25 (patch) | |
tree | 67d1dddbc5edbd7b49daf3ddfd091bff7a02b697 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7ce0d16d5802bfde4209e52ee8ad644ca1eab423 (diff) | |
download | linux-666c299be696f02c3354da104295fb94b8f65d25.tar.xz |
mtd: spinand: Enhance the logic when picking a variant
Currently the best variant picked in the first one in the list provided
in the manufacturer driver. This worked well while all operations where
performed at the same speed, but with the introduction of DTR transfers
and per operation maximum frequencies, this no longer works correctly.
Let's continue iterating over all the alternatives, even if we find a
match, keeping a reference over the theoretically fastest
operation. Only at the end we can tell which variant is the best.
This logic happening only once at boot, the extra computing needed
compared to the previous version is acceptable wrt. the expected
improvements.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions