2
0
Gráfico de cometimentos

320 Cometimentos

Autor(a) SHA1 Mensagem Data
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 943c74b6ef SWDEV-446724 - Version command human readable output file format fix
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I94de5b03355b503ade307f2a3881acd07266d6c7
2024-06-24 10:35:34 -05:00
Oliveira, Daniel a20db864b8 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>
2024-06-24 00:38:17 -04: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
Maisam Arif a3497702cb Bump Version to 24.6.1.0 and Update Changelog
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I88b8ad1341d7f1a2e14517db82979bb6b28575e8
2024-06-18 23:54:26 -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
Maisam Arif 2197a393f4 Corrected voltage curve cli output in N/A case
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I77e0888d94ba489eb4820cdd6c20e9f7de04241f
2024-06-06 15:55:22 -04: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 68d8c1ab46 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
2024-05-31 03:05:42 -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 80eeff3dd4 SWDEV-461038 - Enabled Passthrough as BM for CLI Commands
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I1ae6a065f10ce580b45b79c0a8588853f5f304f7
2024-05-30 15:47:14 -04:00
Dalibor Stanisavljevic 458dc8f180 SWDEV-457337 - Header aligment
Missing AMDSMI_STATUS prefix

Change-Id: I15d050a146c92f6897d48317d8fec51d046535d1
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>
2024-05-30 15:35:38 -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
Dalibor Stanisavljevic 7b2463abe0 SWDEV-457337 - Fix header alignment
Change-Id: I9f25f6c4f0d00c76b66d13162f30be11368f5b59
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>
2024-05-23 04:41:57 -04:00
Maisam Arif 721e3ed3ea Bump Version to 24.5.3.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I0d1ecddd650320287446a06cd8ce680c52a89342
2024-05-15 04:28:27 -04:00
Maisam Arif 7d999aa34c SWDEV-458102 - Updates to pp_od_clk_voltage parsing
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I650dae1a99856dcde914fe66917cf9111f3ce0e2
2024-05-15 03:18:24 -05: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
Charis Poag c24d66740e 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>
2024-05-02 10:13:39 -05:00
Maisam Arif 051d5a4d42 Bump Version to 24.5.2.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2f51ed93a356e55156983c56bac293a5d7d3b5c1
2024-05-02 02:53:48 -04: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 e6054be6e7 SWDEV-453493 - Fix Null pointer reference in amd-smi bad-pages
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I10a1278b68cbb464dd0fb38a2de50413f6f43959
2024-04-26 04:04:43 -05: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
khashaik aad42d414a amd-smi_cli: Fix issue for set core boost limit in CPU
Change-Id: I1af4e9d14b1667c5279fcf02cebb4103a92e162c
2024-04-25 02:05:41 -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
Maisam Arif 1bd18c1a65 Added new ecc blocks and adjusted metric --ecc-block filtering
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ib2f69c7d59ee5108024794434fb202b5e4f58738
2024-04-18 15:01:41 -04:00
Maisam Arif c551c3caed 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
2024-04-18 14:00:59 -05:00
Maisam Arif 092908daee Bump Version to 24.5.1.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I842e223b78f337a39098f652fa6e7ef51948fbaf
2024-04-05 02:31:08 -05:00
Maisam Arif 9758a8bc33 Removed fb_sharing fields from Linux BM
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ia2942b9d33699ced1683270454c479701bce1246
2024-04-05 03:01:24 -04:00
Charis Poag 08a3e76b26 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>
2024-04-01 18:37:06 -04:00
Oliveira, Daniel 08e2e21bab 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>
2024-03-27 16:48:24 -05:00
Maisam Arif 9800156a7a Bump Version to 24.5.0.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2509c8c2df54f0c5e9376fc0a21c09adc74f0ea8
2024-03-27 01:08:42 -05:00
Maisam Arif e2e4349bd2 SWDEV-445664 - Aligned metric --ecc & --ecc-blocks with Host
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I93cf2bdab8c4c066bacf0e910e5620d37b362b07
2024-03-26 16:30:31 -04:00
Maisam Arif 93b81e5012 SWDEV-445664 - Aligned metric --clock with Host
Change-Id: Ib4dc372aed61f6301680ac746eccf448e9d0ed00
Signed-off-by: Maisam Arif <maisarif@amd.com>
2024-03-26 16:30:31 -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
Deepak Mewar 1ac1ee4b9a fix for cpu enable apb error
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com>
Change-Id: I092b88484046671857c4adbbbeaba78180b103ab
2024-03-25 06:46:42 -04:00
Oliveira, Daniel 1310c767ce 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>
2024-03-24 23:33:32 -04:00
Maisam Arif 06fa6580c4 SWDEV-438593 - Updated proccess output error handling
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I67747da06362428587dab7467d85d8c9296d442e
2024-03-21 15:34:36 -05:00
Charis Poag 583e5e99bf 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>
2024-03-19 19:54:01 -05:00
Bill(Shuzhou) Liu b2690fdf1e 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
2024-03-13 10:57:15 -04: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 2f8f34946e SWDEV-443112 - Ensured dictionary output when static --bus is empty
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ibd61eeec417a9ff40cb868073b3e1eed2a87cc59
2024-03-11 15:25:28 -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 c8c03dfab0 Revert is not None check for static & metric arugment checks
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I351c88d53c9a626ad4305a7c61dc18b976b853f2
2024-03-04 11:02:50 -06:00
Maisam Arif 463817f344 SWDEV-448626 - Removed gpu prefix in non-csv formats
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I77fc58828a978080482e6ab01ff89f1f5a554dc5
2024-03-01 09:09:23 -06:00
Maisam Arif 69caba8727 Bump Version to 24.4.0.0 & Corrected argument checks for set subcommand
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I651f8ca652c764f30845503dd869f435f728d5ba
2024-02-23 20:47:19 -06: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