diff options
author | FlightlessMango <flightlessmangoyt@gmail.com> | 2024-02-21 10:25:33 +0100 |
---|---|---|
committer | FlightlessMango <flightlessmangoyt@gmail.com> | 2024-02-21 10:25:33 +0100 |
commit | 98e442ba7f860de493a1b48460ef5398715bde2a (patch) | |
tree | 5941322890c10f2e1bbf605d7c817b386198f4ea | |
parent | c80c2093cc20a574e55e815d23f0076c0c80b6a1 (diff) |
gpu: fan: set fan_rpm true for amdgpu metrics
-rw-r--r-- | src/overlay.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/overlay.cpp b/src/overlay.cpp index cec8b6c..8bafa87 100644 --- a/src/overlay.cpp +++ b/src/overlay.cpp @@ -901,6 +901,7 @@ void init_gpu_stats(uint32_t& vendorID, uint32_t reported_deviceID, overlay_para const std::string device_path = path + "/device"; const std::string gpu_metrics_path = device_path + "/gpu_metrics"; if (amdgpu_verify_metrics(gpu_metrics_path)) { + gpu_info.fan_rpm = true; gpu_metrics_exists = true; metrics_path = gpu_metrics_path; throttling = std::make_unique<Throttling>(); |