Граф коммитов

21 Коммитов

Автор SHA1 Сообщение Дата
Chris Freehill bc0d801478 Use "_t" suffix consistently for RSMI types 2019-03-02 16:30:30 -06:00
Chris Freehill fb5f41fc10 Added rsmi_dev_error_count_get() 2019-03-01 16:33:11 -06:00
Chris Freehill 18ce553dce Add rsmi_dev_pci_throughput_get() 2019-02-27 15:10:26 -06:00
Chris Freehill 021f13a68f Add VBIOS version get function
Also, consolidate "get version" type function tests into 1 test.
2019-02-24 11:01:18 -06:00
Chris Freehill 68b5e2ee0d Documentation and volt-curve read updates 2019-02-22 15:05:44 -06:00
Chris Freehill 17bf80dcb2 Break down monolithic test into many smaller tests
Also, added boot up default power profile, and modified to
accomodate new profile format
2019-02-11 22:53:24 -06:00
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