diff options
author | 2024-11-14 15:59:46 +0800 | |
---|---|---|
committer | 2024-11-30 16:42:07 -0500 | |
commit | 03109e2f0d18dcb84218bd91c4fbf864193ca934 (patch) | |
tree | 2f83d76cf5c3c5cfaf71e5049f4107cff78d949d /scripts/lib/kdoc/kdoc_parser.py | |
parent | tools/power turbostat: Cache graphics sysfs file descriptors during probe (diff) | |
download | linux-rng-03109e2f0d18dcb84218bd91c4fbf864193ca934.tar.xz linux-rng-03109e2f0d18dcb84218bd91c4fbf864193ca934.zip |
tools/power turbostat: Add support for /sys/class/drm/card1
On some machines, the graphics device is enumerated as
/sys/class/drm/card1 instead of /sys/class/drm/card0. The current
implementation does not handle this scenario, resulting in the loss of
graphics C6 residency and frequency information.
Add support for /sys/class/drm/card1, ensuring that turbostat can
retrieve and display the graphics columns for these platforms.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions