Commit graph

51 Commits

Autor SHA1 Nachricht Datum
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 4771996d99 Fix sysfs write operations 2019-02-25 15:14:46 -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 5cb0895816 Rename manual
Also fix typo.
2019-02-16 13:21:41 -06:00
Chris Freehill 4449411e35 Documentation updates
-Replaced README with cleaner version.
-Added PDF introductory document (same as README)
2019-02-15 17:23:12 -06:00
Chris Freehill f3fa9a036c Add get_version test; remove sanity test
Also, don't fail pcie bandwidth test when the pp_dpm_pcie file
does not correctly show the current bandwidth.
2019-02-12 18:07:26 -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 dd450e963c Add dont_fail option to not fail entire test on a single failure 2019-02-09 12:18:49 -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 08ec2a9804 Don't assert or fail tests that are unsupported by system 2019-01-24 16:07:25 -06:00
Chris Freehill 1856bf6db8 Merge pull request #1 from RadeonOpenCompute/master
Update from master
2019-01-24 13:54:44 -06:00
Chris Freehill b2eb5d79c6 Merge pull request #10 from cfreehill/master
Add postinst and prerm scripts for debian and rpm
2019-01-10 11:39:56 -06:00
Chris Freehill 15efd11dcc Add postinst and prerm scripts for debian and rpm 2019-01-10 10:38:34 -06:00
Chris Freehill 00078ff5ac Merge pull request #8 from cfreehill/master
Add postinst and prerm scripts for debian and rpm
2019-01-09 23:21:40 -06:00
Chris Freehill ef27d41628 Merge pull request #9 from cfreehill/pp_od_clk_voltage
Add support for reading frequency-volt curve data
2019-01-09 23:20:34 -06:00
Chris Freehill b6ce6d30f4 Add support for reading frequency-volt curve data 2019-01-09 23:17:16 -06:00
Chris Freehill 253c82c93a Add postinst and prerm scripts for debian and rpm 2019-01-09 23:17:16 -06:00
Chris Freehill b9b0b26a78 Add postinst and prerm scripts for debian and rpm 2019-01-09 10:28:01 -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 3289fc6073 Merge pull request #7 from cfreehill/master
Handle case where PCIe information is not implemented in system
2018-12-19 17:33:01 -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 85cc754a83 Merge pull request #6 from cfreehill/master
Add rsmi_version_get_function()
2018-12-07 13:14:43 -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 499fcac759 Merge pull request #5 from cfreehill/get_set_pcie
Get and set PCIe transaction rate
2018-11-20 16:03:48 -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 b9c6a5a443 Add gtest based testing 2018-10-24 11:57:03 -05:00
Chris Freehill b2f1ee1764 Comment corrections, debug output and assert added 2018-10-22 17:26:38 -05:00
cfreehill e046fbdddf Merge pull request #3 from RadeonOpenCompute/roc-1.9.x
Correct the number of allowable power profiles
2018-10-05 23:14:47 -05:00
Chris Freehill f083c9c919 Correct the number of allowable power profiles 2018-10-05 23:09:28 -05:00
Gregory Stoner d72d7eb5a5 Update README.md 2018-09-23 20:35:10 -05:00
Gregory Stoner 1b12c8c981 Update README.md 2018-09-23 20:34:22 -05:00
Gregory Stoner 88e3eadac7 Update README.md 2018-09-16 12:33:37 -05:00
Gregory Stoner 959468d0b6 Update README.md 2018-09-16 12:32:33 -05:00
cfreehill 65ee227637 Merge pull request #1 from RadeonOpenCompute/roc-1.9.x
ROCm 1.9.0
2018-09-16 00:17:05 -05:00
Chris Freehill 53b7ae1113 ROCm 1.9.0 update 2018-09-16 00:13:29 -05:00
Gregory Stoner 87e7a6fad4 Update README.md 2018-08-01 21:12:56 -05:00
Gregory Stoner 583c976672 Update README.md 2017-10-30 15:11:36 -05:00
Gregory Stoner df6210e389 Update README.md 2017-10-30 15:09:42 -05:00
Gregory Stoner 48e40cc418 Rename license.txt to License.txt 2017-10-30 15:05:33 -05:00
Gregory Stoner a669f562a7 Create license.txt 2017-10-30 15:04:53 -05:00
cfreehill 716a8a0661 Update README.md 2017-10-30 12:15:12 -05:00