67 Коммитов

Автор SHA1 Сообщение Дата
amd-juwillia 3a3738ad98 Added AMDSMI CI to rocm-systems(#2074)
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
2025-12-16 13:52:42 -06:00
Mario Limonciello 08949cb884 Run pre-commit's whitespace related hooks on projects/amdsmi (#2119)
* Run pre-commit's whitespace related hooks on projects/amdsmi

In order for pre-commit to be useful, everything needs to meet a common
baseline.

* Add whitespace back to Changelog for formatting

---------

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
2025-12-15 13:20:47 -06:00
Maisam Arif 63da8d2e08 [SWDEV-568673] Updated Docmentation Examples for Python APIs (#2017)
* [SWDEV-568673] Updated Docmentation Examples for Python APIs

* amdsmi_get_processor_type
* amdsmi_gpu_create_counter
* amdsmi_gpu_destroy_counter

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

* [SWDEV-568997] - Updated Docmentation Examples for Python APIs

* amdsmi_topo_get_p2p_status

Signed-off-by: Sumanth Gavini <sumanth.gavini@amd.com>

* [SWDEV-568997] - Updated Docmentation Examples for Python APIs

* [SWDEV-568997] - amdsmi_topo_get_p2p_status
* [SWDEV-568990] - amdsmi_set_gpu_clk_range
* [SWDEV-568987] - amdsmi_set_gpu_od_clk_info
* [SWDEV-568969] - AmdSmiEventReader
* [SWDEV-568964] - amdsmi_set_gpu_power_profile
* [SWDEV-568953] - amdsmi_gpu_create_counter
* [SWDEV-568939] - amdsmi_set_cpu_pcie_link_rate
* [SWDEV-568937] - amdsmi_get_cpu_socket_lclk_dpm_level

Signed-off-by: Sumanth Gavini <sumanth.gavini@amd.com>

* Fixes:
    SWDEV-568716 [TCT][amd-smi]: NameError: name 'handle' is not defined when calling amdsmi_get_processor_handles(handle)
    SWDEV-568726 [TCT][amd-smi]: TypeError: list indices must be integers or slices, not str when accessing cache_values['cache_properties']
    SWDEV-568526 [TCT][amd-smi]: AMD SMI Python API Documentation Error – Incorrect variable name in sample code
    SWDEV-569017 [TCT][amd-smi]: correction required for amdsmi_set_clk_freq API in python API document page
    SWDEV-569025 [TCT][amd-smi]: amdsmi_get_link_metrics python API raises key error, correction required in python API sample documentation

Signed-off-by: Joseph Narlo <joseph.narlo@amd.com>

* Fix: SWDEV-568727 [TCT][amd-smi]: Mandatory arguements 'encoding' and 'link_name' needs to be updated in Python API Sample documentation

Signed-off-by: amd-josnarlo <josnarlo.amd.com>

---------

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Signed-off-by: Sumanth Gavini <sumanth.gavini@amd.com>
Signed-off-by: Joseph Narlo <joseph.narlo@amd.com>
Signed-off-by: amd-josnarlo <josnarlo.amd.com>
Co-authored-by: Sumanth Gavini <sumanth.gavini@amd.com>
Co-authored-by: Joseph Narlo <joseph.narlo@amd.com>
Co-authored-by: amd-josnarlo <josnarlo.amd.com>
2025-12-09 16:16:50 -06:00
Park, Peter 83bbbd55a3 docs: Update Doxygen, Sphinx, and readthedocs configs (#719)
* conf: update RTD config to ub24.04 (doxygen 1.9.8) and py3.12
* update generate-docs workflow
* Update "modules" to "topics" due to Doxygen 1.9.8
* bump rocm-docs-core to 1.25.0 and pip-compile requirements.txt
* doxygen: fill in version string in Doxyfile from conf.py
* remove unneeded rocm-smi-lib tutorials
* remove wikipedia references in doxyfile to satisfy ci check

Signed-off-by: Park, Peter <Peter.Park@amd.com>

[ROCm/amdsmi commit: 311eade5b1]
2025-09-26 17:30:48 -05:00
Justin Williams 66f6455881 Updated Container Test Cases
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 74b35ddfd9]
2025-09-19 11:07:18 -05:00
Williams, Justin 587b844c2f CI - Added New ABI Labeling Logic (#695)
* CI - Added New ABI Labeling Logic

Signed-off-by: Justin Williams <Justin.Williams@amd.com>

[ROCm/amdsmi commit: 2a1f9a6e4a]
2025-09-17 16:29:22 -05:00
Arif, Maisam 433893c770 Revert "[SWDEV-536176] libdrm_amdgpu depdency change (#448)"
This reverts commit 4d33e79baa.


[ROCm/amdsmi commit: ed2300516f]
2025-08-27 20:11:17 -05:00
Arif, Maisam 4d33e79baa [SWDEV-536176] libdrm_amdgpu depdency change (#448)
* Cmake fix updates
* Next fix will be addressing libdrm further

---------

Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Justin Williams <juwillia@amd.com>

[ROCm/amdsmi commit: 652761de54]
2025-08-27 09:32:51 -05:00
Justin Williams 05ee73d6de CI - Updated Runners & Max Parallels
Signed-off-by: Justin Williams <juwillia@amd.com>


[ROCm/amdsmi commit: d0321875d9]
2025-08-07 12:07:19 -05:00
Poag, Charis bf8bbd99c6 [SWDEV-518561] Separate Driver Reload from Memory Partition Sets (#582)
Description:
  - Added a new API `amdsmi_gpu_driver_reload()` to reload the AMD GPU driver independently.
  - Updated CLI (`sudo amd-smi reset -r`) and Python bindings to support driver reload functionality.
  - Removed automatic driver reload from `amdsmi_set_gpu_memory_partition()` and `amdsmi_set_gpu_memory_partition_mode()`.
  - Enhanced CLI and test cases to allow users to control when the driver reload occurs.
  - Updated documentation and changelog to reflect the new driver reload process.
  - Improved error handling and logging for driver reload operations.
  - Added progress bar and user confirmation prompts for driver reload commands.

* Update build/test strategy to only allow one test execution at a time
* Modify API verbage + modify systemctl error output
  - Systemctl is typically not enabled on docker.
  - And is an edge case for gpu being active process/etc for display devices.
* Remove AMDSMI_STATUS_AMDGPU_RESTART_ERR from the return values
* Move driver reload to after we save original compute partitions

---------

Signed-off-by: Charis Poag <Charis.Poag@amd.com>

[ROCm/amdsmi commit: d24dc7ef89]
2025-08-05 20:44:28 -05:00
Galantsev, Dmitrii dbc496b36f CI - Use self-hosted machines for format checking due to IP whitelist
Change-Id: I1f0f4af7ed42d849cf4c9384e3c0c6da57b0504c
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 4044d1da41]
2025-08-04 21:09:25 -05:00
Williams, Justin 222762d1be Updated CODEOWNERS (#578)
Signed-off-by: Justin Williams <juwillia@amd.com>
Co-authored-by: Justin Williams <juwillia@amd.com>

[ROCm/amdsmi commit: d11ae93eb0]
2025-07-25 09:42:16 -07:00
Justin Williams 634a5c8c2b CI - Added Debian 10 Repository Updates
Signed-off-by: Justin Williams <juwillia@amd.com>


[ROCm/amdsmi commit: 0d76d78e49]
2025-07-24 10:39:38 -05:00
Justin Williams 65a9397928 CI - Make ABI compliance checks non-blocking with warning labels
Signed-off-by: Justin Williams <juwillia@amd.com>


[ROCm/amdsmi commit: 4c09fcac1f]
2025-07-24 08:49:44 -05:00
Williams, Justin 76add85291 CI - Created Automatic Github to Gerrit Mirror (#556)
Signed-off-by: Justin Williams <Justin.Williams@amd.com>

[ROCm/amdsmi commit: 5b72f3a950]
2025-07-22 17:30:40 -05:00
Justin Williams 6d062556c5 CI - Fixed Debian 10 Install Errors
Signed-off-by: Justin Williams <juwillia@amd.com>


[ROCm/amdsmi commit: 553f2bfce3]
2025-07-22 17:17:15 -05:00
Justin Williams 35b740f736 CI - Added Docs Generation Instructions
Signed-off-by: Justin Williams <juwillia@amd.com>


[ROCm/amdsmi commit: af69f75a86]
2025-07-10 09:42:51 -05:00
Justin Williams 490a186dfc CI - Changed CI Runners
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: abd3bf2dcf]
2025-06-30 14:23:43 -05:00
Maisam Arif 34041504f9 Update workflows and Contrib docs
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I2ae31144ee1ab29c8bbba83f0c7eb0bb9dc079ba


[ROCm/amdsmi commit: 049c59c5bb]
2025-06-13 16:19:10 -05:00
Justin Williams 0c2228852a CI - Added Build Warnings
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 6d03ca79ff]
2025-06-11 13:13:38 -05:00
Williams, Justin 20e374663d CI v5.0 (#459)
Signed-off-by: Justin Williams <Justin.Williams@amd.com>

[ROCm/amdsmi commit: ae4f56d14b]
2025-06-06 16:29:20 -05:00
Justin Williams d8b32bf2ee [SWDEV-533596] CI - Fixed Docs
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: bf0448ff96]
2025-06-02 13:48:01 -05:00
Justin Williams 928c95f6eb [SWDEV-533596] CI - Added Docs Generation
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 83185695c9]
2025-05-29 13:46: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
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 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
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
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
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
Hila, Nino 808ee84222 Add palamida.yml
[ROCm/amdsmi commit: bd20b1b150]
2025-04-22 16:07:51 -05:00
Justin Williams f997769c8f [SWDEV-527430] Add API breakage checks for amd-smi
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 7aa45b2f55]
2025-04-22 13:18:39 -05:00
Justin Williams 94d451bc03 CI - Add mainline labels automatically
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 369afa85eb]
2025-04-17 17:53:09 -05:00
Williams, Justin d4dd78c8b5 [SWDEV-500518] Redesigned CI
[ROCm/amdsmi commit: 4e7c8dc5c9]
2025-04-15 22:09:49 -05:00
Galantsev, Dmitrii 3e82aba71f CI - Add cherrypick labels automatically
Change-Id: Ibea66f45e082a7c425f1b927775629c2f05d7c32
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 690a5279eb]
2025-04-15 18:57:16 -05:00
Justin Williams 574144c9a0 Created ABI Compliance Checker
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 3f75cd906f]
2025-04-09 12:40:02 -05:00
Williams, Justin 52195d6505 [SWDEV-500518] Updated CI Structure (#244)
Signed-off-by: Justin Williams <Justin.Williams@amd.com>

[ROCm/amdsmi commit: e3ab8cf71b]
2025-04-07 15:02:57 -05:00
Galantsev, Dmitrii 2c88f8ebe6 CI - Disable example builds after breakage
Change-Id: I8a070dd65ed752b2485c17e0eeb5bc1dc875931e
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: a0e6c1c1bd]
2025-04-04 18:19:20 -05:00
Justin Williams e8db1d64f6 [SWDEV-500518] Added RHEL10
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 846f0f5688]
2025-04-03 09:04:23 -05:00
Mallya, Ameya Keshava e4d8950a0e Fix syntax to mainline
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>

[ROCm/amdsmi commit: 19a5f25829]
2025-04-01 09:47:57 -07:00
Mallya, Ameya Keshava 0114eca2b1 Adding !verify features
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>

[ROCm/amdsmi commit: 6a8de725b7]
2025-03-31 13:32:41 -07:00
Mallya, Ameya Keshava eb2fef9767 Added KWS check for amd-mainline
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>

[ROCm/amdsmi commit: edf70ea81a]
2025-03-28 08:07:02 -07:00
Justin Williams 2914543174 [SWDEV-500518] Updated AMDSMI sanity checks
Signed-off-by: Justin Williams <Justin.Williams@amd.com>


[ROCm/amdsmi commit: 4e3a197dcc]
2025-03-27 18:35:13 -05:00
Williams, Justin 73ee5233f4 [SWDEV-500518] Fixed Uninstall Checks (#187)
Signed-off-by: Justin Williams <Justin.Williams@amd.com>

[ROCm/amdsmi commit: 50a1c2905a]
2025-03-26 08:57:05 -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
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
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
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
Williams, Justin 77f316ee7d [SWDEV-500518] Updated Workflow (#111)
Signed-off-by: Justin Williams <Justin.Williams@amd.com>

[ROCm/amdsmi commit: 99e57f6269]
2025-02-14 14:06:51 -06:00
Mallya, Ameya Keshava 16a2c1f9de Added !verify trigger
Signed-off-by: Mallya, Ameya Keshava <AmeyaKeshava.Mallya@amd.com>

[ROCm/amdsmi commit: 98052605c9]
2025-01-28 20:08:25 -08:00
Williams, Justin 80aeafa808 [SWDEV-500518] RHEL8 fix (#71)
Fix ordering of RHEL 8 build process

Signed-off-by: Williams, Justin <Justin.Williams@amd.com>

[ROCm/amdsmi commit: 782dd075ef]
2025-01-28 16:42:14 -06:00