[SWDEV-520665] Add support for board voltage (#303)
* Add the API and CLI to show the board voltage. --------- Change-Id: Icb25bd653bb1d004704b5a21b378ca31b2b242c7 Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com> Signed-off-by: AL Musaffar, Yazen <Yazen.ALMusaffar@amd.com>
Tá an tiomantas seo le fáil i:
1 tuismitheoir
13148c5d8e
tiomantas
970560fc7c
11 comhad athraithe
+69
-22
Níor tháinig aon chomhaid le do chuardach
@@ -123,6 +123,7 @@ static const char* short_options = "i:v:m:fr";
|
||||
|
||||
static const std::map<uint32_t, std::string> kVoltSensorNameMap = {
|
||||
{AMDSMI_VOLT_TYPE_VDDGFX, "Vddgfx"},
|
||||
{AMDSMI_VOLT_TYPE_VDDBOARD, "Vddboard"},
|
||||
};
|
||||
|
||||
static void PrintHelp(void) {
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir