summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2024-11-14 15:59:46 +0800
committerLen Brown <len.brown@intel.com>2024-11-30 16:42:07 -0500
commit03109e2f0d18dcb84218bd91c4fbf864193ca934 (patch)
tree2f83d76cf5c3c5cfaf71e5049f4107cff78d949d /tools/perf/scripts/python/exported-sql-viewer.py
parentc7538f33853b11d0ff2a81efb78bde125d1fc49f (diff)
downloadlinux-stable-03109e2f0d18dcb84218bd91c4fbf864193ca934.tar.gz
linux-stable-03109e2f0d18dcb84218bd91c4fbf864193ca934.tar.bz2
linux-stable-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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions