| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/info/amd/gpuinfoodfanctrl.h`/ |
| 2 | // Copyright 2023 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "../igpuinfo.h"cxx . . $ `<file>/src/core/info/igpuinfo.h`/ |
| 7 | #include <string> |
| 8 | #include <string_view> |
| 9 | |
| 10 | namespace AMDcxx . . $ AMD/ { |
| 11 | |
| 12 | /// AMD GPU overdrive fan control info |
| 13 | class GPUInfoOdFanCtrlcxx . . $ AMD/GPUInfoOdFanCtrl# final : public IGPUInfocxx . . $ IGPUInfo#::IProvidercxx . . $ IGPUInfo#IProvider# |
| 14 | { |
| 15 | public: |
| 16 | static constexpr stdcxx . . $ std/::string_viewcxx . . $ std/string_view# IDcxx . . $ std/basic_string_view#basic_string_view(837a1ee5a10cb792).{"odfanctrl"}; |
| 17 | |
| 18 | GPUInfoOdFanCtrlcxx . . $ AMD/GPUInfoOdFanCtrl#GPUInfoOdFanCtrl(ced63f7c635d850d).() noexcept; |
| 19 | |
| 20 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::paircxx . . $ std/pair#<stdcxx . . $ std/::stringcxx . . $ std/string#, stdcxx . . $ std/::stringcxx . . $ std/string#>> |
| 21 | provideInfocxx . . $ AMD/GPUInfoOdFanCtrl#provideInfo(5b65f7e996e13d80).(Vendorcxx . . $ Vendor# vendor, int gpuIndex, IGPUInfocxx . . $ IGPUInfo#::Pathcxx . . $ IGPUInfo#Path# const &path, |
| 22 | IHWIDTranslatorcxx . . $ IHWIDTranslator# const &hwIDTranslator) const override; |
| 23 | |
| 24 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::stringcxx . . $ std/string#> |
| 25 | provideCapabilitiescxx . . $ AMD/GPUInfoOdFanCtrl#provideCapabilities(da28437f5803dad2).(Vendorcxx . . $ Vendor# vendor, int gpuIndex, |
| 26 | IGPUInfocxx . . $ IGPUInfo#::Pathcxx . . $ IGPUInfo#Path# const &path) const override; |
| 27 | |
| 28 | private: |
| 29 | static bool registered_cxx . . $ AMD/GPUInfoOdFanCtrl#registered_.; |
| 30 | }; |
| 31 | |
| 32 | } // namespace AMD |