Narlo, Joseph
d2bf77401e
[SWDEV-532129] Update amdsmi asic info ( #369 )
...
* Added `subsystem_id` to `amdsmi_get_gpu_asic_info`
---------
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: 9862db63dd ]
2025-05-28 18:26:58 -05:00
Narlo, Joseph
1fbddb6dcc
[SWDEV-533941] Align P2P input struct ( #395 )
...
* Removed `amdsmi_io_link_type_t` and replaced with alredy implemented amdsmi_link_type_t
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: f3a5cc9cd5 ]
2025-05-28 18:22:19 -05:00
Narlo, Joseph
59f5827164
[SWDEV-535200] Remove deprecated function amdsmi_get_power_info_v2 ( #397 )
...
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: 38a1fadf44 ]
2025-05-28 18:09:13 -05:00
Narlo, Joseph
268c4e59ed
[SWDEV-534438] Update structure amdsmi_bdf_t ( #388 )
...
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: 7b3c85e970 ]
2025-05-28 18:05:43 -05:00
Narlo, Joseph
cd71942678
[SWDEV-529483] Get Vram Vendor Name from Driver ( #323 )
...
* Update to remove vram enum and instead use the string directly from the driver.
Signed-off-by: Narlo, Joseph <Joseph.Narlo@amd.com >
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: f71ae88956 ]
2025-05-28 17:57:49 -05:00
Maisam Arif
28d1aaf066
Spellcheck
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I3842ca7552c8d3525ac7fee8c94b15cfdd7defdd
[ROCm/amdsmi commit: cebc512b1a ]
2025-05-27 13:59:23 -05:00
Kanangot Balakrishnan, Bindhiya
f167e67c7a
Correct typo in check_required_groups ( #386 )
...
Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com >
[ROCm/amdsmi commit: 82108a25ab ]
2025-05-27 13:11:47 -05:00
Pham, Gabriel
24f25b4133
Updated docs with new KFD events ( #382 )
...
* Updated docs with new KFD events
---------
Signed-off-by: Pham, Gabriel <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: c40d4291f6 ]
2025-05-27 12:21:38 -05:00
gabrpham_amdeng
004c51d909
[SWDEV-533218] Changed array init method in rsmi_event_notification_get to more standard method
...
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: 457cbfa911 ]
2025-05-22 08:35:37 -05:00
Daniel Oliveira
806c3c62ed
[SWDEV-529665] Add PLDM Bundle version
...
feat: Report PLDM Bundle from SMC to IB
Code changes related to the following:
* APIs
* CLI
* Unit tests
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com >
Change-Id: I35ccf01eb612ca80e3ae6b72039085c18c989222
[ROCm/amdsmi commit: fe9b6eeb49 ]
2025-05-20 01:37:00 -05:00
AL Musaffar, Yazen
a13b160b42
[SWDEV-530385] CPER cannot be dumped continuously with "--follow" fix ( #377 )
...
--follow fix
Co-authored-by: Yazen ALMusaffar <yalmusaf@amd.com >
Change-Id: I911f456f3f658e694979c7ae014fb0b6bb3e45c1
[ROCm/amdsmi commit: bd39e461a5 ]
2025-05-20 01:10:22 -05:00
Mewar, Deepak
9a3c59c63c
[SWDEV-512393] Added amdsmi_get_cpu_affinity_with_scope ( #198 )
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com >
[ROCm/amdsmi commit: b999f86611 ]
2025-05-20 01:06:09 -05:00
Pryor, Adam
36f8565856
[SWDEV-527092] - Fix ringhang event removal ( #372 )
...
Signed-off-by: adapryor <Adam.pryor@amd.com >
[ROCm/amdsmi commit: 51e99965b3 ]
2025-05-16 16:41:31 -05:00
Pryor, Adam
8f6cde2376
[SWDEV-527092] - Process Start/Stop event addition ( #368 )
...
- Added more events to `amdsmi_evt_notification_type_t`
Change-Id: I6a256fe828e4bec3197c7fecbed374ab17c6f850
Signed-off-by: Adam Pryor <Adam.Pryor@amd.com >
[ROCm/amdsmi commit: 8713305f80 ]
2025-05-16 11:01:15 -05:00
Poag, Charis
44fdfc9990
[SWDEV-517154] Rename compute_partition to accelerator_partition ( #358 )
...
Changes:
- Updated references in the codebase to rename `COMPUTE_PARTITION` to `ACCELERATOR_PARTITION`
- Moved around and rephrased several duplicated lines in the CHANGELOG.md file
Change-Id: Id6bc86a7133e952cca6ef0acb1616ad6251d19d4
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/amdsmi commit: bacbaac0b1 ]
2025-05-16 10:44:54 -05:00
Galantsev, Dmitrii
c424fae608
Pad asic_serial and UUID with zeros
...
Change-Id: Icf9bfdf9be60525433da378a77ddf5a8bcc21579
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 912bcfaae9 ]
2025-05-16 10:34:32 -05:00
Saeed, Oosman
ffc8b09056
[SWDEV-522623] Add afid functionality to API and CLI ( #330 )
...
Change-Id: I015bde926491d54e09da8f39b05650515711e09f
[SWDEV-522623] Add afid functionality to API and CLI
Change-Id: I015bde926491d54e09da8f39b05650515711e09f
Signed-off-by: Oosman Saeed <oossaeed@amd.com >
Co-authored-by: Oosman Saeed <oossaeed@amd.com >
[ROCm/amdsmi commit: 1bb1f8acc2 ]
2025-05-16 10:49:56 +08:00
Park, Peter
f637f2818e
[SWDEV-528854] docs: Add description of N/A in SMI tool output ( #363 )
...
Signed-off-by: Park, Peter <Peter.Park@amd.com >
[ROCm/amdsmi commit: d4f057f95f ]
2025-05-14 11:43:33 -05:00
josnarlo
ffd54f5c3b
[SWDEV-532119] Fix building examples
...
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: dd69aa1924 ]
2025-05-13 20:19:51 -05:00
Maisam Arif
686cb172bf
Fix reference to gpu_metrics adjustment for v1_8
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: Idf6307292d37c973b0d44a187a2334f2cad8047d
[ROCm/amdsmi commit: ca297419c4 ]
2025-05-13 18:21:29 -05:00
Narlo, Joseph
7a64038110
[SWDEV-418701] rsmitst Fallback with Driver-less Hardware ( #329 )
...
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: a66c6fa03b ]
2025-05-09 12:33:13 -05:00
Hila, Nino
8efac974e5
Update palamida.yml ( #346 )
...
* Add palamida.yml
[ROCm/amdsmi commit: 24fdf0ae0f ]
2025-05-09 11:57:02 -05:00
Castillo, Juan
a4d0882252
[SWDEV-530211] Fix for VCLK & DCLK N/A values + Update deep sleep logic ( #342 )
...
- Updated VCLK and DCLK min/max clock logic to populate N/A values.
- Updated VCLK and DCLK to show all available clocks.
- Updated deep_sleep logic using sys/fs clk_deep_sleep true/false.
- Added clarifying comments.
- Updated error output using e.get_error_info() instead of just error.
- Updated changelog
---------
Signed-off-by: Juan Castillo <juan.castillo@amd.com >
[ROCm/amdsmi commit: e123e986f9 ]
2025-05-08 14:39:21 -05:00
Arif, Maisam
e0aefaebf9
CPER Doc update ( #352 )
...
Change-Id: I59053eda863fc2b7349a3071a02e4557a8abe8c7
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 249537b2ff ]
2025-05-08 12:20:00 -05:00
Arif, Maisam
7ded6504b8
Version & Doc update ( #343 )
...
Change-Id: Ibf8e1809913e30aba4b21ba889b72e5db7205736
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: ace3b0901a ]
2025-05-08 12:19:04 -05:00
Williams, Justin
fe7360d0b6
Updated CODEOWNERS usernames ( #354 )
...
Signed-off-by: Justin Williams <Justin.Williams@amd.com >
[ROCm/amdsmi commit: 33283d281c ]
2025-05-08 12:02:26 -05:00
Galantsev, Dmitrii
51088382c8
[SWDEV-529762] CMAKE - Fix lintian issues ( #325 )
...
Change-Id: Ide3563a876cb530d0e80676e78f36f18a233a3ba
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: bd82e881f5 ]
2025-05-06 17:59:47 -05:00
Galantsev, Dmitrii
c6c01ee675
CMAKE - Format with cmake-format
...
Change-Id: I5b86b7b83e3d151c3d6e1c216ecb28f1313d538a
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 42c77a5912 ]
2025-05-06 17:09:53 -05:00
Galantsev, Dmitrii
bc0567f017
CI - Add cmake-format to workflows
...
Change-Id: Iba0ab896a42abecf389e6b92811343e1fd51c302
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: 17b01e2456 ]
2025-05-06 17:09:53 -05:00
Arif, Maisam
29ba48ddfc
[SWDEV-531364] Removed Python API debug statements ( #351 )
...
Removed Python API debug statements
Change-Id: Ifc17a7b49b11bce56075d620a9b0e7cbbdb5f417
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: ee14ef7b95 ]
2025-05-06 14:01:59 -05:00
Charis Poag
4f626e536f
[SWDEV-528647/SWDEV-528450] Follow up Fix incorrect domain
...
Changes:
- Misc improvements
- Domain showed incorrectly for devices with different domains
ex.
GPU: 3
BDF: 3000:01:00.0
Fix provides in proper format -
GPU: 3
BDF: 0003:01:00.0
Change-Id: Ida4a0acb4922f3c2cb61a9e9cd0b7d1be31061a8
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/amdsmi commit: da1024cf96 ]
2025-05-06 12:50:43 -05:00
Justin Williams
ff443f45de
[SWDEV-527430] Added Major & Minor ABI Breakage Labels
...
Signed-off-by: Justin Williams <Justin.Williams@amd.com >
[ROCm/amdsmi commit: 1d89ec207b ]
2025-05-05 18:41:46 -05:00
Galantsev, Dmitrii
3c32ef6c39
CMAKE - Clean-up cmake changes introduced in a9b8b6d369b390af0c00bbffab2b4fe1748b8bad
...
Change-Id: Ida0e9475a926a2495e36b0d9bc2468c48aee0e77
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com >
[ROCm/amdsmi commit: fe98b8bd63 ]
2025-05-05 15:43:12 -05:00
Bindhiya Kanangot Balakrishnan
5bf60d164d
[SWDEV-518229] Display single N/A in case of empty clock
...
When all clocks are N/A's, it will be filtered. To
avoid confusion, single N/A is added.
Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com >
[ROCm/amdsmi commit: 62294df49a ]
2025-05-05 14:06:31 -05:00
Poag, Charis
fb3d7b9fb9
[SWDEV-528647/SWDEV-528450] Reduce API load times and libdrm/libdrm_amdgpu dynamic loading ( #333 )
...
Changes:
- Removed libdrm/libdrm_amdgpu dependencies
- Added/updated new internal libdrm/libdrm_amdgpu/xf86drm APIs
to allow our APIs to reference before dynamic loading
the libdrm/libdrm_amdgpu libraries:
1. amdgpu_drm.h to what's seen in mainline
2. Added xf86drm.h to whats seen in mainline
- Modified internal DRM capabilities:
1. Require each API to independently connect to libdrm/libdrm_amdgpu
+ validate API handles reponses accordingly
2. Initialization of AMD SMI no longer has as strong of a tie to
libdrm
- Updated internal implementations of several APIs which have
connections to libdrm/libdrm_amdgpu or APIs which have conflicts
with open libdrm/libdrm_amdgpu connections:
1. amdsmi_init()
2. amdsmi_get_gpu_vram_usage()
3. amdsmi_get_gpu_asic_info()
4. amdsmi_get_gpu_vram_info()
5. amdsmi_get_gpu_vbios_info()
6. amdsmi_get_gpu_driver_info()
7. amdsmi_get_gpu_virtualization_mode()
8. amdsmi_set_gpu_memory_partition()
9. amdsmi_set_gpu_memory_partition_mode()
- Cleaned up effected tests/APIs
Change-Id: I96e2cf1b06b0cfee1b01a5e991ccc6116c4245a8
[ROCm/amdsmi commit: b5a43b7744 ]
2025-05-02 21:58:53 -05:00
Williams, Justin
3a038c212e
[SWDEV-500518/SWDEV-527430] CI v4.1 ( #316 )
...
[SWDEV-500518] CI v4.1
Signed-off-by: Justin Williams <Justin.Williams@amd.com >
[ROCm/amdsmi commit: 757aa016f4 ]
2025-04-29 18:52:32 -05:00
Saeed, Oosman
2391516ced
[SWDEV-529266] [MI308][AMDSMI][RAS CPER] CPER dump not working on CPX mode ( #319 )
...
* Do not raise excepction for cper status not found, but keep iterating to next gpu
* Do not raise excepction for cper status not found, but keep iterating to next gpu
* use partition id and skip if non-zero
* reverting un-needed change
* Do not raise excepction for cper status not found, but keep iterating to next gpu
* use partition id and skip if non-zero
---------
Co-authored-by: Oosman Saeed <oossaeed@amd.com >
[ROCm/amdsmi commit: 9c297639f3 ]
2025-04-29 18:52:32 -05:00
Kanangot Balakrishnan, Bindhiya
7201649fbf
[SWDEV-518229] Avoid N/A leaves filtering from static ( #326 )
...
The N/A leaves filering was removing clock in static.
To avoid this, removed N/A filtering from single tier.
Signed-off-by: Kanangot Balakrishnan, Bindhiya <Bindhiya.KanangotBalakrishnan@amd.com >
[ROCm/amdsmi commit: e26e26e308 ]
2025-04-29 18:52:32 -05:00
gabrpham_amdeng
c3a39f5439
Added DRM check back for market name
...
[ROCm/amdsmi commit: 81c65ed15d ]
2025-04-29 18:52:32 -05:00
gabrpham_amdeng
950ba44df5
[SWDEV-529889] Fixed incorrect vendor_id reporting in amdsmi_get_gpu_asic_info
...
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: 59f0f3f9eb ]
2025-04-29 18:52:32 -05:00
gabrpham_amdeng
903cf4fe57
[SWDEV-529889] Fixed incorrect vendor_id reporting in amdsmi_get_gpu_asic_info
...
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: 4e232e287d ]
2025-04-29 18:52:32 -05:00
gabrpham_amdeng
640eba7764
[SWDEV-529889] Fixed incorrect vendor_id reporting in amdsmi_get_gpu_asic_info
...
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: 1ab57ce7dd ]
2025-04-29 18:52:32 -05:00
Maisam Arif
597edb6eb8
Removed post install pciids udpate
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: If6a3fcec4778c99246e899890f1d586656841d3e
[ROCm/amdsmi commit: ea1b24003e ]
2025-04-29 18:52:32 -05:00
Pham, Gabriel
4992a7b2bd
[SWDEV-522336] Enabled Topology command in Guest ( #304 )
...
Enabled Topology command in Guest
---------
Signed-off-by: gabrpham_amdeng <Gabriel.Pham@amd.com >
[ROCm/amdsmi commit: 34678cc0ae ]
2025-04-29 18:52:32 -05:00
Poag, Charis
cab1c46165
[SWDEV-518561] P1: Inconsistent memory partition change ( #315 )
...
Changes:
- Cleaned up drm connections before changing memory partitions
Change-Id: I08430d22536bb6094c91a06fbf2f74d9b75a4fa7
Signed-off-by: Charis Poag <Charis.Poag@amd.com >
[ROCm/amdsmi commit: 6a43b64d0c ]
2025-04-29 18:52:32 -05:00
Kanangot Balakrishnan, Bindhiya
cf5a795045
[SWDEV-518229] Filter N/A's from amd-smi metric clock CLI
...
The 'amd-smi metric --clock' was listing values with N/A. Filtered these outputs to show only available values.
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
[ROCm/amdsmi commit: 797e4fba07 ]
2025-04-28 12:28:59 -05:00
Maisam Arif
c0cc1b3360
[SWDEV-529603] Fix subcommand aliasing
...
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com >
Change-Id: I1c15faffa5fda1b8f5c2f5d6e4c7ae746ff8ee7c
[ROCm/amdsmi commit: 4099fee17f ]
2025-04-28 10:44:01 -05:00
Narlo, Joseph
cf3a1aceca
[SWDEV-522996] Sync Unified Header and AMDSMI ( #305 )
...
Sync Unified Header and AMDSMI
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
---------
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: d5ce95573f ]
2025-04-24 13:31:08 -05:00
Narlo, Joseph
9f245611c5
[SWDEV-489696] Improve Functional Test ( #241 )
...
Improve Functional Test for
- SetCheckPowerCap
- TestPowerCapReadWrite
---------
Signed-off-by: josnarlo <Joseph.Narlo@amd.com >
[ROCm/amdsmi commit: 30ebf19893 ]
2025-04-24 12:33:55 -05:00
Williams, Justin
d668c1e9f5
[SWDEV-527430] Fixed Mainline ABI Check ( #310 )
...
Signed-off-by: Justin Williams <Justin.Williams@amd.com >
[ROCm/amdsmi commit: 661989c339 ]
2025-04-24 10:21:34 -05:00