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
Maisam Arif
5dba2f3120
Updated License Dates
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Id6fd66b03c602232ecc1a063a534a15fe3a03f56
2023-11-07 03:57:08 -05:00
Deepak Mewar
0cb9e157db
Renamed API amdsmi_counter_get_available_counters
...
to amdsmi_get_gpu_available_counters
grep -rli 'amdsmi_counter_get_available_counters' * | xargs -i@ sed -i
's/amdsmi_counter_get_available_counters/amdsmi_get_gpu_available_counters/g' @
Change-Id: Ief60be6c95f2ea4d0f6f91b153263d95710e6942
2023-05-11 10:56:57 -04:00
Deepak Mewar
7a6c26244e
Renamed API amdsmi_read_counter
...
to amdsmi_gpu_read_counter
grep -rli 'amdsmi_read_counter' * | xargs -i@ sed -i
's/amdsmi_read_counter/amdsmi_gpu_read_counter/g' @
Change-Id: Ie9fec914358dd901930db54ab94e05f2fe32fa5a
2023-05-11 10:55:52 -04:00
Deepak Mewar
6e1a72d2c1
Renamed API amdsmi_control_counter
...
to amdsmi_gpu_control_counter
grep -rli 'amdsmi_control_counter' * | xargs -i@ sed -i
's/amdsmi_control_counter/amdsmi_gpu_control_counter/g' @
Change-Id: Ibdcd32327ebd2646375fb5c3b913cb528ac8aa97
2023-05-11 10:55:36 -04:00
Deepak Mewar
e6dd8d49ba
Renamed API amdsmi_dev_destroy_counter
...
to amdsmi_gpu_destroy_counter
grep -rli 'amdsmi_dev_destroy_counter' * | xargs -i@ sed -i
's/amdsmi_dev_destroy_counter/amdsmi_gpu_destroy_counter/g' @
Change-Id: I328f65f5a2a86108ee5b217f95ed0f4f03745286
2023-05-11 10:55:22 -04:00
Deepak Mewar
0c435b81c2
Renamed API amdsmi_dev_create_counter
...
to amdsmi_gpu_create_counter
grep -rli 'amdsmi_dev_create_counter' * | xargs -i@ sed -i
's/amdsmi_dev_create_counter/amdsmi_gpu_create_counter/g' @
Change-Id: Ic296057314f98547dd6a01b1c7d51668cfe5bc9a
2023-05-11 10:55:06 -04:00
Deepak Mewar
fb419ab655
Renamed API amdsmi_dev_counter_group_supported
...
to amdsmi_gpu_counter_group_supported
grep -rli 'amdsmi_dev_counter_group_supported' * | xargs -i@ sed -i
's/amdsmi_dev_counter_group_supported/amdsmi_gpu_counter_group_supported/g' @
Change-Id: I69a5534f779dc0013bbe75b3d9b2c6074b2f378b
2023-05-11 10:54:57 -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
Suma Hegde
3963036a05
Change amdsmi_device_handle to amdsmi_processor_handle
...
grep -rli 'amdsmi_device_handle' * | xargs -i@ sed -i
's/amdsmi_device_handle/amdsmi_processor_handle/g' @
Change-Id: Ie25c51933dcc31e5b34c8070d0d5ba0e8cd05cc1
2023-05-11 10:09:11 -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
86017b799c
Port more rocm-smi function to amd-smi
...
The API support function, performance counter, process information,
topology and xgmi info.
Change-Id: I3350ec75fdd2ca1438e79134582ae83c49763056
2022-08-24 12:49:27 -05:00