diff options
author | Zhang Rui <rui.zhang@intel.com> | 2024-11-14 10:59:46 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2024-12-01 00:42:07 +0300 |
commit | 03109e2f0d18dcb84218bd91c4fbf864193ca934 (patch) | |
tree | 2f83d76cf5c3c5cfaf71e5049f4107cff78d949d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c7538f33853b11d0ff2a81efb78bde125d1fc49f (diff) | |
download | linux-03109e2f0d18dcb84218bd91c4fbf864193ca934.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions