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
Williams, Justin
23cefc1116
[SWDEV-500518] Added ROCm Release Branches ( #133 )
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
2025-02-26 13:46:43 -06:00
Arif, Maisam
52b3ee2dc6
[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 >
2025-02-26 05:45:58 -06:00
Mewar, Deepak
83c88f26d1
[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
2025-02-26 03:13:22 -06:00
Pham, Gabriel
71a8f35a7d
[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 >
2025-02-26 03:00:04 -06:00
Galantsev, Dmitrii
70fad049df
Fix #73 sensor_ind error during compilation ( #132 )
...
Change-Id: I5f1a31df9bf9aaf6cb501b6db77c93f7bbfa34f2
Co-authored-by: Taylor Ding <taylding@amd.com >
2025-02-26 02:58:21 -06:00
Williams, Justin
d65b2677b6
[SWDEV-516619] Added libdrm-dev dependencies to README ( #130 )
...
Signed-off-by: Williams, Justin <Justin.Williams@amd.com >
2025-02-26 02:12:42 -06:00
Narlo, Joseph
de4eb249f4
[SWDEV-517156] Synchronize Unified and Amdsmi Headers ( #125 )
...
Synching headers
2025-02-24 12:54:05 -06:00
Narlo, Joseph
af31967b6d
Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
2025-02-24 10:14:49 -06:00
Joseph Narlo
cff8582ad5
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
2025-02-24 09:21:33 -06:00
Joseph Narlo
ddcdd60964
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
2025-02-24 09:21:22 -06:00
Arif, Maisam
9d2bbcf14d
Updated amdsmi_get_driver_info() to handle empty strings ( #126 )
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2025-02-21 19:15:18 -06:00
Narlo, Joseph
da6a322603
Merge branch 'amd-staging' into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
2025-02-21 15:40:08 -06:00
Pryor, Adam
75211a6389
[SWDEV-500382] Add check to pcie throughput for uint64 max ( #120 )
...
Signed-off-by: Adam Pryor <Adam.pryor@amd.com >
2025-02-21 15:17:19 -06:00
Joseph Narlo
20342cec0a
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
2025-02-21 15:11:56 -06:00
Joseph Narlo
695e619913
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
2025-02-21 15:11:46 -06:00
Joseph Narlo
f8f855318d
Merge branch 'SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers' of github.com:AMD-ROCm-Internal/amdsmi into SWDEV-517156/Synchronize_Unified_and_Amdsmi_Headers
2025-02-21 15:08:25 -06:00
Joseph Narlo
b38c9aa1cc
[SWDEV-517156] Synchronize Unified and Amdsmi Headers
...
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com >
2025-02-21 15:05:57 -06:00
Joseph Narlo
499ba8acb0
[SWDEV-517156] Synchronize Unified and Amdsmi Headers
...
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com >
2025-02-21 13:52:30 -06:00
Ramakrishnan, Ranjith
bf01732e7f
SWDEV-514558 - Use RPM_INSTALL_PREFIX variable rather than hard coded install prefix paths in RPM post/prerm scripts ( #114 )
2025-02-20 21:29:41 +05:30
Galantsev, Dmitrii
91fdd7aac0
[SWDEV-513769] Search standard locations for libamd_smi.so
...
Change-Id: I2c364b7dfa6ffa91e5b1c837c2d3d14ef58ee66b
2025-02-19 16:25:59 -06:00
Galantsev, Dmitrii
30a6cb02f2
[SWDEV-513769] Search standard locations for libamd_smi.so
...
Change-Id: I2c364b7dfa6ffa91e5b1c837c2d3d14ef58ee66b
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2025-02-19 01:34:03 +00:00
Mewar, Deepak
2c591ffcc1
[SWDEV-499995] ESMI Build/Compiler warnings messages ( #105 )
...
* [SWDEV-499995] ESMI Build/Compiler warnings messages
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com >
2025-02-18 16:20:28 -06:00
Castillo, Juan
1b9841450a
[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 >
2025-02-18 15:18:18 -06:00
Pham, Gabriel
b8f1d29251
Updated amdsmi-cli-tool documentation and made fix for nps_flags ( #107 )
...
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
2025-02-18 15:04:17 -06:00
Pham, Gabriel
ce526724d3
Corrected PERF_LEVELS in set --clk-level command to FREQ_LEVELS ( #112 )
...
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
2025-02-18 14:44:55 -06:00
Williams, Justin
99e57f6269
[SWDEV-500518] Updated Workflow ( #111 )
...
Signed-off-by: Justin Williams <Justin.Williams@amd.com >
2025-02-14 14:06:51 -06:00
Poag, Charis
4cab72d692
[SWDEV-515298] Fix 'amdsmi_nps_flags_t' refactor ( #110 )
...
Earlier commit changing union object name needed to update Python/Rust
references.
Change-Id: I4097dbf3b114abe91d6ca1dfd8aae4ce39fea619
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
2025-02-13 13:52:34 -06:00
Castillo, Juan
8c9e77bb7b
[SWDEV-513189] Updated get_cache_info num_cache_instance calculations ( #106 )
...
Updated get_cache_info to use level, type, cache_size_kb,
and num_cu_shared as key to increment num_cache_instance.
Signed-off-by: Juan Castillo <juan.castillo@amd.com >
Change-Id: I54c88263bce5a49713f15e2687ae05212423b186
2025-02-12 01:01:42 -06:00
Williams, Justin
c01e0bd47a
[SWDEV-489695] Fixed lib tests install logic ( #103 )
...
Signed-off-by: Justin Williams <Justin.Williams@amd.com >
2025-02-11 15:59:09 -06:00
Liu, Shuzhou (Bill)
8e74024b11
Change default mutex to thread only ( #104 )
...
Most sysfs reads do not require cross-process level mutex, and writes to sysfs
should be protected by the kernel already.
Users can still switch to the old behavior by setting the environment variable AMDSMI_MUTEX_CROSS_PROCESS=1.
2025-02-11 07:27:03 -06:00
Narlo, Joseph
dc4a16da6f
[SWDEV-513651] Sync Unified And Linux Header ( #98 )
...
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com >
2025-02-06 22:25:50 -06:00
Arif, Maisam
548ed781c7
[SWDEV-494072] Added Fallback to metric command to for pcie replay_counter ( #99 )
...
Change-Id: I5392e8f881b1e69d9a76b01813a66b08fb70e006
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2025-02-06 19:33:49 -06:00
Galantsev, Dmitrii
c3864bf617
CMAKE - Fix ld.lld undefined reference: drmGetVersion ( #100 )
...
After some update to amdclang a tag '--no-allow-shlib-undefine' began
being enforced. This caused compile failure when building with:
CC=amdclang CXX=amdclang++ cmake -B build
DRM_AMDGPU_LIB is never used.
DRM_LIBRARIES is the one set by pkg_check_modules(DRM...)
Change-Id: I031aa1325b7a09a027aba8ca5cc7cc44fe86d3be
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2025-02-06 16:23:54 -06:00
Pham, Gabriel
09379f8438
Changed default behavior of amdsmi_get_gpu_virtualization_mode ( #97 )
...
Changed return behavior of amdsmi_get_gpu_virtualization_mode
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com >
2025-02-05 19:09:44 -06:00
Kanangot Balakrishnan, Bindhiya
a7283196a7
[PLAT-156250] Blacklist VoltCurvRead test for unsupported devices ( #96 )
...
Blacklisted TestVoltCurvRead for devices with gfx_target_version
90400, 90401 and 90402 as it is not supported on these systems.
Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com >
2025-02-05 18:44:54 -06:00
Narlo, Joseph
8e454950ef
[SWDEV-509782] Add tags and redefine groups ( #73 )
...
Add tags and redefine groups in amd-smi header
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com >
2025-02-05 18:43:55 -06:00
Galantsev, Dmitrii
b256c1b6de
Fix warnings on CXX/linker flags ( #93 )
...
1) When `clang` is used as system compiler, libraries were built without respecting LDFLAGS. For example, this affected LTO flags, if any (and it only affected clang, not gcc).
2) Linker flags are registered as CXX flags, which produces warnings during compilation:
```
clang++: warning: -Wl,-z,noexecstack: 'linker' input unused [-Wunused-command-line-argument]
clang++: warning: -Wl,-znoexecheap: 'linker' input unused [-Wunused-command-line-argument]
clang++: warning: -Wl,-z,relro: 'linker' input unused [-Wunused-command-line-argument]
clang++: warning: -Wl,-z,now: 'linker' input unused [-Wunused-command-line-argument]
```
3) Clang does not support `-Wtrampolines` flag:
```
warning: unknown warning option '-Wtrampolines' [-Wunknown-warning-option]
```
4) No linkers support `noexecheap` anymore. `noexecheap` linker flag was a part of PaX patches to GNU ld, (which were dropped in 2017)[https://www.gentoo.org/support/news-items/2017-08-19-hardened-sources-removal.html ]. Now ld/ld.lld/ld.gold don't support it and protection of heap is managed by NX bit. Therefore every compiler produces this warning:
```
ld.lld: warning: unknown -z value: noexecheap
```
Change-Id: I2334a4d4c745df2abc12d543616ca179f85c3575
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
Co-authored-by: Sv. Lockal <lockalsash@gmail.com >
2025-02-04 22:18:56 -06:00
Maisam Arif
08be2db720
[SWDEV-513127] - Fixed spelling in amdsmi_parser.py
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Id15b7e1e15d8719c36d508db6cf2667234928b92
2025-02-04 17:57:16 -06:00
Pham, Gabriel
dae8b8f7e1
[SWDEV-462952] Corrected drm version checking logic
...
Signed-off-by: gabrpham <Gabriel.Pham@amd.com >
2025-02-04 11:58:52 -06:00
Poag, Charis
1d2272490e
[SWDEV-513127] Fix AttributeError: 'AMDSMILogger' object has no attribute 'clear_multiple_devices_output' ( #92 )
...
Full output:
$ amd-smi metric:
AttributeError: 'AMDSMILogger' object has no attribute 'clear_multiple_devices_output'. Did you mean: 'clear_multiple_devices_ouput'?
Changes:
* Changed CLI function definition clear_multiple_devices_ouput(self) ->
clear_multiple_devices_output(self)
* Updated all references to clear_multiple_devices_ouput() to use
clear_multiple_devices_ouput()
Change-Id: Ibd4e210ea30c9dd51fba17981a524b823f2db054
2025-02-04 09:30:12 -06:00
Maisam Arif
5a9fb676bc
Fixed description for amdsmi_get_gpu_virtualization_mode
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I9234a4e7b78f19e16484d7bd5fa078c38f0262ff
2025-01-31 17:40:48 -06:00
Pham, Gabriel
e663bed7d6
[SWDEV-462952] Updated passthrough to use virtualization mode struct
...
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 >
2025-01-31 17:34:01 -06:00
Galantsev, Dmitrii
6dcb9322f9
update_wrapper.sh - Fix docker
...
Change-Id: Icb0d80dacfe17222b32bf5616765abc08cafd085
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
2025-01-31 14:55:36 -06:00
Arif, Maisam
fb3a9c2290
Bump Version 25.2.0
...
Change-Id: I9a38e58c0c9ef9348312e4faf299518073a1c3c2
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
2025-01-31 15:50:34 -05:00
Poag, Charis
3a94f5a880
Fix AttributeError: 'Namespace' object has no attribute 'cpu_pwr_svi_telemetry_rails'
...
Updated missing references to cpu_pwr_svi_telemetry_rails
Change-Id: I1828ad3122a602dc5c4253500f83c3910b682cb3
Signed-off-by: Poag, Charis <Charis.Poag@amd.com >
2025-01-31 08:12:42 -06:00
Pham, Gabriel
0f79efac78
[SWDEV-462952] Options enabled for GPU passthrough scenarios
...
Added Dynamic Passthrough detection
Signed-off-by: Pham, Gabriel <Gabriel.Pham@amd.com >
Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com >
Co-authored-by: Arif, Maisam <Maisam.Arif@amd.com >
2025-01-30 18:12:03 -06:00