diff options
author | Steven Toth <[email protected]> | 2016-09-29 08:11:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-09-29 17:51:15 -0600 |
commit | 1d466b9b04662d41a403ea8fd617a5365750b1de (patch) | |
tree | 80c131f35a5c2a06e4541eeb995e77924df9380a /src/loader/loader.h | |
parent | 3abe68b8282496688186157b51da5600ac540906 (diff) |
gallium/hud: Add power sensor support
Implement support for power based sensors, reporting units in
milli-watts and watts.
Also, minor cleanup - change the related if block to a switch.
Tested with two different power sensors, including the nouveau
'power1' sensors on a GTX950 card.
Signed-off-by: Steven Toth <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/loader/loader.h')
0 files changed, 0 insertions, 0 deletions