diff options
author | Perry Yuan <[email protected]> | 2021-10-28 06:05:42 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-11-17 23:04:51 -0500 |
commit | 3dac776e349a214c07fb2b0e5973947b0aade4f6 (patch) | |
tree | 8c16f472f0365c0736a801ea1cf4259ddcf47775 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bf552083916a7f8800477b5986940d1c9a31b953 (diff) |
drm/amd/pm: add GFXCLK/SCLK clocks level print support for APUs
add support that allow the userspace tool like RGP to get the GFX clock
value at runtime, the fix follow the old way to show the min/current/max
clocks level for compatible consideration.
=== Test ===
$ cat /sys/class/drm/card0/device/pp_dpm_sclk
0: 200Mhz *
1: 1100Mhz
2: 1600Mhz
then run stress test on one APU system.
$ cat /sys/class/drm/card0/device/pp_dpm_sclk
0: 200Mhz
1: 1040Mhz *
2: 1600Mhz
The current GFXCLK value is updated at runtime.
BugLink: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5260
Reviewed-by: Huang Ray <[email protected]>
Signed-off-by: Perry Yuan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions