SWDEV-342812- Add NPS support

Updates:
    * Added rsmi_dev_nps_mode_set and rsmi_dev_nps_mode_get
    * Added ability to set multiple SYSFS files in debug build
    * Added ability to see user's env variables set for debug build
    * Added tests for rsmi_dev_nps_mode_set and rsmi_dev_nps_mode_get
    * Added ability to restart AMD GPU driver, used in nps_mode_set
    * Updated ROCm_SMI_Manual.pdf to include new APIs
    * Added progress bar for long running python_smi_tools, used
      in setting nps_mode if runs longer than .1 seconds

Change-Id: I6d61bedd28d7cba6aff432ad2d127ba741b7d15a
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
This commit is contained in:
Charis Poag
2023-01-30 15:58:03 -06:00
rodzic ae10e842af
commit 9ef376cd61
19 zmienionych plików z 1198 dodań i 87 usunięć
+7 -3
Wyświetl plik
@@ -30,10 +30,9 @@ modules.builtin
*.lzma
*.xz
*.lzo
#*.patch
*.patch
*.gcno
*.pyc
*current_compute_partition
#
# Top-level generic files/folders
@@ -121,4 +120,9 @@ _deps
# ROCm files
# Removes generated config headers like rocmsmi64Config.h & oamConfig.h
#
*Config.h
*Config.h
#
# Fake SYSFS files
#
/device/*