Deepak Mewar
64e8d81af4
Renamed API amdsmi_dev_get_power_profile_presets
...
to amdsmi_get_gpu_power_profile_presets
grep -rli 'amdsmi_dev_get_power_profile_presets' * | xargs -i@ sed -i
's/amdsmi_dev_get_power_profile_presets/amdsmi_get_gpu_power_profile_presets/g' @
Change-Id: Iff3d22517a4c5ece5efe4738618f74946cf600bd
2023-05-11 10:49:30 -04:00
Suma Hegde
40a1904ef9
Renamed API amdsmi_dev_set_perf_level
...
amdsmi_dev_set_perf_level -> amdsmi_set_gpu_perf_level
amdsmi_dev_set_perf_level_v1 -> amdsmi_set_gpu_perf_level_v1
grep -rli 'amdsmi_dev_set_perf_level' * | xargs -i@ sed -i
's/amdsmi_dev_set_perf_level/amdsmi_set_gpu_perf_level/g' @
Change-Id: Ib37766938c9a808d971a49a24979ada8919a329e
2023-05-11 10:46:27 -04:00
Deepak Mewar
3ce4fa3eec
Renamed API amdsmi_dev_get_perf_level to
...
amdsmi_get_gpu_perf_level
grep -rli 'amdsmi_dev_get_perf_level' * | xargs -i@ sed -i
's/amdsmi_dev_get_perf_level/amdsmi_get_gpu_perf_level/g' @
Change-Id: I03ba35c943cf4e6182c910cc90c5f979b6dc13ee
2023-05-11 10:45:17 -04:00
Deepak Mewar
dec22a9b44
Renamed API amdsmi_dev_set_power_profile to
...
amdsmi_set_gpu_power_profile
grep -rli 'amdsmi_dev_set_power_profile' * | xargs -i@ sed -i
's/amdsmi_dev_set_power_profile/amdsmi_set_gpu_power_profile/g' @
Change-Id: I10d7ee19fd86c11bbb7deafefb37df92e78aa2a3
2023-05-11 10:42:06 -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
Bill(Shuzhou) Liu
c8caa80405
Fix the unit tests
...
Fix a few broken unit tests to handle NOT_YET_IMPLEMENTED errors.
Change-Id: If3afac0dc32f2e3e82d83bffa5906b630bb1894a
2022-11-04 08:53:09 -05: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
f1d02aca79
Port rocm-smi function to amd-smi
...
Port most rocm-smi function to amd-smi and add unit tests.
Change-Id: I6387a4bdaf20ead2389c99bb01d438156ccd0747
2022-09-06 12:08:59 -04:00