Deepak Mewar
bea3335941
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
[ROCm/amdsmi commit: 8d7b6ee5d1 ]
2023-05-11 10:44:50 -04:00
Deepak Mewar
745c085024
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
[ROCm/amdsmi commit: 7c82c5ec79 ]
2023-05-11 10:44:40 -04:00
Deepak Mewar
f33edadf51
Renamed API amdsmi_dev_get_volt_metric to
...
amdsmi_get_gpu_volt_metric
grep -rli 'amdsmi_dev_get_volt_metric' * | xargs -i@ sed -i
's/amdsmi_dev_get_volt_metric/amdsmi_get_gpu_volt_metric/g' @
Change-Id: Icd34fa435d067815d83b61e84b70b1d78105f8b6
[ROCm/amdsmi commit: 1358f3cfd0 ]
2023-05-11 10:44:28 -04:00
Deepak Mewar
da14f8b791
Renamed API amdsmi_dev_get_temp_metric to
...
amdsmi_get_temp_metric
grep -rli 'amdsmi_dev_get_temp_metric' * | xargs -i@ sed -i
's/amdsmi_dev_get_temp_metric/amdsmi_get_temp_metric/g' @
Change-Id: I4a342f9d1c5183afdeac67506fef73e895911283
[ROCm/amdsmi commit: d3289258b4 ]
2023-05-11 10:44:16 -04:00
Deepak Mewar
1ad0c6af8f
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
[ROCm/amdsmi commit: 3b62d7629f ]
2023-05-11 10:44:01 -04:00
Deepak Mewar
c5f250fc2d
Renamed API amdsmi_dev_get_fan_rpms to
...
amdsmi_get_gpu_fan_rpms
grep -rli 'amdsmi_dev_get_fan_rpms' * | xargs -i@ sed -i
's/amdsmi_dev_get_fan_rpms/amdsmi_get_gpu_fan_rpms/g' @
Change-Id: Iaedac65cba608c3661dbf80399b236c7aa33dac1
[ROCm/amdsmi commit: 825b12a437 ]
2023-05-11 10:43:46 -04:00
Deepak Mewar
3468278498
Renamed API amdsmi_dev_get_memory_reserved_pages
...
to amdsmi_get_gpu_memory_reserved_pages
grep -rli 'amdsmi_dev_get_memory_reserved_pages' * | xargs -i@ sed -i
's/amdsmi_dev_get_memory_reserved_pages/amdsmi_get_gpu_memory_reserved_pages/g' @
Change-Id: I1b17fe4540f39c820b9e3e8102440cc91a27ee16
[ROCm/amdsmi commit: a248959ad9 ]
2023-05-11 10:43:25 -04:00
Deepak Mewar
2dbe69b567
Renamed API amdsmi_dev_get_memory_busy_percent to
...
amdsmi_get_gpu_memory_busy_percent
grep -rli 'amdsmi_dev_get_memory_busy_percent' * | xargs -i@ sed -i
's/amdsmi_dev_get_memory_busy_percent/amdsmi_get_gpu_memory_busy_percent/g' @
Change-Id: I379d8a31074635cd086c1bb0d0e231d3b352725c
[ROCm/amdsmi commit: ed45afc512 ]
2023-05-11 10:43:13 -04:00
Deepak Mewar
cd92afe97e
Renamed API amdsmi_dev_get_memory_usage to
...
amdsmi_get_gpu_memory_usage
grep -rli 'amdsmi_dev_get_memory_usage' * | xargs -i@ sed -i
's/amdsmi_dev_get_memory_usage/amdsmi_get_gpu_memory_usage/g' @
Change-Id: I04f44c7d7c06490d25f136c77ba545c3010a2e18
[ROCm/amdsmi commit: 84613dcf1d ]
2023-05-11 10:42:41 -04:00
Deepak Mewar
4a662552fb
Renamed API amdsmi_dev_get_memory_total to
...
amdsmi_get_gpu_memory_total
grep -rli 'amdsmi_dev_get_memory_total' * | xargs -i@ sed -i
's/amdsmi_dev_get_memory_total/amdsmi_get_gpu_memory_total/g' @
Change-Id: I06dc20f4bf783c0ee824a6d4b4f7162166c598cb
[ROCm/amdsmi commit: cdad242947 ]
2023-05-11 10:42:26 -04:00
Deepak Mewar
8b81aaf620
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
[ROCm/amdsmi commit: dec22a9b44 ]
2023-05-11 10:42:06 -04:00
Deepak Mewar
66ee0ae0c6
Renamed API amdsmi_dev_set_power_cap to
...
amdsmi_set_power_cap
grep -rli 'amdsmi_dev_set_power_cap' * | xargs -i@ sed -i
's/amdsmi_dev_set_power_cap/amdsmi_set_power_cap/g' @
Change-Id: I226f90f0fce12ea4f832a2ea46c3dc60f6e9fe23
[ROCm/amdsmi commit: 757765a1e3 ]
2023-05-11 10:41:48 -04:00
Deepak Mewar
2c8a473c52
Renamed API amdsmi_dev_get_energy_count to
...
amdsmi_get_energy_count
grep -rli 'amdsmi_dev_get_energy_count' * | xargs -i@ sed -i
's/amdsmi_dev_get_energy_count/amdsmi_get_energy_count/g' @
Change-Id: Ifba096376069da3b82d0de3e031cc2adb9cc2f7f
[ROCm/amdsmi commit: 258a21790b ]
2023-05-11 10:41:27 -04:00
Deepak Mewar
db8f437298
Renamed API amdsmi_dev_get_power_ave to
...
amdsmi_get_power_ave
grep -rli 'amdsmi_dev_get_power_ave' * | xargs -i@ sed -i
's/amdsmi_dev_get_power_ave/amdsmi_get_power_ave/g' @
Change-Id: Ie10de251d1e7b884b6233af05b37ff7b56075d4b
[ROCm/amdsmi commit: 394a1b4d67 ]
2023-05-11 10:41:08 -04:00
Deepak Mewar
9807a774bb
Renamed API amdsmi_get_vram_usage to
...
amdsmi_get_gpu_vram_usage
grep -rli 'amdsmi_get_vram_usage' * | xargs -i@ sed -i
's/amdsmi_get_vram_usage/amdsmi_get_gpu_vram_usage/g' @
Change-Id: Ieac19b7783e5ea0bc2654bd8398d64d4a937be42
[ROCm/amdsmi commit: cc1a9d4522 ]
2023-05-11 10:40:49 -04:00
Deepak Mewar
72e7af8198
Renamed API amdsmi_get_vbios_info to
...
amdsmi_get_gpu_vbios_info
grep -rli 'amdsmi_get_vbios_info' * | xargs -i@ sed -i
's/amdsmi_get_vbios_info/amdsmi_get_gpu_vbios_info/g' @
Change-Id: I90249704db3d77eca6b09c33ef3f2cec5eda77a2
[ROCm/amdsmi commit: 508d2612d3 ]
2023-05-11 10:40:15 -04:00
Deepak Mewar
a8d932a9bb
Renamed API amdsmi_dev_set_pci_bandwidth to
...
amdsmi_set_gpu_pci_bandwidth
grep -rli 'amdsmi_dev_set_pci_bandwidth' * | xargs -i@ sed -i
's/amdsmi_dev_set_pci_bandwidth/amdsmi_set_gpu_pci_bandwidth/g' @
Change-Id: Id4312cfe5fddb63c42c4c6ca0a9a1d94b83f7164
[ROCm/amdsmi commit: 24c0005e15 ]
2023-05-11 10:39:39 -04:00
Deepak Mewar
a3c4c55c33
Renamed API amdsmi_dev_get_pci_replay_counter to
...
amdsmi_get_gpu_pci_replay_counter
grep -rli 'amdsmi_dev_get_pci_replay_counter' * | xargs -i@ sed -i
's/amdsmi_dev_get_pci_replay_counter/amdsmi_get_gpu_pci_replay_counter/g' @
Change-Id: Ic6ad26e35cb6cf73f87a71d39abf38d3afac4be4
[ROCm/amdsmi commit: d8e22b9687 ]
2023-05-11 10:38:28 -04:00
Deepak Mewar
642986764b
Renamed API amdsmi_dev_get_pci_throughput to
...
amdsmi_get_gpu_pci_throughput
grep -rli 'amdsmi_dev_get_pci_throughput' * | xargs -i@ sed -i
's/amdsmi_dev_get_pci_throughput/amdsmi_get_gpu_pci_throughput/g' @
Change-Id: Id6dbd3591d59954622237770e15320583b63dbe0
[ROCm/amdsmi commit: 931099683b ]
2023-05-11 10:38:08 -04:00
Deepak Mewar
52c0195b86
Renamed API amdsmi_topo_get_numa_affinity to
...
amdsmi_get_gpu_topo_numa_affinity
grep -rli 'amdsmi_topo_get_numa_affinity' * | xargs -i@ sed -i
's/amdsmi_topo_get_numa_affinity/amdsmi_get_gpu_topo_numa_affinity/g' @
Change-Id: If24a64e9e508bbd728570da5c3e69df5b802b59a
[ROCm/amdsmi commit: 83720266dd ]
2023-05-11 10:37:44 -04:00
Deepak Mewar
6bd013ba58
Renamed API amdsmi_dev_get_pci_id to
...
amdsmi_get_gpu_pci_id
grep -rli 'amdsmi_dev_get_pci_id' * | xargs -i@ sed -i
's/amdsmi_dev_get_pci_id/amdsmi_get_gpu_pci_id/g' @
Change-Id: If5454038cf582bdf3c657f466d0f6eb1dd3c14e0
[ROCm/amdsmi commit: 55ddbdc67e ]
2023-05-11 10:37:12 -04:00
Deepak Mewar
3c3dc03704
Renamed API amdsmi_get_board_info to
...
amdsmi_get_gpu_board_info
grep -rli 'amdsmi_get_board_info' * | xargs -i@ sed -i
's/amdsmi_get_board_info/amdsmi_get_gpu_board_info/g' @
Change-Id: Ia3fb361aaf5832813e7ce41bfb88fbbf1432020b
[ROCm/amdsmi commit: 928b7e2a4d ]
2023-05-11 10:36:10 -04:00
Deepak Mewar
e53fdb26ca
Renamed API amdsmi_dev_get_pci_bandwidth to
...
amdsmi_get_gpu_pci_bandwidth
grep -rli 'amdsmi_dev_get_pci_bandwidth' * | xargs -i@ sed -i
's/amdsmi_dev_get_pci_bandwidth/amdsmi_get_gpu_pci_bandwidth/g' @
Change-Id: I43e5fc475f933b33770b6c2244232fca811c2036
[ROCm/amdsmi commit: 9b76d64944 ]
2023-05-11 10:35:49 -04:00
Deepak Mewar
0bd6f365bc
Renamed API amdsmi_get_asic_info to
...
amdsmi_get_gpu_asic_info
grep -rli 'amdsmi_get_asic_info' * | xargs -i@ sed -i
's/amdsmi_get_asic_info/amdsmi_get_gpu_asic_info/g' @
Change-Id: I4586c7f8876eba7b8af33b5ea29afa8bacb85a9a
[ROCm/amdsmi commit: 1f9074916f ]
2023-05-11 10:35:09 -04:00
Deepak Mewar
404b8229ac
Renamed API amdsmi_get_driver_version to
...
amdsmi_get_gpu_driver_version
grep -rli 'amdsmi_get_driver_version' * | xargs -i@ sed -i
's/amdsmi_get_driver_version/amdsmi_get_gpu_driver_version/g' @
Change-Id: Ic1dfb17f7595210ec1fcbd5a936fd259e57e9638
[ROCm/amdsmi commit: 8c8f41f893 ]
2023-05-11 10:34:42 -04:00
Deepak Mewar
3ef24c6323
Renamed API amdsmi_dev_get_drm_render_minor to
...
amdsmi_get_gpu_drm_render_minor
grep -rli 'amdsmi_dev_get_drm_render_minor' * | xargs -i@ sed -i
's/amdsmi_dev_get_drm_render_minor/amdsmi_get_gpu_drm_render_minor/g' @
Change-Id: Icf6a1ba28ee3ff7f1fa66bad5d600725aad0bfca
[ROCm/amdsmi commit: ac1b857f24 ]
2023-05-11 10:34:01 -04:00
Deepak Mewar
acd7475ad0
Renamed API amdsmi_dev_get_subsystem_name to
...
amdsmi_get_gpu_subsystem_name
grep -rli 'amdsmi_dev_get_subsystem_name' * | xargs -i@ sed -i
's/amdsmi_dev_get_subsystem_name/amdsmi_get_gpu_subsystem_name/g' @
Change-Id: Ib6f2b03f824e1ee910cfbbd0bab09ad859ec252b
[ROCm/amdsmi commit: 82dbd07b2c ]
2023-05-11 10:33:20 -04:00
Deepak Mewar
cccbca0e65
Renamed API amdsmi_dev_get_subsystem_id to
...
amdsmi_get_gpu_subsystem_id
grep -rli 'amdsmi_dev_get_subsystem_id' * | xargs -i@ sed -i
's/amdsmi_dev_get_subsystem_id/amdsmi_get_gpu_subsystem_id/g' @
Change-Id: I64616ac4c001f7761b8d83120d05d21c5c8e763f
[ROCm/amdsmi commit: 14f1367d6b ]
2023-05-11 10:32:32 -04:00
Deepak Mewar
06cedb0eed
Renamed API amdsmi_dev_get_vram_vendor to
...
amdsmi_get_gpu_vram_vendor
grep -rli 'amdsmi_dev_get_vram_vendor' * | xargs -i@ sed -i
's/amdsmi_dev_get_vram_vendor/amdsmi_get_gpu_vram_vendor/g' @
Change-Id: I3c11643a778f147027d0d3121b9782931439c752
[ROCm/amdsmi commit: f69a6ea64e ]
2023-05-11 10:32:00 -04:00
Deepak Mewar
60a4679846
Renamed API amdsmi_dev_get_vendor_name to
...
amdsmi_get_gpu_vendor_name
grep -rli 'amdsmi_dev_get_vendor_name' * | xargs -i@ sed -i
's/amdsmi_dev_get_vendor_name/amdsmi_get_gpu_vendor_name/g' @
Change-Id: Ib31c1387150d0dd268d1bd54cfb43786c7ec41c1
[ROCm/amdsmi commit: 21da55b9df ]
2023-05-11 10:31:41 -04:00
Deepak Mewar
365abf6b0e
Renamed API amdsmi_dev_get_id to amdsmi_get_gpu_id
...
grep -rli 'amdsmi_dev_get_id' * | xargs -i@ sed -i
's/amdsmi_dev_get_id/amdsmi_get_gpu_id/g' @
Change-Id: I78faeff9a94250454bcecfaa50b5c7cc7e04cb98
[ROCm/amdsmi commit: 20222f771e ]
2023-05-11 10:30:53 -04:00
Deepak Mewar
cb1d3ef3ce
Renamed API amdsmi_get_device_uuid to
...
amdsmi_get_gpu_device_uuid
grep -rli 'amdsmi_get_device_uuid' * | xargs -i@ sed -i
's/amdsmi_get_device_uuid/amdsmi_get_gpu_device_uuid/g' @
Change-Id: I40bf740235a1a98d7d12964378b0b45208987c9e
[ROCm/amdsmi commit: 5ed24711c7 ]
2023-05-11 10:30:32 -04:00
Deepak Mewar
fc8df2885e
Renamed API amdsmi_get_device_bdf to amdsmi_get_gpu_device_bdf
...
grep -rli 'amdsmi_get_device_bdf' * | xargs -i@ sed -i
's/amdsmi_get_device_bdf/amdsmi_get_gpu_device_bdf/g' @
Change-Id: I3db605f8bdb0a83b1f0f7f300a663c47563ba651
[ROCm/amdsmi commit: 3fec3b4b4a ]
2023-05-11 10:30:05 -04:00
Suma Hegde
746e0ffb5c
Change device_type to processor_type
...
also rename amdsmi_get_device_type to amdsmi_get_processor_type
grep -rli 'device_type' * | xargs -i@ sed -i
's/device_type/processor_type/g' @
Change-Id: Ic6a73c1a170757d5ab5d10ad20b4fc2f0b280e78
[ROCm/amdsmi commit: dd00a16124 ]
2023-05-11 10:28:31 -04:00
Suma Hegde
94331a7a90
Change device_handle to processor_handle
...
grep -rli 'device_handle' * | xargs -i@ sed -i
's/device_handle/processor_handle/g' @
Change-Id: Ifc8b7fa3b5488ce1fa8d8cf9eb3981a09450de11
[ROCm/amdsmi commit: 3f9e4d95d4 ]
2023-05-11 10:11:24 -04:00
Suma Hegde
ea0c860a1a
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
[ROCm/amdsmi commit: 3963036a05 ]
2023-05-11 10:09:11 -04:00
Maisam Arif
1de2329c18
SWDEV-380688 - Added CSV Format
...
Change-Id: I609bc9837132fd674bf54480a3220c911b2909d2
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 8ad410f6af ]
2023-04-20 00:06:20 -05:00
Marko Oblak
29a981ecab
SWDEV-394359 - [AMDSMI] [Linux] [Guest] Resolved issue: status string and socket info API failing
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: I6fe3beafbf2cd3d2701dd5f78dac2bcf2d9b3aa9
[ROCm/amdsmi commit: 5e168c8f6a ]
2023-04-19 05:43:25 -04:00
Maisam Arif
d048ee8e14
SWDEV-381302 - Added Error handling for Set & Metric
...
Bug Fixes for Set and Fan
Updated lib_amdsmi.so directory access
Backwards compatability fixes for gpuv-smi
Change-Id: I3b7977859c750c1c3d6f41eaa761c81d8b9e5184
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 0830e983d8 ]
2023-04-18 10:27:50 -05:00
Maisam Arif
584d563ed9
AMDSMI CLI Version 0.0.2
...
Added Rocm Set Commands
Wrapped all amdsmi_interface calls with error handling
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ic6b3648ef01ded8ee1fb7f0f14f3ca7bc069c567
[ROCm/amdsmi commit: 4cc7244fb6 ]
2023-03-30 01:25:11 -05:00
Maisam Arif
24c96943d4
AMDSMI CLI Initial Packaging
...
- Added CMake packaging to the amdsmi_cli folder
- Updated Headings in the README.md to follow markdown standard
- Updated Compatibility to be based on the built package name in bin
- Added misc error handling and import corrections
- Updated py-interface amdsmi_exception imports to work by relative path
- Cleaned up py-interface cmake & generator code for finding libamd_smi.so
- Changed line endings in tools/generator.py file to unix
Change-Id: I91858ff3dd0cb57ed9b8cd61a0ada27b6af9c51c
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 235c8db949 ]
2023-03-20 10:50:21 -05:00
Maisam Arif
b8f463cda5
AMDSMI_CLI version 0.0.1
...
Change-Id: I0b02ddf1cc22753635062475cccadcc235e3a603
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: aa70b77ec5 ]
2023-03-20 08:51:35 -05:00
Dalibor Stanisavljevic
08e3cdccf4
SWDEV-380736 - Adjusted ouput for amdsmi_get_vram_usage
...
Change-Id: I6a2cd2353a0c3fafc3a3690098a1e279ecd30378
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 7b176fc2df ]
2023-02-24 14:47:07 +01:00
Marko Oblak
839c93fa14
SWDEV-384518 - [AMDSMI] [Navi32] [Linux] [BM] [Guest] Fixed RAS enabled Python interface
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: Iacdb57ddc63ea3e7ce5c19506577487ab18c0c89
[ROCm/amdsmi commit: b43b6e71c2 ]
2023-02-23 15:51:45 +01:00
Dalibor Stanisavljevic
c121d6f631
SWDEV-373295 - Updated python interface
...
Change-Id: I882179d97a4f522deb0e8b9cdbff85d9b23471ab
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 08bcaee3e2 ]
2023-01-25 14:21:24 +01:00
Dalibor Stanisavljevic
b23d1daf49
SWDEV-375113 - Fixed process info
...
The format of the fdinfo file has changed
Change-Id: Iad2e26487e75f3e614e364456e929aa1f6f949a4
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 411ef54087 ]
2023-01-23 08:13:55 -05:00
Dalibor Stanisavljevic
431fa8b190
SWDEV-373295 - Added power_limit field in python api
...
Change-Id: Ie81e78eb9930fb0d8132ee9f119e291afbcad84f
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: a926f42599 ]
2023-01-23 03:36:00 -05:00
Dalibor Stanisavljevic
f4828ee580
Revert "Adjusted folder naming and moved amdsmi_cli into amdsmi project folder"
...
This reverts commit 1246feb70d
because build failed
Change-Id: Id9efa22f3e1167e1b1bb235b449aef60256c0e24
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: ed8f865341 ]
2023-01-19 15:40:28 +01:00
Maisam Arif
1246feb70d
Adjusted folder naming and moved amdsmi_cli into amdsmi project folder
...
Change-Id: I4b7c42161fc92450f496483e5b49c7def6810437
[ROCm/amdsmi commit: 3eadf3a216 ]
2023-01-18 08:47:38 -06:00
Jason Albert
a9b7294d85
Remove tag values from enum/union/struct declarations
...
The tag values largely were not used and were causing doxygen
generation issues.
In the few cases where the tags were being referenced, clean up
those compile issues.
Signed-off-by: Jason Albert <jason.albert@amd.com >
Change-Id: I7b32eac742fb5af560400c13dda2721705d882bc
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 86de0f441f ]
2023-01-16 13:14:45 +01:00