aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorZhang Rui <[email protected]>2024-11-14 07:59:46 +0000
committerLen Brown <[email protected]>2024-11-30 21:42:07 +0000
commit03109e2f0d18dcb84218bd91c4fbf864193ca934 (patch)
tree2f83d76cf5c3c5cfaf71e5049f4107cff78d949d /drivers/usb/cdns3/cdns3-plat.c
parenttools/power turbostat: Cache graphics sysfs file descriptors during probe (diff)
downloadkernel-03109e2f0d18dcb84218bd91c4fbf864193ca934.tar.gz
kernel-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 <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions