Chris Freehill
7e17684532
Correct TestPerfLevelReadWrite test
...
Enums referenced in the test did not match what's in rocm_smi.h.
Added static assert to try to catch this. Also moved enum string
map to test_common.cc/h where other such maps are.
Also, fixed some cpplint issues.
Change-Id: I683553248ceb2fabb28ce1a1208bc9744aaf88d6
2020-12-16 17:12:04 -06:00
Chris Freehill
5465d872aa
Revert "Revert "Support for RSMI_EVNT_GRP_XGMI_DATA_OUT counters""
...
This reverts commit ae6d3fbdd0 .
Change-Id: Ic412a64d35aab74caf12bf4c791f0a66ac15b061
2020-10-08 10:36:30 -04:00
Chris Freehill
ae6d3fbdd0
Revert "Support for RSMI_EVNT_GRP_XGMI_DATA_OUT counters"
...
This reverts commit 946bf93dfb .
Temporarily reverting until the driver side of this is upstream
Change-Id: I2d8243208c1271ebad90bc2ee0fda2dfefb0831b
2020-10-07 18:42:56 -04:00
Chris Freehill
946bf93dfb
Support for RSMI_EVNT_GRP_XGMI_DATA_OUT counters
...
Also some format fixes
Change-Id: Id3c0f6b3cf5b327bb9ca6acb6091dc67764c8032
2020-10-05 17:22:19 -05:00
Divya Shikre
2805ed16a4
Adding current voltage feature & gtest.
...
Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com >
Change-Id: Ic555a3af265e603419e2875d1989a366abc82596
2020-06-16 11:48:56 -04:00
Chris Freehill
a0817d6b13
By default, only consider AMD GPU's in RSMI device list ( #36 )
...
With newly added initialization parameters that can be
passed to rsmi_init(), you can tell RSMI to consider other
devices.
Also:
-fixed incorrect header file name that would break in C
builds
-modified rsmi_init() and rsmi_shut_down() to reinitialize and
clear static structures
2019-05-09 20:45:54 -05:00
Chris Freehill
4e679b9324
Added ECC enabled, status and get functions
2019-04-03 11:17:43 -05:00
Chris Freehill
c77f3c0ebd
Added new clock types
...
Also added missing error code strings and improved test output
messages
2019-03-28 17:01:35 -05:00
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
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
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