Add support for power sensors from lm-sensors
ClosedPublic

Authored by raghuraman on Mar 20 2020, 5:48 PM.

Details

Summary

Some AMD GPUs do report power which can be read by lm-sensors. This diff adds support for showing those power readings in ksysguard.

Note: SENSORS_SUBFEATURE_POWER_AVERAGE is checked as a backup, because AMDGPU reports power as an average and not as input.

Diff Detail

Repository
R106 KSysguard
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
raghuraman created this revision.Mar 20 2020, 5:48 PM
raghuraman created this object with edit policy "Administrators".
Restricted Application added a project: Plasma. · View Herald TranscriptMar 20 2020, 5:48 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
raghuraman requested review of this revision.Mar 20 2020, 5:48 PM
davidedmundson accepted this revision.Mar 21 2020, 3:57 PM
This revision is now accepted and ready to land.Mar 21 2020, 3:57 PM

Nice patch! Keep 'em coming! :)

This revision was automatically updated to reflect the committed changes.