Galantsev, Dmitrii
12143a4ec8
[SWDEV-471523] - Replace lspci and lscpu with sysfs reads
...
Change-Id: Ia5a12c04d3064787a0f36a961e68533b79e17ed0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: baaa1cc4b6 ]
2024-07-19 00:29:36 -05:00
Maisam Arif
244587525a
Corrected passthrough platform logic
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ibbc4f5dd6300efd16f26efe17bc68eb8c22ed8be
[ROCm/amdsmi commit: b5f9e6a91d ]
2024-07-18 17:54:02 -04:00
Maisam Arif
ad3ba88ba5
[SWDEV-474474] - Changed Monitor PCIE_REPLAY count to use gpu_metrics
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I4351a23e8412875bb4b23b30747ac6d0bf3d3c56
[ROCm/amdsmi commit: 5b7be3bf99 ]
2024-07-18 17:53:49 -04:00
Maisam Arif
a7ea536524
[SWDEV-439701] Add missing parameter CLI error cases
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8a6623ccdd7b16be320ea0f6f48b7b6cb3511983
[ROCm/amdsmi commit: 0fc779b14f ]
2024-07-18 14:24:00 -04:00
Maisam Arif
0865293d27
[SWDEV-472641] Set file opening and writing encoding to utf-8
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ic5cdca41b588341f7894de72dfe3d949378f9a61
[ROCm/amdsmi commit: c83bcb7ac9 ]
2024-07-12 09:46:44 -04:00
Maisam Arif
3a7348925e
Bump Version to 24.6.2.0
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ic389b6783514e88c43958ff5d3413a4c4a8a884f
[ROCm/amdsmi commit: 548938389d ]
2024-07-10 19:15:17 -05:00
Maisam Arif
8462635270
Added dmon alias for 'amd-smi monitor'
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I4a787034bd7ab1a0d08d8cfdd038add5c35cdea4
[ROCm/amdsmi commit: 6e5c4b422a ]
2024-07-02 11:05:59 -04:00
Maisam Arif
8c87907db9
Updated error code naming to be inline with Host
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I6c66640742a25361ad6399763ee442598ffb0ac6
[ROCm/amdsmi commit: 27cd092c6d ]
2024-06-28 08:58:52 -05:00
Maisam Arif
a449323329
SWDEV-457854 - Unified BM error codes
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I5b232de3b598bd3146eb0528f61c628da93278d9
[ROCm/amdsmi commit: a3758f82dc ]
2024-06-25 18:33:40 -05:00
Maisam Arif
4d4ccf4bde
SWDEV-446724 - Version command human readable output file format fix
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I94de5b03355b503ade307f2a3881acd07266d6c7
[ROCm/amdsmi commit: 943c74b6ef ]
2024-06-24 10:35:34 -05:00
Oliveira, Daniel
45652b301b
fix: [SWDEV-466302] [rocm/amd_smi_lib]
...
Fixes `amdsmi_get_gpu_process_list` now requires sudo to access pid and memory information
Code changes related to the following:
* amdsmi_get_gpu_process_list()
* CLI
Change-Id: I72b154c220276b354c350fcc067c9a7c32e6c173
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com >
[ROCm/amdsmi commit: a20db864b8 ]
2024-06-24 00:38:17 -04:00
Maisam Arif
3ef31b3ed0
SWDEV-435197 - Add process table to CLI monitor subcommand
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ibe06f4a4be619ae9cba909c2474b0e482eeb87d5
[ROCm/amdsmi commit: 92f014059e ]
2024-06-19 23:36:55 -05:00
Maisam Arif
5a62ef2b7c
Bump Version to 24.6.1.0 and Update Changelog
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I88b8ad1341d7f1a2e14517db82979bb6b28575e8
[ROCm/amdsmi commit: a3497702cb ]
2024-06-18 23:54:26 -05:00
Bill(Shuzhou) Liu
f86ba0a7c4
Change the clean shader API to clean local data
...
To be align with the unified API.
Change-Id: I2819339fba6f528204cebd3e9605109e82cbc5b4
[ROCm/amdsmi commit: e3c63628e5 ]
2024-06-17 16:23:33 -05:00
Maisam Arif
807ca0ad89
SWDEV-466598 - Fixed CLI process outputs
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I902e82b6e78311e99542b109435346889daa49fc
[ROCm/amdsmi commit: 9fb2c967de ]
2024-06-08 18:31:08 -05:00
Maisam Arif
e154b3c89b
Removed Throttle Status from CLI Tool
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8eb8f30f821589003201d6d8bb96592ec5f8a483
[ROCm/amdsmi commit: 37c044696d ]
2024-06-07 15:19:48 -05:00
Maisam Arif
99f0468803
Corrected voltage curve cli output in N/A case
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I77e0888d94ba489eb4820cdd6c20e9f7de04241f
[ROCm/amdsmi commit: 2197a393f4 ]
2024-06-06 15:55:22 -04:00
Bill(Shuzhou) Liu
b517f3c214
Change the name of clear sram to run cleaner shader
...
The function is to clean the local data in LDS/GPRs. The clear sram
is misleading.
Change-Id: I0385e6d6348602fe0f347d17e48ed8983f7ceb87
[ROCm/amdsmi commit: 4cf59c4edb ]
2024-06-05 12:07:39 -05:00
Maisam Arif
5e32624382
Bump Version to 24.6.0.0 and Update Changelog for 6.2.0
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I7f20094514cbfa32e40a6e4da36785d94839768c
[ROCm/amdsmi commit: 68d8c1ab46 ]
2024-05-31 03:05:42 -05:00
Maisam Arif
7dfe4276cc
Use different sysfs for soc_pstate and xmgi_plpd
...
The sysfs is changed to use the pm_policy folder with multiple
dpm_policy files.
Change-Id: I40fac8de2d0cb127950d238b8196f6d2416778d0
[ROCm/amdsmi commit: e5d1ba4621 ]
2024-05-31 01:38:41 -04:00
Maisam Arif
58177acb0b
SWDEV-461038 - Enabled Passthrough as BM for CLI Commands
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I1ae6a065f10ce580b45b79c0a8588853f5f304f7
[ROCm/amdsmi commit: 80eeff3dd4 ]
2024-05-30 15:47:14 -04:00
Dalibor Stanisavljevic
5153032416
SWDEV-457337 - Header aligment
...
Missing AMDSMI_STATUS prefix
Change-Id: I15d050a146c92f6897d48317d8fec51d046535d1
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 458dc8f180 ]
2024-05-30 15:35:38 -04:00
Maisam Arif
486db45f90
Moved --clear-sram-data to 'amd-smi reset'
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I46eaf7f887b15d6a8d8a31155bb3e448ef0ec04a
[ROCm/amdsmi commit: 927b9c644b ]
2024-05-30 02:26:40 -05:00
Maisam Arif
4a3fb205dc
Add Process Isolation and Clear SRAM to VM
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I7776e5b10efb2eea798e3e3d523ec5c01a162dc3
[ROCm/amdsmi commit: 3855fb2939 ]
2024-05-23 15:33:27 -04:00
Dalibor Stanisavljevic
cdd24a7b0f
SWDEV-457337 - Fix header alignment
...
Change-Id: I9f25f6c4f0d00c76b66d13162f30be11368f5b59
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com >
[ROCm/amdsmi commit: 7b2463abe0 ]
2024-05-23 04:41:57 -04:00
Maisam Arif
7480e4e728
Bump Version to 24.5.3.0
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I0d1ecddd650320287446a06cd8ce680c52a89342
[ROCm/amdsmi commit: 721e3ed3ea ]
2024-05-15 04:28:27 -04:00
Maisam Arif
bbcff5221d
SWDEV-458102 - Updates to pp_od_clk_voltage parsing
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I650dae1a99856dcde914fe66917cf9111f3ce0e2
[ROCm/amdsmi commit: 7d999aa34c ]
2024-05-15 03:18:24 -05:00
Maisam Arif
48131e9481
Revert "SWDEV-458102 - Deprecated Voltage Curve API"
...
This reverts commit cc8eb17759 .
Change-Id: I8a3eaf0a9f28200e09fb35d5260fbc070fe8a4a9
[ROCm/amdsmi commit: 11c72946eb ]
2024-05-02 15:27:16 -05:00
Charis Poag
f7d3417a7f
SWDEV-450580 - Fix powercap set
...
Updates:
* CLI - Added AMDSMIHelpers.convert_SI_unit() to help
conversion of units
* API - Reverted to uW for power cap limits
* CLI - amd-smi static --limit now includes MIN_POWER
* Tests now are all using uW units to keep W conversion
to only happen in CLI
* Python API now reflects same units as uW (what is seen
in amdgpu driver)
* CLI - amd-smi metric --power:
Fixed power seen on gpu_metrics v1.3
Change-Id: I32d9ba78d0d8806772f0860f9a803a885b3f316a
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/amdsmi commit: c24d66740e ]
2024-05-02 10:13:39 -05:00
Maisam Arif
95642995be
Bump Version to 24.5.2.0
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I2f51ed93a356e55156983c56bac293a5d7d3b5c1
[ROCm/amdsmi commit: 051d5a4d42 ]
2024-05-02 02:53:48 -04:00
Maisam Arif
cc8eb17759
SWDEV-458102 - Deprecated Voltage Curve API
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I111c3ce26d2ab66d5e755432f4b8a9bfa631f805
[ROCm/amdsmi commit: 1423fb632e ]
2024-05-02 02:53:29 -04:00
Maisam Arif
30ffa6feb0
SWDEV-453493 - Fix Null pointer reference in amd-smi bad-pages
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I10a1278b68cbb464dd0fb38a2de50413f6f43959
[ROCm/amdsmi commit: e6054be6e7 ]
2024-04-26 04:04:43 -05:00
Maisam Arif
83d5f67750
Updated monitor --pcie to use gpu_metrics pcie bandwidth
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Id37aebc0297317edcd0f459a4817f56a6030d902
[ROCm/amdsmi commit: 25ef420407 ]
2024-04-25 20:10:02 -04:00
khashaik
d906f1891f
amd-smi_cli: Fix issue for set core boost limit in CPU
...
Change-Id: I1af4e9d14b1667c5279fcf02cebb4103a92e162c
[ROCm/amdsmi commit: aad42d414a ]
2024-04-25 02:05:41 -04:00
Bill(Shuzhou) Liu
5b0f4638c4
Process isolation and clean shader
...
A few APIs and command line options are added to support process
isolation and clean shader.
Change-Id: I98ad3fc9fc7429799a21798b7fca1c307de7f403
[ROCm/amdsmi commit: 7d2ab7970d ]
2024-04-24 13:22:20 -04:00
Maisam Arif
cebb07e795
Added new ecc blocks and adjusted metric --ecc-block filtering
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ib2f69c7d59ee5108024794434fb202b5e4f58738
[ROCm/amdsmi commit: 1bd18c1a65 ]
2024-04-18 15:01:41 -04:00
Maisam Arif
9b4f0f1d2b
SWDEV-455131 - Updated process APIs
...
- Removed amdsmi_get_gpu_process_info from python API
- Updated documentation
- Aligned process --json output format to unit & value format
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I82bba1b6df71020b4a5995ff63b9aa62611ce4fe
[ROCm/amdsmi commit: c551c3caed ]
2024-04-18 14:00:59 -05:00
Maisam Arif
552a34f7d5
Bump Version to 24.5.1.0
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I842e223b78f337a39098f652fa6e7ef51948fbaf
[ROCm/amdsmi commit: 092908daee ]
2024-04-05 02:31:08 -05:00
Maisam Arif
bdf4a5da2f
Removed fb_sharing fields from Linux BM
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ia2942b9d33699ced1683270454c479701bce1246
[ROCm/amdsmi commit: 9758a8bc33 ]
2024-04-05 03:01:24 -04:00
Charis Poag
da77ac3975
SWDEV-445668 - Align topology JSON
...
Updates:
- [CLI] Updated json output to provide format
similar to host
eg.
[
{
"gpu": 0,
"bdf": "0000:01:00.0",
"links": [
{
"gpu": 0,
"bdf": "0000:01:00.0",
"weight": 0,
"link_status": "ENABLED",
"link_type": "SELF",
"num_hops": 0,
"bandwidth": "N/A",
"fb_sharing": "ENABLED"
},
{
"gpu": 1,
"bdf": "0001:01:00.0",
"weight": 15,
"link_status": "ENABLED",
"link_type": "XGMI",
"num_hops": 1,
"bandwidth": "50000-100000",
"fb_sharing": "ENABLED"
},
...
]
},
{
...
Change-Id: I63217f63a4d6ebc23a8a84eaac9dbb7aff5f4cb4
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/amdsmi commit: 08a3e76b26 ]
2024-04-01 18:37:06 -04:00
Oliveira, Daniel
9e2b1d8a09
fix: [SWDEV-442525] [rocm/amd_smi_lib]
...
Fixes gpu_process_list
Code changes related to the following:
* amdsmi_get_gpu_process_list()
* CLI
* Examples
* Unit tests
* Changelog
* Readme
* rocm_smi_lib commit: 677433b367
Change-Id: I9210fbca7a5da92d0a8b472b72ca82597c8e4fb5
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com >
[ROCm/amdsmi commit: 08e2e21bab ]
2024-03-27 16:48:24 -05:00
Maisam Arif
dc0771d330
Bump Version to 24.5.0.0
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I2509c8c2df54f0c5e9376fc0a21c09adc74f0ea8
[ROCm/amdsmi commit: 9800156a7a ]
2024-03-27 01:08:42 -05:00
Maisam Arif
980da3b329
SWDEV-445664 - Aligned metric --ecc & --ecc-blocks with Host
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I93cf2bdab8c4c066bacf0e910e5620d37b362b07
[ROCm/amdsmi commit: e2e4349bd2 ]
2024-03-26 16:30:31 -04:00
Maisam Arif
4d62fc8bd6
SWDEV-445664 - Aligned metric --clock with Host
...
Change-Id: Ib4dc372aed61f6301680ac746eccf448e9d0ed00
Signed-off-by: Maisam Arif <maisarif@amd.com >
[ROCm/amdsmi commit: 93b81e5012 ]
2024-03-26 16:30:31 -04:00
Bill(Shuzhou) Liu
b9b958b82c
Get and set the XGMI PLPD
...
Update the API and CLI to support XGMI Per-Link Power Down Policy.
Change-Id: Iaf04a771eb8bb0829a5b3088d803a7355a8dfd0b
[ROCm/amdsmi commit: e4085c6414 ]
2024-03-26 01:48:14 -05:00
Deepak Mewar
16b0ff1657
fix for cpu enable apb error
...
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com >
Change-Id: I092b88484046671857c4adbbbeaba78180b103ab
[ROCm/amdsmi commit: 1ac1ee4b9a ]
2024-03-25 06:46:42 -04:00
Oliveira, Daniel
51d25d8feb
fix: [SWDEV-448201] [rocm/amd_smi_lib]
...
Adds Add PCIE Errors
Code changes related to the following:
* amdsmi_get_pcie_info()
* CLI
* examples
Change-Id: Ie0b7053e77c88fb18309c16e74bce75d862c45a9
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com >
[ROCm/amdsmi commit: 1310c767ce ]
2024-03-24 23:33:32 -04:00
Maisam Arif
438fc0f692
SWDEV-438593 - Updated proccess output error handling
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I67747da06362428587dab7467d85d8c9296d442e
[ROCm/amdsmi commit: 06fa6580c4 ]
2024-03-21 15:34:36 -05:00
Charis Poag
e9190173ea
Update ROCm 6.0/6.1 CHANGELOG.md & README.md
...
* Updates:
- [CHANGELOG.md] Add 6.1 and update 6.0 changes
- [README.md] Update README.md with ROCm install instructions
Change-Id: Ic701ebcb00e5d0af54d8f97707c1cec71a0aac4c
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/amdsmi commit: 583e5e99bf ]
2024-03-19 19:54:01 -05:00
Bill(Shuzhou) Liu
18ae8f3095
Unable to reset GPU from CLI
...
The CLI helper compares the hex vendor id string with the number
and never match it as AMD GPU.
Change-Id: I1ababdce3a3694a5e26e5b0feef4d3d8cd40df7a
[ROCm/amdsmi commit: b2690fdf1e ]
2024-03-13 10:57:15 -04:00