Maisam Arif
e4fac177c1
SWDEV-417124 - Implement Power Management
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ib0d37038e49cec61d5415076a46a5666d95dcea2
2023-09-21 14:23:26 -05:00
Deepak Mewar
8a9771b225
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
2023-07-27 17:29:27 -05:00
Bill(Shuzhou) Liu
55bf9cbe13
Change API to get the driver date
...
Support the driver date from libdrm.
Change-Id: I88e694732b538220e11fdb4029712bb5a6f44380
2023-07-21 08:28:06 -05:00
Bill(Shuzhou) Liu
8f26e881fb
SWDEV-405668 - BDF difference between amdsmi and rocmsmi
...
The render node discovery is changed to match rocm-smi index.
Change-Id: I707d0844b377304f4e8fc15035902c707805c2dc
2023-06-16 17:06:00 -04:00
Suma Hegde
a8acfbf8ff
Renamed amd_smi_device.h to amd_smi_processor.h
...
Change-Id: I9f3cd8b29e4b5e9e552faeb7e977d7a1002abd65
2023-05-11 11:01:14 -04:00
Suma Hegde
6e6176b04a
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
2023-05-11 10:29:35 -04:00
Suma Hegde
ae39d9707d
Change device to processor in API names and variable names
...
Change-Id: Ide71fabeaa837f2035dc9726162cc537e40b4a57
2023-05-11 10:29:01 -04:00
Suma Hegde
dd00a16124
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
2023-05-11 10:28:31 -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
Suma Hegde
c4aa7d2c03
Change AMDSmiDevice to AMDSmiProcessor
...
grep -rli 'AMDSmiDevice' * | xargs -i@ sed -i 's/AMDSmiDevice/AMDSmiProcessor/g' @
Change-Id: Ib71e11d7122699cc62df3c4e9711ce3fc51e6fdf
2023-05-11 10:08:40 -04:00
Marko Oblak
d1325fcf40
SWDEV-379772 - [Navi32] [SMI-LIB] [Linux] [BM] [Guest] Wrong market name
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: I12d3e650851a3aa474ccbf62628b60d4c385e68c
2023-03-06 17:08:33 +01:00
Marko Oblak
8429df989c
SWDEV-371210 - [AMDSMI][LinuxBM] SMILIB returns wrong pcie speed value
...
Signed-off-by: Marko Oblak <Marko.Oblak@amd.com >
Change-Id: Ie3ca6997f11d18505df799fef9cd9d53716d53f9
2023-02-28 11:49:20 +01:00
Dalibor Stanisavljevic
943c42f58f
SWDEV-374716 - Fixed asic info
...
Change-Id: I8d806ef09eca4300fcec0ce6a226d13547dfb728
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2023-01-11 11:03:17 -05:00
Dalibor Stanisavljevic
4c56e9e3d6
SWDEV-371199 - Return NOT_INIT when amdsmi initialization fails
...
Change-Id: Ifb40aef3a62885b08164e9aa944bf9b5c375ebfd
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2022-12-19 16:29:29 +01: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
b34b7451e8
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
2022-11-07 11:09:09 -06:00
Galantsev, Dmitrii
c99e4e1501
Cleanup CMakeLists.txt for packaging
...
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2022-11-03 12:44:23 -05:00
Dejan Andjelkovic
6064f160a3
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 >
2022-10-20 09:24:53 -05:00
Dalibor Stanisavljevic
3daf9c1063
SWDEV-353742 - Port smilib function to amdsmi
...
Change-Id: I99df249755a5c665a8dd1777fa82d046e139bd77
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
2022-10-20 09:24:22 -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