diff options
| author | Mario Limonciello <[email protected]> | 2022-04-11 09:38:20 -0500 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2022-04-13 13:49:48 +0200 |
| commit | b0c07116c894325d40a218f558047f925e4b3bdb (patch) | |
| tree | dfb652a1c62db1b7582c7f6cfa0c19212146d87c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 63585d5958dacd1f2ac73bff0f1f37a98ba348e4 (diff) | |
platform/x86: amd-pmc: Avoid reading SMU version at probe time
Currently the SMU version only used to determine whether the SMU supports
reading the idle mask. To speed up startup, move it to the first time
the idle mask is read.
This decreases the startup time from ~28500us to 100us.
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions