Wykres commitów

1658 Commity

Autor SHA1 Wiadomość Data
Arif, Maisam 7ff8041afa Revert "[SWDEV-493519] Fix Getting Version Information (#201)"
This reverts commit df8ee3db85.
2025-03-28 21:37:14 -05:00
Yuan, Perry 68e44c7f66 [SWDEV-482949] Add CPU model name querying support (#33)
- Add support to check CPU vendor info which will be called by RDC to
discovery CPU information
- Move esmi headers declaration to impl/amd_smi_common.h
- remove duplicated amdsmi_cpu_util_t

---------

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: Deepak Mewar <deepak.mewar@amd.com>
2025-03-28 21:21:39 -05:00
Arif, Maisam 13c222a103 [SWDEV-524528] Nullptr check correction for TestErrCntRead (#211)
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I1331a69544a6f5b7b61ea4655b635b42bbb56444
2025-03-28 11:18:22 -05:00
Narlo, Joseph df8ee3db85 [SWDEV-493519] Fix Getting Version Information (#201)
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com>
2025-03-28 11:12:21 -05:00
Maisam Arif 3aac3801d1 [SWDEV-524528] Nullptr check correction for TestErrCntRead
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I1331a69544a6f5b7b61ea4655b635b42bbb56444
2025-03-28 11:11:58 -05:00
Mallya, Ameya Keshava edf70ea81a Added KWS check for amd-mainline
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>
2025-03-28 08:07:02 -07:00
Arif, Maisam a5707dfced [SWDEV-500518] Updated AMDSMI sanity checks (#209) 2025-03-27 21:58:09 -05:00
Justin Williams 4e3a197dcc [SWDEV-500518] Updated AMDSMI sanity checks
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
2025-03-27 18:35:13 -05:00
Liu, Shuzhou (Bill) 9b6e0432b2 [SWDEV-524147] Patch for handling new ras filenames (#205)
The code is changed to handle both original and ACA based ECC counters
for backward compatibilities.

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-27 15:36:43 -05:00
Kanangot Balakrishnan, Bindhiya 7d109001ac [SWDEV-513855] Add power cap to power monitor (#193)
Added power cap to display on amd-smi monitor -p.
Updated help and Changelog as well.

Signed-off-by: Kanangot Balakrishnan, Bindhiya <Bindhiya.KanangotBalakrishnan@amd.com>
2025-03-26 17:45:08 -05:00
Kanangot Balakrishnan, Bindhiya 9b64dcb61a [SWDEV-513958] Add help flag to valid commands (#204)
Added '-h' flag to valid first input command list

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
2025-03-26 17:43:28 -05:00
Kanangot Balakrishnan, Bindhiya 3ddfbcc0a3 [SWDEV-520148] Modify VRAM details in monitor output (#199)
Earlier amd-smi monitor was showing VRAM usage as used and total.
Modified it to display free VRAM and VRAM percentage. Updated
Changelog.

Signed-off-by: Kanangot Balakrishnan, Bindhiya <Bindhiya.KanangotBalakrishnan@amd.com>
2025-03-26 13:12:41 -05:00
Kanangot Balakrishnan, Bindhiya 3681f900ee [SWDEV-513958] Fix error message due to argparse behavior (#108)
When argparse parses multiple invalid arguments, the error
message displays only the last argument and this leads to
confusion. To avoid the scenario, added valid command check
before argparse and in case of invalid first command, added
new exception.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
2025-03-26 13:11:17 -05:00
Su, Daniel dc7a5bb925 External CI: enable trigger for amd-mainline (#189)
Signed-off-by: Su, Daniel <Daniel.Su@amd.com>
2025-03-26 12:31:30 -05:00
Galantsev, Dmitrii 27f1466416 CHANGELOG - Remove power api breakage info (#202)
Change-Id: Ida7b02f0731915b4ca659ca54f952618527e5cdf

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-26 10:32:45 -05:00
Williams, Justin 50a1c2905a [SWDEV-500518] Fixed Uninstall Checks (#187)
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
2025-03-26 08:57:05 -05:00
Pham, Gabriel b72cd22225 [SWDEV-520754] Fixed str int concatenation issue (#186)
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com>
2025-03-25 17:43:59 -05:00
Poag, Charis 0402bb4d75 [SWDEV-513807] Fix amd-smi partition --accelerator not returning AMDSMI_STATUS_NO_PERM (#192)
* [SWDEV-513807] Fix amd-smi partition --accelerator not returning AMDSMI_STATUS_NO_PERM

Changes:
- Fixed amdsmi_get_gpu_accelerator_partition_profile_config() from not
  returning AMDSMI_STATUS_NO_PERM
- Changed amd-smi partition --accelerator to provide user with a warning
  if users does not use sudo or root permissions.
- Updated changelog for fixes planned for 6.4.1 release

Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2025-03-20 17:23:01 -05:00
Galantsev, Dmitrii 4a3c70136f Make amdsmi_get_power_info backwards compatible
Change-Id: Ie5b4c35265827e78934caa94c142d31efce597e4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-19 23:23:48 -05:00
Castillo, Juan 7c882b2f69 SWDEV-518209: GPU Metrics 1.8 (#177)
- Updates:
    - Adding the following metrics to allow new calculations for violation status:
        - Per XCP metrics gfx_below_host_limit_ppt_acc
        - Per XCP metrics gfx_below_host_limit_thm_acc
        - Per XCP metrics gfx_low_utilization_acc
        - Per XCP metrics gfx_below_host_limit_total_acc
    - Increasing available JPEG engines to 40. Current ASICs may not support all 40. These will be indicated as UINT16_MAX or N/A in CLI.

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Co-authored-by: Charis Poag <Charis.Poag@amd.com>
2025-03-19 10:24:02 -05:00
Mallya, Ameya Keshava fba8b3f6e1 Added release trigger for further releases
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>
2025-03-14 13:48:55 -07:00
Park, Peter 547ed49efb [SWDEV-519170] Docker container config documentation (#178)
* add docker container guide

* add example

* update index, README, and _toc
2025-03-14 09:58:46 -05:00
Gill, Harkirat 36a965b5c7 [ROCm/ROCm#4476] Update amdsmi-cli-tool.md to include partition cmd (#179)
Update amdsmi-cli-tool.md to include partition cmd

Signedoff-by: Gill, Harkirat <Harkirat.Gill@amd.com>
2025-03-13 04:59:34 -05:00
Galantsev, Dmitrii e8ae64260f [SWDEV-509342] Fix uninstall script on older RPM based systems (#181)
Change-Id: Ic85cd27e4460fbcdefab6fdd7e813a579c539525
2025-03-11 20:12:59 -05:00
Galantsev, Dmitrii 14e81725f6 [SWDEV-509342] Fix uninstall script on older RPM based systems
Change-Id: Ic85cd27e4460fbcdefab6fdd7e813a579c539525
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-12 01:05:30 +00:00
Poag, Charis 48cb5529d2 [SWDEV-493274/SWDEV-514998] Add AMD SMI partition tests + Add Guest amd-smi static --partition (#127)
* [SWDEV-493274/SWDEV-514998] Add AMD SMI partition tests + Add Guest amd-smi static --partition

Changes:
    - Added amd-smi static --partition for guest systems
    - Added C++ tests for memory and compute (accelerator) partitions
    - Added Python tests for amdsmi_get_gpu_vram_info(),
       amdsmi_get_gpu_accelerator_partition_profile_config()
    - Updated Python tests for
      amdsmi_get_gpu_accelerator_partition_profile()
      Now includes more profile and resource detail
    - Added amdsmi_get_gpu_xcd_counter();
      Tests provided for both C++/Python APIs
    - Added AmdSmiVramType & AmdSmiVramVendor: they were missing
      python testing required adding.

Change-Id: Ib6549d8ccc5fb68726f38745b87c78f890186022
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
2025-03-11 16:38:46 -05:00
Arif, Maisam d9fee767c3 [SWDEV-509342] Fixed incorrect import ordering affecting fallback (#175)
Change-Id: I10478cd5797811172d966f4eb845440b51c2b25c

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-10 17:31:27 -05:00
AL Musaffar, Yazen a6c8bab856 [SWDEV-491051] Fixed drm_card reference in python interface
Update amdsmi_interface.py

Typo at line 1744: 
was: "drm_card": _validate_if_max_uint(enumeration_info.drm_render, MaxUIntegerTypes.UINT32_T), 
changed to: "drm_card": _validate_if_max_uint(enumeration_info.drm_card, MaxUIntegerTypes.UINT32_T) 

changed from drm_render to drm_card

Signed-off-by: AL Musaffar, Yazen <Yazen.ALMusaffar@amd.com>
2025-03-08 16:08:48 -06:00
Arif, Maisam 0e67568902 [SWDEV-501958] Doc Update deprecating pasid in 7.0 (#166)
Change-Id: Ie19ba271c901d0be324143474871241272166124

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I024f7e2b5e7a5fcd6e1d12181d21ffacfe29c00f
2025-03-07 14:56:46 -06:00
Park, Peter 15c32f6116 [SWDEV-510820] Add missing goamdsmi documentation (#147)
* add API doc comments to goamdsmi.go
* update README and usage
* add sphinx directive to parse go doc
* fix walrus operator typos
* make docs more consistent
* add Go docs to index.md

---------

Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com>
2025-03-07 12:37:54 -06:00
Arif, Maisam 562900db22 [SWDEV-453922] Replaced filesystem C library usage (#165)
Change-Id: I88ddcecb20593363e26047adbb413af0b308a36f

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-07 11:34:49 -06:00
Williams, Justin 150ac7ac17 [SWDEV-500518] Added Continue-on-error (#163)
Signed-off-by: Williams, Justin <Justin.Williams@amd.com>
2025-03-07 10:55:06 -06:00
AL Musaffar, Yazen 2936e00fed [SWDEV-453922] AMD SMI to provide mapping feature of other enumeration methods (#51)
Added enumeration mapping for 
- drm render
- drm card
- hsa id 
- hip id
- hip uuid (rocminfo uuid)

Signed-off-by: AL Musaffar, Yazen <Yazen.ALMusaffar@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-07 09:09:12 -06:00
Pham, Gabriel d5b2763aba [SWDEV-515730] Updated set partition documentation (#151)
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
2025-03-06 23:16:32 -06:00
Williams, Justin c702e2833e [SWDEV-509342] Fixed CMake Pre Uninstall (#158)
Signed-off-by: Williams, Justin <Justin.Williams@amd.com>
2025-03-06 22:14:36 -06:00
Williams, Justin 82f6794573 [SWDEV-514609] Added setuptools & wheel dependencies (#143)
[SWDEV-514609] Added setuptools & wheel dependencies

Change-Id: Iada4e85b37181a0fd67f625b49fda090f1447d13

Signed-off-by: Williams, Justin <Justin.Williams@amd.com>
2025-03-06 16:59:02 -06:00
Arif, Maisam a340a54ee6 [SWDEV-518976] Fix amd-smi metric clock checks (#154)
[SWDEV-518976] Fixed amd-smi version default args

Change-Id: Id88da4d8f31aa0b0cf55b3cf796c16981931d857

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-06 11:25:59 -06:00
Pryor, Adam ace5162735 [SWDEV-495057] Update check to ignore sudo (#150)
Change-Id: Id4f24c254e805647782ae68667903a8d467c49b1

Signed-off-by: adapryor <Adam.pryor@amd.com>
2025-03-05 23:54:24 -06:00
Narlo, Joseph db32cd13e7 [SWDEV-501997] Build/Compiler warnings Part2 (#149)
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com>
2025-03-05 08:35:08 -06:00
Park, Peter adc86d0858 Bump rocm-docs-core to 1.17.0 (#145)
* Bump rocm-docs-core to 1.17.0

* Fix link to ROCm multi-version install

---------
Signed-off-by: Park, Peter <Peter.Park@amd.com>
2025-03-04 09:34:18 -06:00
Park, Peter 0b4a6ff149 [SWDEV-513210] Add references to AMDGPU RAS Support info in API docs (#144)
Add reference to AMDGPU RAS Support info in API docs
2025-03-04 09:32:23 -06:00
Arif, Maisam 2e00fd607f Fixed help text error in VM (#148)
Change-Id: I4b0bba8613837f04cbff1efdcea32523bf20a182

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-04 09:29:15 -06:00
Kanangot Balakrishnan, Bindhiya 2141e0336c [SWDEV-514182] Update amd-smi help with sudo requirement (#142)
To execute set and reset commands, amd-smi needs sudo
privileges. Updated the subcommand help text to show
'sudo' requirement for these commands.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Co-authored-by: Arif, Maisam <Maisam.Arif@amd.com>
2025-03-03 14:53:30 -06:00
Arif, Maisam 3a02cc6f61 [SWDEV-518976] Fix amd-smi metric clock checks (#146)
Change-Id: I7daf6f87c4c8331662b6b8f543e3e7f966724714

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-03-03 14:06:15 -06:00
Kanangot Balakrishnan, Bindhiya edd2268076 [SWDEV-512474] Conform amd-smi monitor output to 80 chars (#68)
Updated spacing and column headers
Updated Changelog

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Co-authored-by: Arif, Maisam <Maisam.Arif@amd.com>
2025-02-26 22:34:36 -06:00
Narlo, Joseph d7c3ad0886 [SWDEV-515031] Change Header Version to 25.2.0 (#109)
Change Versioning Scheme to match https://semver.org/
Dropping the year enum and API fields in a future release.
Should not impact library versioning since we are now starting from 25.2.0
---------

Signed-off-by: Joseph Narlo <joseph.narlo@amd.com>
Co-authored-by: Arif, Maisam <Maisam.Arif@amd.com>
Change-Id: Id090e23f156926d08f9c0b781447388adf268cf6
2025-02-26 19:17:09 -06:00
Pryor, Adam 7745f4f6c9 SWDEV-495057 Check video and render groups (#121)
Change-Id: I0a96dfbd84ae84fa29f41e1fe5ea89c05c5e5e7e

Signed-off-by: adapryor <Adam.pryor@amd.com>
2025-02-26 17:16:41 -06:00
dependabot[bot] b4c05ccb16 Bump jinja2 from 3.1.4 to 3.1.5 in /docs/sphinx (#136)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arif, Maisam <Maisam.Arif@amd.com>
2025-02-26 14:55:45 -06:00
dependabot[bot] c05e4ff2e7 Bump cryptography from 43.0.1 to 44.0.1 in /docs/sphinx (#137)
Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.1 to 44.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/43.0.1...44.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-26 14:54:48 -06:00
Arif, Maisam c14397209d Moved clk-limit and process-isolation back to VMs (#135)
Change-Id: Ie46f1e94c09c71fcb8805f89749a5b1d8f9995e3

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-02-26 14:47:49 -06:00