Maisam Arif
401d3f229c
Added driver_name to amdsmi_cli tool
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I8f3d52e0b23298443b2b16afec418cbbbc5f77e0
[ROCm/amdsmi commit: 572bf563d1 ]
2023-10-04 08:54:19 -04:00
Maisam Arif
fb0440d493
Added sleep state to amd-smi metric --clock
...
Change-Id: Idb5fbc84a787ef1affdf0449b6dd77ab6e50e91d
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: 95337c88fc ]
2023-09-26 15:21:25 -05:00
Maisam Arif
0d4014c01e
SWDEV-417124 - Implement Power Management
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ib0d37038e49cec61d5415076a46a5666d95dcea2
[ROCm/amdsmi commit: e4fac177c1 ]
2023-09-21 14:23:26 -05:00
Deepak Mewar
263a9fb6f4
esmi library integration update v1.0
...
1. new class files for cpu socket and cpu core created
2. wrapper API's for getting energy monitoring, system
statistics, power monitoring values implemented
3. modified amdsmi init & cleanup functions for esmi lib support
4. modified amdsmi system class for esmi lib support
5. sample test code created in example dir
Change-Id: Ic41f31641c283a681de696bb4346b557265bad42
[ROCm/amdsmi commit: 8a9771b225 ]
2023-07-27 17:29:27 -05:00
Bill(Shuzhou) Liu
4d4f8a4f8c
Change API to get the driver date
...
Support the driver date from libdrm.
Change-Id: I88e694732b538220e11fdb4029712bb5a6f44380
[ROCm/amdsmi commit: 55bf9cbe13 ]
2023-07-21 08:28:06 -05:00
Bill(Shuzhou) Liu
2540d432cc
SWDEV-405668 - BDF difference between amdsmi and rocmsmi
...
The render node discovery is changed to match rocm-smi index.
Change-Id: I707d0844b377304f4e8fc15035902c707805c2dc
[ROCm/amdsmi commit: 8f26e881fb ]
2023-06-16 17:06:00 -04:00
Suma Hegde
13c55d85fe
Renamed amd_smi_device.h to amd_smi_processor.h
...
Change-Id: I9f3cd8b29e4b5e9e552faeb7e977d7a1002abd65
[ROCm/amdsmi commit: a8acfbf8ff ]
2023-05-11 11:01:14 -04:00
Suma Hegde
320b708b6e
Change variable name from device to processor
...
device_count to processor_count
devices to processor
device to processor
also handle_to_device is renamed to handle_to_processor
Change-Id: Ie9c7e01bc1b83058eeaae80934526d06468f4f5c
[ROCm/amdsmi commit: 6e6176b04a ]
2023-05-11 10:29:35 -04:00
Suma Hegde
dd840db708
Change device to processor in API names and variable names
...
Change-Id: Ide71fabeaa837f2035dc9726162cc537e40b4a57
[ROCm/amdsmi commit: ae39d9707d ]
2023-05-11 10:29:01 -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
Suma Hegde
86a4cc3d11
Change AMDSmiDevice to AMDSmiProcessor
...
grep -rli 'AMDSmiDevice' * | xargs -i@ sed -i 's/AMDSmiDevice/AMDSmiProcessor/g' @
Change-Id: Ib71e11d7122699cc62df3c4e9711ce3fc51e6fdf
[ROCm/amdsmi commit: c4aa7d2c03 ]
2023-05-11 10:08:40 -04:00
Marko Oblak
c5054f75f4
SWDEV-379772 - [Navi32] [SMI-LIB] [Linux] [BM] [Guest] Wrong market name
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: I12d3e650851a3aa474ccbf62628b60d4c385e68c
[ROCm/amdsmi commit: d1325fcf40 ]
2023-03-06 17:08:33 +01:00
Marko Oblak
f59498bb9d
SWDEV-371210 - [AMDSMI][LinuxBM] SMILIB returns wrong pcie speed value
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: Ie3ca6997f11d18505df799fef9cd9d53716d53f9
[ROCm/amdsmi commit: 8429df989c ]
2023-02-28 11:49:20 +01:00
Dalibor Stanisavljevic
574874b88f
SWDEV-374716 - Fixed asic info
...
Change-Id: I8d806ef09eca4300fcec0ce6a226d13547dfb728
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 943c42f58f ]
2023-01-11 11:03:17 -05:00
Dalibor Stanisavljevic
467c7fec1d
SWDEV-371199 - Return NOT_INIT when amdsmi initialization fails
...
Change-Id: Ifb40aef3a62885b08164e9aa944bf9b5c375ebfd
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 4c56e9e3d6 ]
2022-12-19 16:29:29 +01:00
Dalibor Stanisavljevic
b48024d883
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 >
[ROCm/amdsmi commit: b4b761d02f ]
2022-12-08 13:34:34 +01:00
Bill(Shuzhou) Liu
2d0fb9744a
Init the amdsmi using rocm_smi for libdrm
...
Init the ams_smi using the rocm-smi, which makes the GPU discovery
consistent with or without libdrm.
Change-Id: Ic714781f8ce791451b0c057621525926edb7f5ee
[ROCm/amdsmi commit: b34b7451e8 ]
2022-11-07 11:09:09 -06:00
Galantsev, Dmitrii
4fede3797c
Cleanup CMakeLists.txt for packaging
...
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: c99e4e1501 ]
2022-11-03 12:44:23 -05:00
Dejan Andjelkovic
14d9160565
SWDEV-361376 - Add python wrapper
...
- Add generator for python wrapper
- Add interface, exception and init files
- Add CMake custom targets
Change-Id: I63c1d94fbb587387c22f559a3db79987eb214a2e
Signed-off-by: Dejan Andjelkovic <Dejan.Andjelkovic@amd.com >
[ROCm/amdsmi commit: 6064f160a3 ]
2022-10-20 09:24:53 -05:00
Dalibor Stanisavljevic
bd4ff14bd0
SWDEV-353742 - Port smilib function to amdsmi
...
Change-Id: I99df249755a5c665a8dd1777fa82d046e139bd77
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 3daf9c1063 ]
2022-10-20 09:24:22 -05:00
Bill(Shuzhou) Liu
d83e3a8b6e
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
[ROCm/amdsmi commit: 0c91ef919d ]
2022-10-20 09:23:51 -05:00