[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>
[ROCm/amdsmi commit: 970560fc7c]
This commit is contained in:
committed by
GitHub
parent
fc54da7679
commit
ff2e230a34
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user