Maisam Arif
210680b570
Removed metric --ecc & --ecc-blocks commands from VM
...
ecc is not supported on VM
Added static --ras because ras features are still detectable
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ied4132b863989dfd67897e00904f04d140fd2773
2024-08-09 18:44:44 -04:00
Maisam Arif
574712386f
Fixed handling in GPU/CPU/CORE select functions
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I83d78a8d6cdcbd54e5c79330be577b3a06a00985
2024-08-05 18:27:30 -04:00
gabrpham
0143041262
Fixed cli issue with empty cpu/core parameter
...
Change-Id: Id0fee74357a56baaec59ca5359eb00a65cfd6185
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
2024-08-05 16:37:36 -05:00
gabrpham
de8145387d
[SWDEV-439701] Additional GPU error handling
...
Change-Id: Ieb35e9712f2a78acef8961d865dba1d824969ef3
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
2024-07-30 16:19:10 -05:00
Maisam Arif
0fc779b14f
[SWDEV-439701] Add missing parameter CLI error cases
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8a6623ccdd7b16be320ea0f6f48b7b6cb3511983
2024-07-18 14:24:00 -04:00
Maisam Arif
6e5c4b422a
Added dmon alias for 'amd-smi monitor'
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I4a787034bd7ab1a0d08d8cfdd038add5c35cdea4
2024-07-02 11:05:59 -04:00
Maisam Arif
27cd092c6d
Updated error code naming to be inline with Host
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I6c66640742a25361ad6399763ee442598ffb0ac6
2024-06-28 08:58:52 -05:00
Maisam Arif
a3758f82dc
SWDEV-457854 - Unified BM error codes
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I5b232de3b598bd3146eb0528f61c628da93278d9
2024-06-25 18:33:40 -05:00
Maisam Arif
92f014059e
SWDEV-435197 - Add process table to CLI monitor subcommand
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Ibe06f4a4be619ae9cba909c2474b0e482eeb87d5
2024-06-19 23:36:55 -05:00
Bill(Shuzhou) Liu
e3c63628e5
Change the clean shader API to clean local data
...
To be align with the unified API.
Change-Id: I2819339fba6f528204cebd3e9605109e82cbc5b4
2024-06-17 16:23:33 -05:00
Maisam Arif
9fb2c967de
SWDEV-466598 - Fixed CLI process outputs
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I902e82b6e78311e99542b109435346889daa49fc
2024-06-08 18:31:08 -05:00
Maisam Arif
37c044696d
Removed Throttle Status from CLI Tool
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I8eb8f30f821589003201d6d8bb96592ec5f8a483
2024-06-07 15:19:48 -05:00
Bill(Shuzhou) Liu
4cf59c4edb
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
2024-06-05 12:07:39 -05:00
Maisam Arif
e5d1ba4621
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
2024-05-31 01:38:41 -04:00
Maisam Arif
927b9c644b
Moved --clear-sram-data to 'amd-smi reset'
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I46eaf7f887b15d6a8d8a31155bb3e448ef0ec04a
2024-05-30 02:26:40 -05:00
Maisam Arif
3855fb2939
Add Process Isolation and Clear SRAM to VM
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I7776e5b10efb2eea798e3e3d523ec5c01a162dc3
2024-05-23 15:33:27 -04:00
Maisam Arif
11c72946eb
Revert "SWDEV-458102 - Deprecated Voltage Curve API"
...
This reverts commit 1423fb632e .
Change-Id: I8a3eaf0a9f28200e09fb35d5260fbc070fe8a4a9
2024-05-02 15:27:16 -05:00
Maisam Arif
1423fb632e
SWDEV-458102 - Deprecated Voltage Curve API
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I111c3ce26d2ab66d5e755432f4b8a9bfa631f805
2024-05-02 02:53:29 -04:00
Maisam Arif
25ef420407
Updated monitor --pcie to use gpu_metrics pcie bandwidth
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Id37aebc0297317edcd0f459a4817f56a6030d902
2024-04-25 20:10:02 -04:00
Bill(Shuzhou) Liu
7d2ab7970d
Process isolation and clean shader
...
A few APIs and command line options are added to support process
isolation and clean shader.
Change-Id: I98ad3fc9fc7429799a21798b7fca1c307de7f403
2024-04-24 13:22:20 -04:00
Bill(Shuzhou) Liu
e4085c6414
Get and set the XGMI PLPD
...
Update the API and CLI to support XGMI Per-Link Power Down Policy.
Change-Id: Iaf04a771eb8bb0829a5b3088d803a7355a8dfd0b
2024-03-26 01:48:14 -05:00
Bill(Shuzhou) Liu
108e6d4ae6
Set and get DPM policy for GPU device
...
Add new APIs to set and get dpm policy for the GPU device.
Change-Id: I26fa49cd17d0ce66bda3446c38945a6cf35717ff
2024-03-12 10:32:31 -04:00
Maisam Arif
dea4fac979
Enabled ecc-blocks argument to linux VM
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I310c227ffa3ef45688a49cdedb43844aafe86339
2024-03-11 15:23:04 -04:00
Maisam Arif
fa7a2838d8
Updated README and removed cpu core option from Static subparser
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I039c0f0ed2f7094aafe8849baea3cec887b7e8ff
2024-02-23 00:41:17 -06:00
Maisam Arif
4ca326d824
SWDEV-436792 - Add XGMI Table
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ia7a43b2b6d01fd32ece00cc26c28ba3088f3aa9e
2024-02-22 23:10:57 -06:00
Maisam Arif
542bfc0c77
SWDEV-445664 - Aligned Metric Command with Host
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I905ee72272bb4c5ccde3e237d2663ec6e0e55034
2024-02-22 07:15:17 -05:00
Maisam Arif
f58613561c
Refactor ESMI Initialization and Argument Parsing
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Iefab3a8110e0d3c525ee0cef1bdef9101550e9de
2024-02-21 19:02:14 -05:00
Maisam Arif
dd18c117e6
Added Monitor command to Guest Linux
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I378a1fcf49d7a69b09b6c93d77a4b084144a5633
2024-02-15 09:45:42 -06:00
Maisam Arif
6292ac513c
SWDEV-440462: Fixed metric functionality to Linux Guest
...
Change-Id: Ia69d01251d1e9bb3717bda3a7d0f752c739393a6
Signed-off-by: Maisam Arif <maisarif@amd.com >
2024-01-21 02:46:15 -06:00
khashaik
27fbbc3388
amdsmi_cli: Update help section
...
- Update help section
Change-Id: Ida8022a27ecc9df3ebef94e27e89624c18a9cf46
2024-01-16 11:41:22 -06:00
khashaik
108ae03c23
amdsmi_cli: Update parser to add neg values check for the cpu and core arguments
...
Change-Id: Ia7959826637e7749d999a6570df590221e85cf50
2024-01-16 11:41:22 -06:00
khashaik
4971466c22
amdsmi_cli: Fix issues for CPU related API's for DIMM
...
- Fix interface issues for dimm temperature, dimm refresh rate and dimm power consumption
Change-Id: I998209c8314e4d78a842187c5a0b127aea7dbef2
2024-01-16 11:41:22 -06:00
Bill(Shuzhou) Liu
9dd24a2b5a
Add the ROCm version in CLI
...
Print the ROCm version in CLI
Change-Id: I529201274e114bde44722aa9a6aec13c2bedecf7
2024-01-04 15:25:08 -06:00
Naveen Krishna Chatradhi
19030e5b72
amdsmi_cli: Add support for CPU specific API in amdsmi_cli tool
...
- Add support for only CPU if only the hsmp driver is driver is present.
- Add support for both the amdgpu and amdcpu's if both the amdgpu driver and cpu's are present.
- Add support for socket power metrics
- Add support for hsmp proto type version, prochot status, read current fclkmclk freq
and current cclk freq limit, c0 residency, lclk dpm level range, socket frequency range
- Add CPU socket current frequency limit.
- Update tool for API's IO bandwidth, XGMI bandwidth,
power telemetry rails, APB enable and APB disable API's
- Add support set_pow_limit, set_xgmi_link_width, set_lclk_dpm_level, core_boost_limit,
curr_active_freq_core_limit, set_soc_boost_limit and set_core_boost_limit.
- Add support for the following cpu related API's in tool
core_energy, socket energy, set power efficiency mode, ddr bandwidth,
cpu temperature, dimm temperature range rate, dimm power consumption
and dimm thermal temperature.
- Add support for set_gmi3_link_width, set_pcie_lnk_rate, set_df_pstate_range
Change-Id: I5a35d1cceeb7df0bc8b7116df7c27bb7f376e839
2023-12-18 06:31:49 -05:00
Maisam Arif
f91fc97fed
SWDEV-413122 - Initial Monitor subcommand
...
Change-Id: Iaeaef77efeaa4289b19f1f676dcae6245f0e0c9e
2023-12-13 23:43:43 -06:00
Maisam Arif
5b36b438b7
Refactor gpu_metrics usage in CLI
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I599878971ab94a768d008f046f2d303ad76fdb3b
2023-11-22 03:32:55 -06:00
Maisam Arif
17ec594543
Parser & Command args cleanup
...
Change-Id: I015acc429acc6172845667fafb8f706d0a83bec1
Signed-off-by: Maisam Arif <maisarif@amd.com >
2023-10-27 19:31:07 -04:00
Maisam Arif
a1b2fb5e0e
Added set & reset --power-cap
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I9fa6378cfcdb2ad9f8406c51d885209605330627
2023-10-17 02:50:22 -05:00
Maisam Arif
6d4d706f08
CLI help text clean up
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I46d8071f2bb38f3a6e366b436e7451116bfb6df9
2023-10-16 16:52:47 -05:00
Maisam Arif
ec24a0f66d
Enabled events subcommand to non-virtual systems
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ied56ef015bba606b1bca1a1108a237d0c1cc7fdb
2023-10-16 16:52:47 -05:00
Maisam Arif
5405615062
Fixed set & reset parser no argument handling
...
Change-Id: If8161059810a9a4fc7845eb4ffd6d3dbd0e8df64
Signed-off-by: Maisam Arif <maisarif@amd.com >
2023-10-16 16:52:47 -05:00
Maisam Arif
2468a6039c
Adjusting cli exception handling
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I37f44f0d07a8d1fc65e6109edf9b4cf7f30695a9
Signed-off-by: Maisam Arif <maisarif@amd.com >
2023-10-16 08:52:41 -04:00
Maisam Arif
ddc63db14c
Added custom help formatters for subparsers
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ib7209ad7188733fa2492cde302f5c82c9c9bfa42
2023-10-16 08:51:43 -04:00
Maisam Arif
a0c2735343
Added memory & compute partitions to cli tool
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I0db6e2b9e3ae2e19397a012e095173ec550c1e42
2023-10-16 08:50:38 -04:00
Maisam Arif
c7726bde3d
Fixed spacing in amd-smi tool output
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I83cb040b81a4d3653417ba7399160eb81e95ce33
2023-10-13 12:07:01 -04:00
Maisam Arif
66eb3de5e4
Added static --cache to cli tool
...
Change-Id: I494d29aba7915a0b8815036977b2636a2da5264e
Signed-off-by: Maisam Arif <maisarif@amd.com >
2023-10-12 10:13:56 -04:00
Maisam Arif
b46ae13011
Corrected total ecc counts
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I48b85d6476b829604044daab420883f94551abe2
2023-10-10 13:23:45 -05:00
Maisam Arif
816a020873
Enabled static --board for guest systems
...
Change-Id: I80e496139e20d8e328a6669f59de8922484c4315
Signed-off-by: Maisam Arif <maisarif@amd.com >
2023-10-09 17:41:08 -05:00
Maisam Arif
02b4b67ca0
Added memory information to Guest
...
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: I3e6b4bba3746c9498d34e6d2840461489eb3bc61
Signed-off-by: Maisam Arif <maisarif@amd.com >
2023-10-09 17:41:08 -05:00
Maisam Arif
f7d631b9cd
Sync commands w/ Host
...
Added ucode as alias to firmware
Changed pcie_width to pcie_lanes
Signed-off-by: Maisam Arif <maisarif@amd.com >
Change-Id: Ia95a13d937c8e1b7bf092b5001de38ea9c008606
2023-10-02 09:30:25 -04:00