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
63064b0000
Quiet address sanitizer warnings
...
Also,
* Fix some doxygen issues
* Fix address sanitizer issues in rsmitst
Change-Id: Ie6c6fd9af5c418210b7064e79650fb92cd4a5e2b
2020-11-10 14:16:39 -06: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
aaecfd6fff
Adjust how we read ECC block counter status
...
This change corresponds to kernel changes.
Change-Id: Ibd977e8b3338349036cb16e55fb0b2c9c187726d
2019-08-09 16:06:43 -05:00
Kent Russell
a34832f11e
Fix RAS change
...
RAS formatting changed, so get it to handle both types of sysfs output
until it's normalized
Change-Id: I56f2a2495af8ff4d01011bc614283376afb9ad0a
2019-08-08 12:09:18 -04:00
Chris Freehill
1c5e090507
Add rsmi_dev_memory_busy_percent_get()
...
Change-Id: Ide683b6c72870af547331f4502c5bb8c445d61b5
2019-06-25 19:09:13 -05:00
Chris Freehill
84e3c541d1
Add "Disabled" state to ECC states
2019-04-04 15:27:15 -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
b9c6a5a443
Add gtest based testing
2018-10-24 11:57:03 -05:00