aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2025-05-17 09:44:50 +0000
committerLen Brown <[email protected]>2025-06-08 18:10:16 +0000
commitff3d019e98db83ce2b5eb395333bc2518b37f4f0 (patch)
treed97186cbb9f98397b42914073a0df772a17fcfcd /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parenttools/power turbostat: Clean up add perf/msr counter logic (diff)
downloadkernel-ff3d019e98db83ce2b5eb395333bc2518b37f4f0.tar.gz
kernel-ff3d019e98db83ce2b5eb395333bc2518b37f4f0.zip
tools/power turbostat: Allow probing RAPL with platform_features->rapl_msrs cleared
platform_features->rapl_msrs describes the RAPL MSRs supported. While RAPL Perf counters can be exposed from different kernel backend drivers, e.g. RAPL MSR I/F driver, or RAPL TPMI I/F driver. Thus, turbostat should first blindly probe all the available RAPL Perf counters, and falls back to the RAPL MSR counters if they are listed in platform_features->rapl_msrs. With this, platforms that don't have RAPL MSRs can clear the platform_features->rapl_msrs bits and use RAPL Perf counters only. Signed-off-by: Zhang Rui <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions