İşleme Grafiği

1336 İşleme

Yazar SHA1 Mesaj Tarih
Joe Narlo bad2cc9c23 SWDEV-495787 [AMDSMI] Different license headers
Change copyrights to MIT and remove date

Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com>
Change-Id: I16f5b412f2b9ddefaaa1771aa714cc18829a1be4


[ROCm/amdsmi commit: 3052ad4220]
2024-11-22 08:55:28 -05:00
gabrpham f963f24d63 [SWDEV-498453] Enabled 'amd-smi set --clk-limit' for virtual environments
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I23e994502d4abc1a602d2341e77ad9c50fcf4839


[ROCm/amdsmi commit: 50eaf14b9e]
2024-11-19 16:17:29 -06:00
gabrpham f7a77c2539 [SWDEV-498453] Enabled for virtual environments
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: Ic7b274cf8e579b733515efe84fc0f325256ef8b1


[ROCm/amdsmi commit: fc9d18dd3e]
2024-11-18 11:57:04 -05:00
Maisam Arif e578a46e54 Revert "[SWDEV-446215] Update cmake to put test libs in proper lib dir"
This reverts commit a33cdd7da6.

Reason for revert: Incorrect Path

Change-Id: I88bb304cfab997460a916e1a130fdb75435c648b


[ROCm/amdsmi commit: ed58196e35]
2024-11-18 11:15:22 -05:00
Adam Pryor 469b40d573 Revert "[SWDEV-446215] Update cmake to put test libs in proper lib dir"
This reverts commit a33cdd7da6.

Reason for revert: Because the gtest of amdsmi is different to other components so it was installed in a share/amdsmi/lib folder. It cannot be installed in a common folder such as /usr/local/bin or /usr/bin because all other components try to search those folder first.

 

This is breaking ROCmValidationSuite and other tools. Per Wang, Yanyao this should be reverted.

Change-Id: Id61bc6056fe41800e738616f39293e9b8762a377


[ROCm/amdsmi commit: b7789d4699]
2024-11-15 15:08:12 -05:00
Maisam Arif 48da4536c7 Updated CLI exceptions
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I5c68eed7719c093727afa434e25ba2560dde894a


[ROCm/amdsmi commit: f1c3fbf226]
2024-11-15 11:44:51 -05:00
Maisam Arif 2ee6a3c178 Revert "SWDEV-489696 [AMD SMI] Update python integration test"
This reverts commit f34bfce669.

Reason for revert: Changes needed

Change-Id: I96cc956a2f1c73a2828c70ec9aa22931ba570d8f


[ROCm/amdsmi commit: afd06950c1]
2024-11-14 18:54:48 -05:00
Joe Narlo f34bfce669 SWDEV-489696 [AMD SMI] Update python integration test
Initial update

Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com>
Change-Id: I7c5777159f591f8b402168576b14ef8c1157e8d9


[ROCm/amdsmi commit: 06e7bf8a98]
2024-11-14 17:52:01 -05:00
Maisam Arif c6722a33ad Corrected pyyaml debian package name
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ice1541b4c1fc2297ee8bef5a7c7336c93267e01a


[ROCm/amdsmi commit: dfcf5b4ae5]
2024-11-14 14:42:50 -06:00
Justin Williams 966d0d996f [SWDEV-492047] Removed setup.cfg.in
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
Change-Id: I97b14d05b17fefbb87368824f57bc4ab690f1bf0


[ROCm/amdsmi commit: d3d6157854]
2024-11-13 12:45:09 -05:00
Peter Park 49592ef24f remove duplicated changelog
black format docs/conf.py
add seealso to python api reference

Change-Id: I60fa754f0af662669282dc90eea4b7dc5c5030cc
Signed-off-by: Peter Park <peter.park@amd.com>


[ROCm/amdsmi commit: cbfe403b1d]
2024-11-13 11:46:47 -05:00
Charis Poag f01eea6077 [SWDEV-488276/SWDEV-497613] Update memory partition set functionality
Changes:
  - [CLI] Added warning screen to AMD SMI users
    setting memory partition
  - [CLI] Added a progress bar time-bar for CLI sets display to 40 seconds
  - [API] Updated to wait until the driver reloads with SYSFS files active
  - [CLI] Now users can set or reset without providing:
    amd-smi set -g all <set arguments>
    or amd-smi reset -g all <set arguments>
    now can directly call -> sudo amd-smi set <set arguments>
    or sudo amd-smi reset <set arguments>
  - [SWDEV-475712][CLI/API] Fixed target_graphics_version field
    not properly displaying for older MI or Navi ASICs.
  - [All APIs] Added a catch for the driver to report invalid arguments
    now these APIs will show AMDSMI_STATUS_INVAL
    (ex. changing to NPS8 if the device does not support it)
  - [Install] Modified paths for Python install commands to support
    multi-ROCm installs

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


[ROCm/amdsmi commit: 3ea4a42a6e]
2024-11-12 16:50:32 -04:00
gabrpham e883dd7c87 Documented and adjusted APIs for asic info, vram info, and P2P topology
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I7ac9a868148e29c92299b21540e057f64cb4123e


[ROCm/amdsmi commit: 19cc4718c0]
2024-11-11 20:45:37 -05:00
gabrpham 5337da2573 Documented and adjusted python apis for pm metrics and reg table info
* amdsmi_get_gpu_pm_metrics_info and amdsmi_get_gpu_reg_table_info
were added to python api documentation
* AmdSmiRegType added as enum
* amdsmi_get_gpu_reg_table_info reg_type changed to AmdSmiRegType

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I57239ecf048e82226151db071e8d9299e9182647


[ROCm/amdsmi commit: 4d26db84ca]
2024-11-11 20:45:37 -05:00
gabrpham 194c33852f [SWDEV-492739] Partial fix for sclk min/max out of bounds
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I1f0230955c890c11a735c8cb352c8a9ee4cebe27


[ROCm/amdsmi commit: 2273d95a6c]
2024-11-11 20:45:37 -05:00
Maisam Arif 17bae546f1 Bump Version to 24.7.1.0
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I0fc42fe55cb653102d189db9aa5eaf723280170e


[ROCm/amdsmi commit: 4b511a31e1]
2024-11-11 19:23:20 -06:00
gabrpham f9bfce707d updated cli tool examples doc to reflect current CLI
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: Iab78a412464ba6d7919aeb7da04a031b063a7d09


[ROCm/amdsmi commit: 0f067488e1]
2024-11-11 17:12:40 -05:00
Maisam Arif 43efe1c39a Updated parser help text
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I8cc65edb1e629a55e0efbfc1109b1c549ed81101


[ROCm/amdsmi commit: 7932de967a]
2024-11-11 15:07:21 -06:00
Peter Park a003e50130 docs: Remove redundant/stale docs
bump rocm-docs-core to 1.8.2

rm unused files

rm stale docs

fix sphinx conf

reorg docs

SWDEV-482203 -- add note to usage guides

update readmes

Change-Id: I9e0111ac8fe2a691ac964b27436ba47747c27904
Signed-off-by: Peter Park <Peter.Park@amd.com>


[ROCm/amdsmi commit: e196f98dba]
2024-11-11 16:49:17 -04:00
Maisam Arif 16ffa7714c Updated amdsmi_get_energy_count() C API documentation
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Iac75a0dcd583f39eb97aada769c736c3305cc8a2


[ROCm/amdsmi commit: 6e843436f5]
2024-11-08 16:37:10 -05:00
Maisam Arif 27d81891be Adjusted private helper variables
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I0590b9ee5a1b4d5e6d4ae71c9587550c8d95033b


[ROCm/amdsmi commit: 5449d78cc4]
2024-11-08 11:25:50 -06:00
Maisam Arif e9f43bc3dd Added ras and ecc counting back to Linux VMs
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ie981f7fe8f481f2137e95dda2e200d00ab4d92c8


[ROCm/amdsmi commit: abee26d4ab]
2024-11-08 11:05:15 -06:00
Peter Park 468a223acc Mod changelog to fit internal standard
Change-Id: Id90136f16f15a30b2791ed0634a408a7eb73f96f


[ROCm/amdsmi commit: 31821cb585]
2024-11-08 11:57:14 -05:00
gabrpham f162de9efd [SWDEV-495985] Changed ACCELERATOR_TYPE default value.
Default value changed from 0 to "N/A".
	Actual values for all fields will be filled out in later API
update.

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I69b08fff894a032ef79301754807ed4b5c85257f


[ROCm/amdsmi commit: 27996aef18]
2024-11-07 21:22:28 -05:00
gabrpham 17f7c7c2e8 [SWDEV-489060] Added python3-setuptools and wheel as prereqs in README.
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I51cf938033d746bd6c255d518d7e0d3a87296be4


[ROCm/amdsmi commit: 4effd48fe2]
2024-11-07 14:42:04 -04:00
Charis Poag d221ca528e [SWDEV-495305] Fix AttributeError: 'Namespace' object has no attribute 'compute_partition'
Changes:
   - [CLI] Earlier we removed compute & memory partition resets,
     this fix changes back to the correct spacing for
     reset commands

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


[ROCm/amdsmi commit: 7fc4b853d4]
2024-11-05 18:49:08 -05:00
Maisam Arif 2d760697b3 [SWDEV-492031] Update Market Names
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I13c2047fd8c7af0dc566f88a3cac8b365697a092


[ROCm/amdsmi commit: 2678e1f3f7]
2024-11-05 17:52:02 -04:00
Jorge López 5dfc8836e8 Updates driverInitialized() to support amdgpu built as module as well as kernel built-in. Fixes ROCm/rocm_smi_lib#102 and is an updated version of ROCm/rocm_smi_lib#104
Change-Id: Icb3abe820bc67035b822358a1c04bd09a7c22b6b
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Reviewed-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 172a3e233b]
2024-11-05 16:30:34 -05:00
adapryor bfbb2f9de7 [SWDEV-412505] Handle mclk permission errors as not supported
Change-Id: Idb3eeed76ff55c507f28b5e692f8704704c3e46e
Signed-off-by: adapryor <Adam.pryor@amd.com>


[ROCm/amdsmi commit: 02cbffb42a]
2024-10-31 17:40:34 -04:00
Joe Narlo 73f909cd8b SWDEV-495316 [AMDSMI] In amdsmi.h, change typedef amdsmi_accelerator_partition_profile_t to match definition in Confluence
Move memory_caps defintion and correct the number in reserved to match Confluence

Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com>
Change-Id: Id94144f4b3d2d3d7b4d7327211ffc1957ffd0a93


[ROCm/amdsmi commit: 54462ab447]
2024-10-31 12:48:48 -04:00
adapryor a33cdd7da6 [SWDEV-446215] Update cmake to put test libs in proper lib dir
Change-Id: I2e91b904b3f869cdba717d872c10d799d0260c30
Signed-off-by: adapryor <Adam.pryor@amd.com>


[ROCm/amdsmi commit: 6e01df00ca]
2024-10-29 16:07:58 -04:00
Charis Poag 6e0b0792ab [SWDEV-463406] Update sample rate + align metric output
Changes:
- Corrected max speed users can sample from FW/driver
  is 100 ms
- Added warning to amdsmi_get_violation_status()
  call on delay required 100ms to sample
- Removed guest support, this API will not be supported
- Updated CLI `amd-smi metric --throttle` outputs from
    XXX_active -> XXX_status
    XXX_percent -> XXX_activity
  to align with host
- Changelog updated

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


[ROCm/amdsmi commit: 0ceca28f41]
2024-10-23 17:36:35 -04:00
gabrpham 118ce35c67 SWDEV-478748 Changed TestPciReadWrite Test Failure message to Warning
TEST FAILURE message for `amdsmi_get_gpu_cpi_throughput` and
`amdsmi_get_gpu_pci_bandwidth` changed to WARNING to indicate that
pcie_bw and/or pp_dpm_pcie sysfs files may not be supported on respetive
devices.

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I1ad6e15eceacb5a00b022458ee5fb21df9d845c7


[ROCm/amdsmi commit: 00b3184e9f]
2024-10-18 16:32:57 -05:00
gabrpham 072e67c9c3 [SWDEV-490187] reset gpu partition were removed
The reset gpu partition support for both compute and memory were removed

Code changes related to the following:
  * amdsmi_reset_gpu_compute_partition()
  * amdsmi_reset_gpu_memory_partition()
  * CLI

Change-Id: I372589074b4da172bedd39223edde18939e373ae
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>


[ROCm/amdsmi commit: f5b7761ac7]
2024-10-18 16:22:26 -05:00
Justin Williams fcb033f780 [SWDEV-482058 / SWDEV-482971] Added setup.py install
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
Change-Id: Ibad07d34dfb455043ce307fe036289f1d5c20a9a


[ROCm/amdsmi commit: 2e5b164c43]
2024-10-18 16:59:13 -04:00
Oliveira, Daniel d108c5ae2b [SWDEV-488526] BI-Direction Table mismatch
Implements DiscoverIOLinkPerNodeDirection() based on KFD Node infrastructure;
'/kfd/topology/nodes/*/io_links'

Code changes related to the following:
  * Internal implementation

Change-Id: Iccd84d1d69234dbeae4d4925f657e7e3bd801106
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>


[ROCm/amdsmi commit: 25bcf6af2a]
2024-10-17 15:27:09 -04:00
gabrpham d0ad17d9d5 [SWDEV-488846] Removed '--ecc' option from 'amd-smi monitor' when platform is VM
Change-Id: I8f5d7771cbfac3fe5f52dbccbd9f28020adb5f6f


[ROCm/amdsmi commit: 27b5a35d65]
2024-10-16 10:34:19 -04:00
gabrpham 4b461904b2 [SWDEV-486872] Removed '--ras' from static command when platform is VM
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I0b03f168d7011428cfea3ab303865f4eaeea78ac


[ROCm/amdsmi commit: eb9116e8c2]
2024-10-16 09:29:24 -05:00
Maisam Arif 628682645b [SWDEV-491466] Fix throttle metrics CLI on VM
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I41166df4d155ec1d7d5f30b51dd9e0e02e655eb9


[ROCm/amdsmi commit: 9a0d56fea8]
2024-10-16 09:14:25 -05:00
Joe Narlo 06ef0819a3 SWDEV-487604 [AMD SMI][Unified Header] integration_test.py is failing with unified header
The script generator.py was not handling all of the anonymous and unnamed structures.
Logic was added to correct the errors seen in the script amdsmi_wrapper.py

Removed adding _ to structure definitions

Change-Id: I51958d23b3da40ec67e883e13dc74feaeaf1d58e
Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com>


[ROCm/amdsmi commit: b5887c2f05]
2024-10-15 16:22:02 -04:00
Khader Basha Shaik 806d1a25c3 amdsmi [CPU]: Add implementation to get cpu handles and core handles API
- Update the API names, parameters to return cpu handles and core
handles in the system.
  - Update the amdsmi_wrapper.py.
  - Update the amdsmi_interface.py to use the processor handles and
    core handles API.

Change-Id: Ie24f62f345864f8b6773fdb3c6369993bca7e25b


[ROCm/amdsmi commit: 8308ede9e8]
2024-10-14 05:41:19 -04:00
Jeremy Newton 5c89fc37aa goamdsmi: Use CMAKE_INSTALL_LIBDIR
Match libamd_smi and don't hardcode to "lib", so distros can customize
the library location.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I0d2ff761975529fc06776c75cefea6907ec1ee8f


[ROCm/amdsmi commit: dd8795b099]
2024-10-10 15:12:35 -04:00
Maisam Arif 5e3d644769 Corrected clean local data partition indexing
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ib0eeb065f160fccd3c3f4a2d13f0869af01a74ae


[ROCm/amdsmi commit: 27a48e69d8]
2024-10-10 10:54:45 -05:00
Maisam Arif 0368ce662d [SWDEV-447451] Fix attribute error for set/reset on Linux Guest
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I5d55bef44d2eea75c33ba489a57544976900c4a4


[ROCm/amdsmi commit: 4fcf281f1d]
2024-10-09 12:59:19 -05:00
Charis Poag 5278e0c290 [SWDEV-463406] Add volation_status current counter/accumulated values
Changes:
  - amdsmi_violation_status_t now includes current accumulated/counter
   values
  - Tests/wrapper now include added values
  - Removed ASIC references in header for host/bm alignment
  - Fix violation_status->per_hbm_thrm /
    violation_status->active_hbm_thrm
    calculations.

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


[ROCm/amdsmi commit: 5eff39915b]
2024-10-04 15:56:01 -04:00
Maisam Arif d759e8d704 Udpated market name
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I71948b185b6ac60610fedf2d48dd9c95c26e5777


[ROCm/amdsmi commit: e402fe7f36]
2024-10-02 14:24:03 -05:00
Maisam Arif 014d0a4e96 [SWDEV-488819] - Backward Compatibility Disclaimer
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I8b00d2009e3d01da134ac21ddcb0994357d76a54


[ROCm/amdsmi commit: 30f6a114e1]
2024-10-01 14:57:23 -05:00
Maisam Arif ffcf02ba63 Corrected throttle status value check
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I2d75108c64c3ca3e290be1dd5b8c1435c5576f91


[ROCm/amdsmi commit: b233db729b]
2024-09-30 13:40:32 -05:00
Maisam Arif ee79530a3c Bump Version to 24.7.0.0
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ife9277f6abf64ed862e11e12a6472c6e6ea4d68f


[ROCm/amdsmi commit: a266d602c5]
2024-09-27 18:55:19 -05:00
Galantsev, Dmitrii 76c1321d87 CMAKE - Fix version
Change-Id: Ieefdd4c64ae657a53f1f5fd9a7fc94b3d2c899c2
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 88ed9e2f09]
2024-09-27 18:34:16 -05:00