diff options
author | Zhang Rui <[email protected]> | 2024-11-14 15:59:46 +0800 |
---|---|---|
committer | Len Brown <[email protected]> | 2024-11-30 16:42:07 -0500 |
commit | 03109e2f0d18dcb84218bd91c4fbf864193ca934 (patch) | |
tree | 2f83d76cf5c3c5cfaf71e5049f4107cff78d949d /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c7538f33853b11d0ff2a81efb78bde125d1fc49f (diff) |
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 <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions