Joe Narlo
d0a7332d32
SWDEV-492272 [AMDSMI] Build/Compiler warnings messages
...
Fix compiler warnings
Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com >
Change-Id: I10657b8f3ef18a9b45311e8f6509958297a57823
2024-12-13 00:38:07 -05:00
Joe Narlo
3052ad4220
SWDEV-495787 [AMDSMI] Different license headers
...
Change copyrights to MIT and remove date
Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com >
Change-Id: I16f5b412f2b9ddefaaa1771aa714cc18829a1be4
2024-11-22 08:55:28 -05:00
Eisuke Kawashima
1b6ec8df07
chore: unset executable permission
...
Change-Id: I06727774f3b1657a7955b172a40d0dfc9c76d6b9
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2024-09-16 17:34:39 -04:00
Maisam Arif
105db1afcd
Udpated License Dates
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8ca199c129c06508bc3e23745ab5ac2d20dce928
2024-09-16 16:14:47 -04:00
Bill(Shuzhou) Liu
9e2fcd0e40
Fix fan write unit test failure
...
Even if fan speed can be read, sometimes the set is not supported.
Change-Id: I8584e6fe170c34144800af78d76f04234def11c8
2023-06-29 07:58:23 -05:00
Deepak Mewar
8d7b6ee5d1
Renamed API amdsmi_dev_set_fan_speed to
...
amdsmi_set_gpu_fan_speed
grep -rli 'amdsmi_dev_set_fan_speed' * | xargs -i@ sed -i
's/amdsmi_dev_set_fan_speed/amdsmi_set_gpu_fan_speed/g' @
Change-Id: I27a321a0e1182b4cc94d18cff5245df67c4fee31
2023-05-11 10:44:50 -04:00
Deepak Mewar
7c82c5ec79
Renamed API amdsmi_dev_reset_fan to
...
amdsmi_reset_gpu_fan
grep -rli 'amdsmi_dev_reset_fan' * | xargs -i@ sed -i
's/amdsmi_dev_reset_fan/amdsmi_reset_gpu_fan/g' @
Change-Id: Ic9d2ed404b4ed2d6973286e6f76b732199c1b687
2023-05-11 10:44:40 -04:00
Deepak Mewar
3b62d7629f
Renamed APIs
...
1) amdsmi_dev_get_fan_speed to amdsmi_get_gpu_fan_speed
2) amdsmi_dev_get_fan_speed_max to amdsmi_get_gpu_fan_speed_max
grep -rli 'amdsmi_dev_get_fan_speed' * | xargs -i@ sed -i
's/amdsmi_dev_get_fan_speed/amdsmi_get_gpu_fan_speed/g' @
Change-Id: I74e93885fe3335bbde8294e3b0863256bb044fcb
2023-05-11 10:44:01 -04:00
Suma Hegde
3f9e4d95d4
Change device_handle to processor_handle
...
grep -rli 'device_handle' * | xargs -i@ sed -i
's/device_handle/processor_handle/g' @
Change-Id: Ifc8b7fa3b5488ce1fa8d8cf9eb3981a09450de11
2023-05-11 10:11:24 -04:00
Bill(Shuzhou) Liu
221d6fdc5c
Make amdsmi function name consistent
...
Some of the amdsmi function have the verb (set or get) at the
end of the function. Move it to the middle to be consistent with
other APIs.
Change-Id: I8053d16f46af951c25aaaf8febf2896a33633fa1
2022-12-16 10:20:49 -06:00
Dalibor Stanisavljevic
b4b761d02f
SWDEV-370223 - Change the name of the header to amdsmi.h
...
Change dev to device_handle throughout the file
Change the pcie_info pcie_speed field type to uint32_t
Add AMDSMI prefix before amdsmi_mm_ip enum
Change-Id: I242145389ddc3f2ad05dfd6ca371640f4d118fc4
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2022-12-08 13:34:34 +01:00
Galantsev, Dmitrii
7957b63dd4
Cleanup tests
...
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2022-11-03 13:30:16 -05:00
Bill(Shuzhou) Liu
0c91ef919d
Restructure the folder
...
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
2022-10-20 09:23:51 -05:00
Bill(Shuzhou) Liu
98df483bef
Add unit test support
...
Add gtest based unit test framework. Implement fan read/write function.
Change-Id: I83375c24b99d24d01d12bccda863a38f75f5987f
2022-08-05 09:55:34 -04:00