diff options
| author | 2022-08-21 22:39:16 +0800 | |
|---|---|---|
| committer | 2023-09-27 22:14:18 +0800 | |
| commit | 2c019d657968bdd93e11615e0919d8181a54742d (patch) | |
| tree | ead0d09ffd61a694177119788b570447e6037f52 /scripts/Makefile.thinlto | |
| parent | tools/power/turbostat: Enable TCC Offset on more models (diff) | |
tools/power/turbostat: Support alternative graphics sysfs knobs
/sys/class/graphics/fb0/device/drm/card0/ and /sys/class/drm/card0/
point to the same device node.
But in some cases, one exists and the other one does not.
Prefer to use /sys/class/drm/card0/, and fall back to
/sys/class/graphics/fb0/device/drm/card0/.
This recovers the "GFXMHz" and "GFXAMHz" columns on some platforms like
a SPR server.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
