Gráfico de Commits

10 Commits

Autor SHA1 Mensagem Data
Deepak Mewar 2bd94db02c Renamed API amdsmi_dev_get_od_volt_info
to amdsmi_get_gpu_od_volt_info

grep -rli 'amdsmi_dev_get_od_volt_info' * | xargs -i@ sed -i
's/amdsmi_dev_get_od_volt_info/amdsmi_get_gpu_od_volt_info/g' @

Change-Id: Icd8658509b28523b7c04f8d2c53efb82689e294b
2023-05-11 10:59:11 -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 0d5be2949b Renamed API amdsmi_set_perf_determinism_mode to
amdsmi_set_gpu_perf_determinism_mode

grep -rli 'amdsmi_set_perf_determinism_mode' * | xargs -i@ sed -i
's/amdsmi_set_perf_determinism_mode/amdsmi_set_gpu_perf_determinism_mode/g' @

Change-Id: I81b3a9738d3063d49ee2ed09a4223ee174d8d904
2023-05-11 10:45: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
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 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