Grafik Komit

1525 Melakukan

Penulis SHA1 Pesan Tanggal
Pham, Gabriel e9fbe5bc66 [SWDEV-502523] made set gpu arguments mutually exclusive (#31)
Signed-off-by: Pham, Gabriel <Gabriel.Pham@amd.com>

[ROCm/amdsmi commit: 5ed340c08b]
2025-01-07 16:48:01 -06:00
Narlo, Joseph 2578ed922b [SWDEV-506030] Fix Errors when generating python wrapper
Update wrapper script is not generating the python wrapper properly.
Fixed how the structure names are parsed.

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

[ROCm/amdsmi commit: 84f4d397aa]
2025-01-07 16:12:37 -06:00
Park, Peter 3968f88b4c [SWDEV-503717] Remove occurrences of "Fusion" in docs
Tiny PR to remove occurrences of "Kernel **Fusion** Driver" in
public-facing docs.

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

[ROCm/amdsmi commit: d9bba639df]
2025-01-07 16:11:46 -06:00
Maisam Arif e32383b6c5 Deprecated amdsmi_get_energy_count() power field
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I1b5fe8e278b797458e57dff689e692347901bbfd


[ROCm/amdsmi commit: 8ca2c6e247]
2025-01-07 12:45:55 -06:00
Arif, Maisam b7727b1138 [SWDEV-500518] Added amdsmi-build.yml (#29)
Signed-off-by: Williams, Justin <Justin.Williams@amd.com>
Authored-by: Williams, Justin <Justin.Williams@amd.com>

[ROCm/amdsmi commit: e47add5a1b]
2024-12-21 00:57:03 -06:00
Pham, Gabriel 0c4db04140 [SWDEV-476303] Exposed valid values for set command (#8)
Updated amd-smi set help text
---------

Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Signed-off-by: Pham, Gabriel <Gabriel.Pham@amd.com>

[ROCm/amdsmi commit: 93a027ec95]
2024-12-20 15:32:10 -06:00
gabrpham 11d7fb9508 Additional fixes for amd-smi static --clock
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>


[ROCm/amdsmi commit: 23da950ef0]
2024-12-20 14:45:20 -06:00
Charis Poag bf4bbef085 [SWDEV-484382] Fix VCLK/DCLK outputs for monitor, static, metric
Units were off and VCLK/DCLK outputs were not coming in
properly through amdsmi_get_clk_freq()

Now we match units sent back through rsmi_dev_gpu_clk_freq_get (MHz).

CLI now shows maximum of 2 VCLK/DCLKs otherwise shows N/A if there
is no current_freq listed.

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


[ROCm/amdsmi commit: 3226a1d0ea]
2024-12-20 14:11:08 -06:00
Choudhary, Rahul 9d5eada975 Update rocm_ci_caller.yml - Enabling PSDB pipeline for pull request (#18)
[ROCm/amdsmi commit: 23a21ea202]
2024-12-20 00:28:50 -08:00
Choudhary, Rahul f017a4fecd Update rocm_ci_caller.yml - Enabling PSDB pipeline for pull request
pull request in amd-staging will trigger staging pipeline - compute-psdb-staging-smi-libs-ghemu

pull request in amd-mainline will trigger mainline psdb - compute-psdb-no-npi-ghemu

Signed-off-by: Choudhary, Rahul <Rahul.Choudhary@amd.com>

[ROCm/amdsmi commit: 3a7b8bb664]
2024-12-19 23:17:54 -08:00
Maisam Arif 1f3da7e0a9 [SWDEV-481702] Update marketing name source
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>


[ROCm/amdsmi commit: 338cdd63ce]
2024-12-19 18:32:51 -06:00
Maisam Arif 04b864bd98 Bump Version to 24.7.2.0
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>


[ROCm/amdsmi commit: 6dcbff866b]
2024-12-19 17:04:55 -06:00
Arif, Maisam 3fa2c7d1e5 Update CHANGELOG.md (#20)
[ROCm/amdsmi commit: 8c579316b8]
2024-12-19 16:50:04 -06:00
Arif, Maisam b4ad0a48c6 Update CHANGELOG.md
Signed-off-by: Arif, Maisam <Maisam.Arif@amd.com>

[ROCm/amdsmi commit: 34f9edd2fc]
2024-12-19 16:47:31 -06:00
Justin Williams a803595fe0 Fixed Python module error
[ROCm/amdsmi commit: 747834624b]
2024-12-19 11:19:01 -06:00
Arif, Maisam 73b391d993 Merge branch 'amd-mainline' into amd-staging
[ROCm/amdsmi commit: 0bd1112b6b]
2024-12-19 11:11:49 -06:00
Williams, Justin 321aa328de Update README.md
Signed-off-by: Williams, Justin <Justin.Williams@amd.com>

[ROCm/amdsmi commit: 71d8fa1c0f]
2024-12-18 15:36:26 -06:00
Justin Williams 83718095a4 Removed Wheel & Setuptools dependency
[ROCm/amdsmi commit: eb5f64a5e2]
2024-12-18 15:35:28 -06:00
Juan Castillo 2ddb2ef032 [SWDEV-496693]GPU Metrics 1.7
Features added:
- [SWDEV-475244] Add new interface to get max memory bandwidth
Updated API: amdsmi_get_gpu_vram_info
Updated: struct amdsmi_vram_info_t to include vram_max_bandwidth
CLI: amd-smi static --vram

- [SWDEV-488349] Add new interface for XGMI link status
New API: amdsmi_get_gpu_xgmi_link_status
CLI: amd-smi xgmi --link-status

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Change-Id: I1aa35b741136eb4f02f7ea9a95b865886273eb72


[ROCm/amdsmi commit: f8b8347627]
2024-12-18 10:57:06 -06:00
Joe Narlo 01d303806a SWDEV-504389 [AMD-SMI] Synching Comments in Linux BM
Sync comments from Unified Header to Linux BM

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


[ROCm/amdsmi commit: ef31bb7166]
2024-12-18 10:57:06 -06:00
Choudhary, Rahul 72f4eac675 Create rocm_ci_caller.yml enabling OSDB for push on mainline
[ROCm/amdsmi commit: 30e08eed1c]
2024-12-17 12:21:17 -08:00
Choudhary, Rahul 0375bc03b3 Update rocm_ci_caller.yml fixing base ref
base ref to cover both pull and push request

[ROCm/amdsmi commit: 6ffe28fb47]
2024-12-17 12:19:06 -08:00
Choudhary, Rahul 12ef77a426 Create rocm_ci_caller.yml adding workflow caller for PSDB and OSDB
[ROCm/amdsmi commit: 2c36a327de]
2024-12-16 22:06:03 -08:00
Choudhary, Rahul 5114f28549 Create codeql.yml
copied from previous repo

[ROCm/amdsmi commit: c11a7f6eb9]
2024-12-16 22:03:54 -08:00
Maisam Arif e1cdc59f04 Merge amd-dev into amd-master 20241213
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ie13efc3ba253965dfe32a93438fe39b0509e305f


[ROCm/amdsmi commit: 89ecf1c444]
2024-12-13 12:08:19 -06:00
Maisam Arif 2560faa31b Revert "[SWDEV-502001] Fix link for amd_hsmp.h"
This reverts commit cc50414c9c.

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


[ROCm/amdsmi commit: 41561ec3a0]
2024-12-13 12:01:26 -06:00
Joe Narlo 68497c68e9 SWDEV-492272 [AMDSMI] Build/Compiler warnings messages
Fix compiler warnings

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


[ROCm/amdsmi commit: d0a7332d32]
2024-12-13 00:38:07 -05:00
gabrpham d71dac9766 [SWDEV-484382] Added fclk and socclk to amd-smi metric -c
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: Ie7e19c757b05455693c0d26eeb5e8b6c1e238375


[ROCm/amdsmi commit: fe290a2056]
2024-12-13 00:33:12 -05:00
gabrpham 49a0904903 [SWDEV-484382] Added new command amd-smi set -c/--clk-level
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: If45152e3a3c94f65b6a8a960601b9ed16fa3d0d7


[ROCm/amdsmi commit: 5f9c2db6f3]
2024-12-13 00:32:19 -05:00
gabrpham cb42e8e444 [SWDEV-484382] Added new command amd-smi static --clock
Signed-off-by: gabrpham <Gabriel.Pham@amd.com>
Change-Id: I49e1aa2e699734d81c40c76c62da1cecc5bd3c0e


[ROCm/amdsmi commit: bc16e1a5da]
2024-12-13 00:30:29 -05:00
Maisam Arif df85708b46 [SWDEV-489060] Added python3-setuptools & python3-wheel for base images
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I222395e656469f67405bc94a86ab7f8fd1ed34a2


[ROCm/amdsmi commit: aed7749a2c]
2024-12-11 16:40:51 -06:00
Charis Poag 323ebacde0 Fix amd-smi firmware not printing YAML-like dictionary correctly
List string should take into account dictionary value types

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


[ROCm/amdsmi commit: 57f45954b7]
2024-12-11 10:48:43 -05:00
Justin Williams 458f2fcbd8 [SWDEV-479339/498804] Added AMDSMI Dockerfile
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
Change-Id: Ic7cc6eb6417708cff3f4a33b91a8ef6dcd2b2807


[ROCm/amdsmi commit: 2a1e2eed18]
2024-12-10 16:18:42 -05:00
Maisam Arif 6447baeedd Fixed spacing in amd-smi --xgmi
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I9fbd20c50a25aa3be80c8aa68eea37b81a74dc67


[ROCm/amdsmi commit: 554203c13a]
2024-12-10 15:45:06 -05:00
Charis Poag b99a90ead4 [SWDEV-475712] Fix MI2x target_graphics_version
Removed correcting target_graphics_version by
product name. Instead detected target_graphics_version which
needs to be corrected -> populate accordingly.

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


[ROCm/amdsmi commit: 7543a058ea]
2024-12-10 13:43:02 -05:00
Charis Poag 95cc962509 [SWDEV-488288] Remove GFX_BUSY_ACC from amd-smi metric --usage
Output is not helpful to users.

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


[ROCm/amdsmi commit: bc0015fd36]
2024-12-10 13:37:36 -05:00
Charis Poag 6829980152 [SWDEV-495824] AMD SMI reporting CPX partitions incorrectly
Updated changelog to provide options to users on how to fix.

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


[ROCm/amdsmi commit: b911a0606a]
2024-12-10 11:20:03 -05:00
Maisam Arif 0db64ff2b3 [SWDEV-503491] Updated Market Names
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ib56c4c96190e18708ef4d0d6358dd8d5b1ee9e6a


[ROCm/amdsmi commit: ddcfe28520]
2024-12-09 15:40:06 -05:00
Bindhiya Kanangot Balakrishnan efa7286410 [SWDEV-496639] Align amd-smi xgmi statistics
The xgmi read and write values were displayed in KB. The numbers became
unreadable due to misalignment. So, converted read and write values to
readable units using helper function. Updated Changelog.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Change-Id: I4c90a1de8a58c29cbdf43fe3480a1546f3946673


[ROCm/amdsmi commit: 288b11df37]
2024-12-09 12:57:45 -05:00
Charis Poag 44adc457b2 [SWDEV-502744] Fix "amd-smi monitor" shows VCN ENC utilization & clock but not VCN DEC
Reason for this fix:
Navi products use vclk and dclk for both encode and decode.
On MI products, only decode is supported.
Navi products cannot support displaying ENC_UTIL % at this time.

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


[ROCm/amdsmi commit: d323ecff97]
2024-12-07 12:11:10 -05:00
gabrpham cdecce3658 Fixed post reset and ring_hang issues
Issues include:
	SWDEV-480250
	SWDEV-480255
	SWDEV-480248
Known issue:
	`amd-smi event` has threads taking events from the same device
which, in the case of resetting gpus, makes it seem like some gpus have
reset mulitple times and other have not reset at all.

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


[ROCm/amdsmi commit: bd01cfc203]
2024-12-06 17:46:00 -05:00
Bindhiya Kanangot Balakrishnan 3794b3796c [SWDEV-457845] Error code unification for amd-smi set
Earlier amd-smi set was returning different outputs in Linux
and Windows. In Linux it was returning ValueError. As part of
Error Code unification, corrected this output message.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Change-Id: Iba9ddd9c5b2bed0456f303e4373f6771c93608be


[ROCm/amdsmi commit: 1586005a5b]
2024-12-06 14:21:31 -05:00
Justin Williams 8976ba5628 [SWDEV-502001] Added amd_hsmp.h locally
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
Change-Id: I28e48913743f86fb5fc9082307ec326830d55960


[ROCm/amdsmi commit: 2c24cab86c]
2024-12-05 17:02:48 -05:00
Maisam Arif f707990d49 Added gpu_metrics table debug logs in monitor
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I8aa96629a65df7a2d52ef9ed42a884732d097a54


[ROCm/amdsmi commit: bc3ac61641]
2024-12-05 15:18:13 -06:00
Joe Narlo 6cfeef5a2c SWDEV-502330 [AMD-SMI][Unified Header] Convert struct to typedef struct
Change struct to a typedef struct

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


[ROCm/amdsmi commit: 547db10384]
2024-12-04 09:14:05 -05:00
Justin Williams 8c9cb42a58 [SWDEV-469278] Removed PyYAML Dependency
Signed-off-by: Justin Williams <Justin.Williams@amd.com>
Change-Id: Idec32cfb0de84cc255b506d7f972e2750992745e


[ROCm/amdsmi commit: 2370aa1b40]
2024-12-03 15:40:44 -05:00
Bindhiya Kanangot Balakrishnan d3a0e9a72e [SWDEV-499030] Fix truncated FRU_ID
The FRU_ID was truncated because the string copied from sysfs
was limited to 32 characters. This limit has been increased to
AMDSMI_MAX_STRING_LENGTH to accommodate longer FRU_IDs. Also
updated the deprecated string length macros.

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Change-Id: I8becaf9f37609b2e5aecdf92b6ae60f4419ad8ef


[ROCm/amdsmi commit: bc77330a74]
2024-12-03 13:43:53 -06:00
Bindhiya Kanangot Balakrishnan bfd480c6ba [SWDEV-498507] Tool amd-smi could be more case insensitive
Modified amdsmi_cli to accept case insensitive arguments if
the argument does not start with a single dash(-).

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Change-Id: I1b6320db0afaad0900d5a2049206002c3899fa71


[ROCm/amdsmi commit: fc7e1ddb4a]
2024-12-02 18:09:45 -05:00
Maisam Arif cc50414c9c [SWDEV-502001] Fix link for amd_hsmp.h
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I402ee539cdd4c896acd7ccc83f3090c3a5eeba12
(cherry picked from commit 835b438186)


[ROCm/amdsmi commit: a4574a7d13]
2024-12-02 17:33:07 -05:00
Maisam Arif 835b438186 [SWDEV-502001] Fix link for amd_hsmp.h
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I402ee539cdd4c896acd7ccc83f3090c3a5eeba12


[ROCm/amdsmi commit: 664ade7354]
2024-12-02 16:30:06 -06:00