Commit Graph

15 Commits

Author SHA1 Message Date
Chris Freehill 4ab27528be Replace fan test failure with warning
In some cases, the fan sysfs files will exist even if the device
doesn't have a fan. In these cases, the tests will give apparently
random results.

Also, remove documentation and ifdef'd test of debugfs related
power functions.
2019-02-08 09:51:10 -06:00
Chris Freehill 64eec4673a Add support for reading frequency-volt curve data 2019-01-07 10:20:53 -06:00
Chris Freehill 639a4e3503 Add support for reading frequency-volt curva data 2019-01-07 08:44:23 -06:00
Chris Freehill 5e6424cab3 Handle case where PCIe information is not implemented in system
Also add a new error code for this.
2018-12-19 17:24:27 -06:00
Chris Freehill 5a9a729b31 Add rsmi_version_get() function
Also, modify CMakeLists.txt to use git tags to determine the
shared library version for the SONAME and the ROCm build for the
package name.
2018-12-06 13:48:59 -06:00
Chris Freehill bc200d205e Add get and set routines for PCIe bandwidth 2018-11-19 17:01:49 -06:00
Chris Freehill 9c897ab86d Add get and set routines for PCIe bandwidth 2018-11-16 15:55:38 -06:00
Chris Freehill 861c2c2e33 Add rsmi_dev_busy_percent_get()
Also: correct some comments, ifdef out unused code
2018-11-12 17:25:14 -06:00
Chris Freehill 59a952666f Add rsmi_dev_pci_id_get() to return BDFID for given device
Also:
* add some exception handling;
* chop newline character off of device name returned from
rsmi_dev_id_get()
2018-11-05 11:22:12 -06:00
Chris Freehill 62ba2f578e Use sysfs file to get average power instead of debugfs 2018-10-29 17:59:24 -05:00
Chris Freehill 767fa53d8c Add support for new performance levels
Also added tests for new performance levels and clean up some
formatting/style issues.
2018-10-25 14:13:55 -05:00
Chris Freehill b2f1ee1764 Comment corrections, debug output and assert added 2018-10-22 17:26:38 -05:00
Chris Freehill f083c9c919 Correct the number of allowable power profiles 2018-10-05 23:09:28 -05:00
Chris Freehill 53b7ae1113 ROCm 1.9.0 update 2018-09-16 00:13:29 -05:00
Chris Freehill e948ee5e00 first commit 2017-10-30 12:12:40 -05:00