diff options
author | 2024-11-14 15:59:42 +0800 | |
---|---|---|
committer | 2024-11-30 16:42:06 -0500 | |
commit | 1958f4e16864f78ab121de08ba4d7a984ed46891 (patch) | |
tree | 5ddfade6104a86b1345bde6a2d10935e496c2bdc /scripts/generate_rust_analyzer.py | |
parent | tools/power turbostat: Add initial support for GraniteRapids-D (diff) | |
download | wireguard-linux-1958f4e16864f78ab121de08ba4d7a984ed46891.tar.xz wireguard-linux-1958f4e16864f78ab121de08ba4d7a984ed46891.zip |
tools/power turbostat: Enhance platform divergence description
In various generations, platforms often share a majority of features,
diverging only in a few specific aspects. The current approach of using
hardcoded values in 'platform_features' structure fails to effectively
represent these divergences.
To improve the description of platform divergence:
1. Each newly introduced 'platform_features' structure must have a base,
typically derived from the previous generation.
2. Platform feature values should be inherited from the base structure
rather than being hardcoded.
This approach ensures a more accurate and maintainable representation of
platform-specific features across different generations.
Converts `adl_features` and `lnl_features` to follow this new scheme.
No functional change.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions