Castillo, Juan
fff2d21baf
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 >
[ROCm/amdsmi commit: 7c882b2f69 ]
2025-03-19 10:24:02 -05:00
Mallya, Ameya Keshava
2f5792e208
Added release trigger for further releases
...
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com >
[ROCm/amdsmi commit: fba8b3f6e1 ]
2025-03-14 13:48:55 -07:00
Park, Peter
3dbeab2c67
[SWDEV-519170] Docker container config documentation ( #178 )
...
* add docker container guide
* add example
* update index, README, and _toc
[ROCm/amdsmi commit: 547ed49efb ]
2025-03-14 09:58:46 -05:00
Gill, Harkirat
f722cec637
[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 >
[ROCm/amdsmi commit: 36a965b5c7 ]
2025-03-13 04:59:34 -05:00
Galantsev, Dmitrii
60704c3e36
[SWDEV-509342] Fix uninstall script on older RPM based systems
...
Change-Id: Ic85cd27e4460fbcdefab6fdd7e813a579c539525
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 14e81725f6 ]
2025-03-12 01:05:30 +00:00
Poag, Charis
267fa91e8a
[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 >
[ROCm/amdsmi commit: 48cb5529d2 ]
2025-03-11 16:38:46 -05:00
Arif, Maisam
cb56b5e193
[SWDEV-509342] Fixed incorrect import ordering affecting fallback ( #175 )
...
Change-Id: I10478cd5797811172d966f4eb845440b51c2b25c
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: d9fee767c3 ]
2025-03-10 17:31:27 -05:00
AL Musaffar, Yazen
a82d46b544
[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 >
[ROCm/amdsmi commit: a6c8bab856 ]
2025-03-08 16:08:48 -06:00
Arif, Maisam
d95b4450a4
[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
[ROCm/amdsmi commit: 0e67568902 ]
2025-03-07 14:56:46 -06:00
Park, Peter
54eba4b8a8
[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 >
[ROCm/amdsmi commit: 15c32f6116 ]
2025-03-07 12:37:54 -06:00
Arif, Maisam
a49676ea3d
[SWDEV-453922] Replaced filesystem C library usage ( #165 )
...
Change-Id: I88ddcecb20593363e26047adbb413af0b308a36f
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 562900db22 ]
2025-03-07 11:34:49 -06:00
Williams, Justin
6e8a9c2a8a
[SWDEV-500518] Added Continue-on-error ( #163 )
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
[ROCm/amdsmi commit: 150ac7ac17 ]
2025-03-07 10:55:06 -06:00
AL Musaffar, Yazen
8cf8ac1b1e
[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 >
[ROCm/amdsmi commit: 2936e00fed ]
2025-03-07 09:09:12 -06:00
Pham, Gabriel
14f3a59a66
[SWDEV-515730] Updated set partition documentation ( #151 )
...
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: d5b2763aba ]
2025-03-06 23:16:32 -06:00
Williams, Justin
b9bfe3e1c0
[SWDEV-509342] Fixed CMake Pre Uninstall ( #158 )
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
[ROCm/amdsmi commit: c702e2833e ]
2025-03-06 22:14:36 -06:00
Williams, Justin
ac6c71732f
[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 >
[ROCm/amdsmi commit: 82f6794573 ]
2025-03-06 16:59:02 -06:00
Arif, Maisam
a56e0e67d7
[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 >
[ROCm/amdsmi commit: a340a54ee6 ]
2025-03-06 11:25:59 -06:00
Pryor, Adam
58f8b8666f
[SWDEV-495057] Update check to ignore sudo ( #150 )
...
Change-Id: Id4f24c254e805647782ae68667903a8d467c49b1
Signed-off-by: adapryor <Adam.pryor@amd.com >
[ROCm/amdsmi commit: ace5162735 ]
2025-03-05 23:54:24 -06:00
Narlo, Joseph
66d62a786c
[SWDEV-501997] Build/Compiler warnings Part2 ( #149 )
...
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com >
[ROCm/amdsmi commit: db32cd13e7 ]
2025-03-05 08:35:08 -06:00
Park, Peter
3804af1c7a
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 >
[ROCm/amdsmi commit: adc86d0858 ]
2025-03-04 09:34:18 -06:00
Park, Peter
43b5d10e26
[SWDEV-513210] Add references to AMDGPU RAS Support info in API docs ( #144 )
...
Add reference to AMDGPU RAS Support info in API docs
[ROCm/amdsmi commit: 0b4a6ff149 ]
2025-03-04 09:32:23 -06:00
Arif, Maisam
c0809e05cb
Fixed help text error in VM ( #148 )
...
Change-Id: I4b0bba8613837f04cbff1efdcea32523bf20a182
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 2e00fd607f ]
2025-03-04 09:29:15 -06:00
Kanangot Balakrishnan, Bindhiya
31cb0526cf
[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 >
[ROCm/amdsmi commit: 2141e0336c ]
2025-03-03 14:53:30 -06:00
Arif, Maisam
69e01afd2d
[SWDEV-518976] Fix amd-smi metric clock checks ( #146 )
...
Change-Id: I7daf6f87c4c8331662b6b8f543e3e7f966724714
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 3a02cc6f61 ]
2025-03-03 14:06:15 -06:00
Kanangot Balakrishnan, Bindhiya
2bc187e903
[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 >
[ROCm/amdsmi commit: edd2268076 ]
2025-02-26 22:34:36 -06:00
Narlo, Joseph
a097bb5fe2
[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
[ROCm/amdsmi commit: d7c3ad0886 ]
2025-02-26 19:17:09 -06:00
Pryor, Adam
15c8855a0b
SWDEV-495057 Check video and render groups ( #121 )
...
Change-Id: I0a96dfbd84ae84fa29f41e1fe5ea89c05c5e5e7e
Signed-off-by: adapryor <Adam.pryor@amd.com >
[ROCm/amdsmi commit: 7745f4f6c9 ]
2025-02-26 17:16:41 -06:00
dependabot[bot]
b7157d0d13
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 >
[ROCm/amdsmi commit: b4c05ccb16 ]
2025-02-26 14:55:45 -06:00
dependabot[bot]
f08502aa72
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>
[ROCm/amdsmi commit: c05e4ff2e7 ]
2025-02-26 14:54:48 -06:00
Arif, Maisam
4df9f88614
Moved clk-limit and process-isolation back to VMs ( #135 )
...
Change-Id: Ie46f1e94c09c71fcb8805f89749a5b1d8f9995e3
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: c14397209d ]
2025-02-26 14:47:49 -06:00
Williams, Justin
a393d234ae
[SWDEV-500518] Added ROCm Release Branches ( #133 )
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
[ROCm/amdsmi commit: 23cefc1116 ]
2025-02-26 13:46:43 -06:00
Arif, Maisam
14db252ad1
[SWDEV-503520] Add amdsmi_get_rocm_version() in python library ( #76 )
...
Changed amdsmi_get_rocm_version() to be an API in the python library only.
Updated usage and version detection
Updated path detection of librocm-core.so
Updated docs to reflect both amdsmi_get_rocm_version and amdsmi_get_lib_version() do not require initialization.
Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 52b3ee2dc6 ]
2025-02-26 05:45:58 -06:00
Mewar, Deepak
ac7bfb4849
[SWDEV-511011] version command fails when driver isn't loaded ( #123 )
...
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com >
Change-Id: Ibe77c904-1a5c-4361-8fad-291a203c6755
[ROCm/amdsmi commit: 83c88f26d1 ]
2025-02-26 03:13:22 -06:00
Pham, Gabriel
d2116cf24e
[SWDEV-509287] Fixed metric command issue with min_clk and deep sleep ( #131 )
...
Improved deep sleep detection
Change-Id: I4179084da6c2849275957adb7b57797846a0f748
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 71a8f35a7d ]
2025-02-26 03:00:04 -06:00
Galantsev, Dmitrii
da2d61bdd9
Fix #73 sensor_ind error during compilation ( #132 )
...
Change-Id: I5f1a31df9bf9aaf6cb501b6db77c93f7bbfa34f2
Co-authored-by: Taylor Ding <taylding@amd.com >
[ROCm/amdsmi commit: 70fad049df ]
2025-02-26 02:58:21 -06:00
Williams, Justin
969256202b
[SWDEV-516619] Added libdrm-dev dependencies to README ( #130 )
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
[ROCm/amdsmi commit: d65b2677b6 ]
2025-02-26 02:12:42 -06:00
Narlo, Joseph
857e615ff5
Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
...
[ROCm/amdsmi commit: af31967b6d ]
2025-02-24 10:14:49 -06:00
Joseph Narlo
5bfe26f549
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
...
[ROCm/amdsmi commit: cff8582ad5 ]
2025-02-24 09:21:33 -06:00
Joseph Narlo
ffd89e275c
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
...
[ROCm/amdsmi commit: ddcdd60964 ]
2025-02-24 09:21:22 -06:00
Arif, Maisam
5e4f1bb245
Updated amdsmi_get_driver_info() to handle empty strings ( #126 )
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 9d2bbcf14d ]
2025-02-21 19:15:18 -06:00
Narlo, Joseph
52850e0556
Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
...
[ROCm/amdsmi commit: da6a322603 ]
2025-02-21 15:40:08 -06:00
Pryor, Adam
ccb51bf977
[SWDEV-500382] Add check to pcie throughput for uint64 max ( #120 )
...
Signed-off-by: Adam Pryor <Adam.pryor@amd.com >
[ROCm/amdsmi commit: 75211a6389 ]
2025-02-21 15:17:19 -06:00
Joseph Narlo
7f94cb5e4e
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
...
[ROCm/amdsmi commit: 695e619913 ]
2025-02-21 15:11:46 -06:00
Joseph Narlo
0593797ff1
[SWDEV-517156] Synchronize Unified and Amdsmi Headers
...
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com >
[ROCm/amdsmi commit: b38c9aa1cc ]
2025-02-21 15:05:57 -06:00
Joseph Narlo
d6e2f9e784
[SWDEV-517156] Synchronize Unified and Amdsmi Headers
...
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com >
[ROCm/amdsmi commit: 499ba8acb0 ]
2025-02-21 13:52:30 -06:00
Ramakrishnan, Ranjith
d9408f5f1e
SWDEV-514558 - Use RPM_INSTALL_PREFIX variable rather than hard coded install prefix paths in RPM post/prerm scripts ( #114 )
...
[ROCm/amdsmi commit: bf01732e7f ]
2025-02-20 21:29:41 +05:30
Galantsev, Dmitrii
c2c02a5f60
[SWDEV-513769] Search standard locations for libamd_smi.so
...
Change-Id: I2c364b7dfa6ffa91e5b1c837c2d3d14ef58ee66b
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 30a6cb02f2 ]
2025-02-19 01:34:03 +00:00
Mewar, Deepak
3d4d62c92f
[SWDEV-499995] ESMI Build/Compiler warnings messages ( #105 )
...
* [SWDEV-499995] ESMI Build/Compiler warnings messages
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com >
[ROCm/amdsmi commit: 2c591ffcc1 ]
2025-02-18 16:20:28 -06:00
Castillo, Juan
23b21c7950
[SWDEV-514394] Added additional try catch statements for gpu_metrics ( #117 )
...
Update to break apart try/except clause around entire gpu clocks functions. Broke down to each individual gpu_metric which allowed valid data to populate.
Signed-off-by: Juan Castillo <juan.castillo@amd.com >
[ROCm/amdsmi commit: 1b9841450a ]
2025-02-18 15:18:18 -06:00
Pham, Gabriel
e52380a9b9
Updated amdsmi-cli-tool documentation and made fix for nps_flags ( #107 )
...
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: b8f1d29251 ]
2025-02-18 15:04:17 -06:00