Commit Graph

6 Commits

Author SHA1 Message Date
Chris Freehill 3aef34b9b1 Security improvements
Improvements include
* adding additional build flags that warn about stack-smashing
and type conversion errors
* run-time checks for valid function input values and adquate
space for the result of arithmetic operations.
* make sure default case for switch statements do something
besides just assert
* disable using env. var. debugging in release mode

Change-Id: I5f048310c5c56e05d9ec31bcc273404d6a0dd646


[ROCm/amdsmi commit: d00b9ac07d]
2020-01-16 14:56:27 -06:00
Chris Freehill dc7c6e4d7d Added new id and id name string look up functions
Also, updated docs with typo corrections and a new section


[ROCm/amdsmi commit: cbdfac7bdc]
2019-03-15 16:21:37 -05:00
Chris Freehill 1a39a9d828 Use "_t" suffix consistently for RSMI types
[ROCm/amdsmi commit: bc0d801478]
2019-03-02 16:30:30 -06:00
Chris Freehill 65bfca358a 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.


[ROCm/amdsmi commit: 4ab27528be]
2019-02-08 09:51:10 -06:00
Chris Freehill 455470573e ROCm 1.9.0 update
[ROCm/amdsmi commit: 53b7ae1113]
2018-09-16 00:13:29 -05:00
Chris Freehill e83de0d06b first commit
[ROCm/amdsmi commit: e948ee5e00]
2017-10-30 12:12:40 -05:00