diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2023-04-04 18:21:35 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-04-05 19:41:12 +0200 |
| commit | de6e05097f7db066afb0ad4c88b730949f7b7749 (patch) | |
| tree | 6f73b5d36b92c2df8dfbf44438360f1480f0be90 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | a4fb434ef96ace5af758ca2c52c3a3f8f3abc87c (diff) | |
nvmem: mtk-efuse: Support postprocessing for GPU speed binning data
On some MediaTek SoCs GPU speed binning data is available for read
in the SoC's eFuse array but it has a format that is incompatible
with what the OPP API expects, as we read a number from 0 to 7 but
opp-supported-hw is expecting a bitmask to enable an OPP entry:
being what we read limited to 0-7, it's straightforward to simply
convert the value to BIT(value) as a post-processing action.
So, introduce post-processing support and enable it by evaluating
the newly introduced platform data's `uses_post_processing` member,
currently enabled only for MT8186.
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions