Instead of using assert to abort the application, the fix will
return the error code if the input parameters is incorrect.
Change-Id: I00861ddf1198386fb322ea06232a7178fb5ef4bd
[ROCm/amdsmi commit: 8d347bb6c4]
When the sysfs file does not exist, it will return NOT_SUPPORTED
instead of assert faiure.
Change-Id: I3a1c9d7cf627901e141e2617496dfafd2e6b3f25
[ROCm/amdsmi commit: 0a3ca5c555]
Move rocm_smi related function to rocm_smi folder. Move amd_smi to
top level include/ and src/ folder. Remove obsolte oam folder.
Change the CMakeLists.txt to update folder locations.
Change-Id: I52e6be739e49f3b0545865f25364787f5985e9c3
[ROCm/amdsmi commit: 0c91ef919d]
Remove the compile time dependency on libdrm. Load it at the run
time instead.
Add the headers missed from smi-lib
Change-Id: Ie1ecf293b51425b6a61c502d11a42809dc099f70
[ROCm/amdsmi commit: 5ba371f285]
The init version includes the amd_smi.h header, an example uses the
amd_smi, folder structure and CMake files.
Add the support to libdrm.
Change-Id: I779e55e4cf9491c61dc226a30d24e96be9bc6016
[ROCm/amdsmi commit: 91ad08aa65]
Also update copyright years
Signed-off-by: Kent Russell <kent.russell@amd.com>
Change-Id: Ic9ead543c4937680afc1957623c4d5fcbfbd58b0
[ROCm/amdsmi commit: 85571318e2]
Wrapper header files
Soft link to libraries and binaries
rocm_smi.py and rsmiBindings.py installed in libexec/rocm_smi
Binaries, libraries and header files installed as per File Reorg folder structure
Change-Id: I3166ab67f89c2ae4aafbc87bb00c9a5233221ade
[ROCm/amdsmi commit: f1da5591b5]
When build the release, it will strip the library file instead of link.
Change-Id: Ib2d4cea614e8938bdb2be0fd74f046680158d256
[ROCm/amdsmi commit: 77502bed2a]
rocm_smi will provide cmake files exporting the INCLUDE/LIBRARY targets.
Change-Id: I1943a3142bdc0abd8f03ff62e12e947aac835401
[ROCm/amdsmi commit: 088fe48d12]
README should be at root to display in github main page.
Also, removed paragraph related to API changes early
in development.
Change-Id: I2e92573a31d3caa7790364de9356c6d7e7be553d
[ROCm/amdsmi commit: da64e284dc]
This corrects issues that arose after OAM reorganization.
It should address SWDEV-243294.
Also, fix some compile warnings that show up on RHEL.
Change-Id: Id14d444905da35cd7346bcfbcd82b6d0572708c4
[ROCm/amdsmi commit: c2ef9a6879]