커밋 그래프

1131 커밋

작성자 SHA1 메시지 날짜
Bill(Shuzhou) Liu 39f37c5d33 Remove thread safe only mutex warning message
In multiple GPUs environment, too many warning messages generated,
and then need to be removed.

Change-Id: I275de2397eb0e6b189e2e17e94335cb1e8f97815


[ROCm/amdsmi commit: 78ee3f5e5a]
2024-07-18 20:43:57 -05:00
Bill(Shuzhou) Liu a1aec9c971 Support thread only mutex
The environment variable RSMI_MUTEX_THREAD_ONLY=1 to enable thread only mutex.
The RSMI_INIT_FLAG_THRAD_ONLY_MUTEX can also be pass to rsmi_init()
to enable thread only mutex.

Change-Id: I2d9844039b774e386f03bb9bb130d8c342504ea6


[ROCm/amdsmi commit: dbba33d3f5]
2024-07-18 20:43:38 -05:00
Bill(Shuzhou) Liu eb04dbc1c9 Unlock the mutex when process is dead
After the dead process is detected, pthread_mutex_consistent() will
be called. After that, the pthread_mutex_unlock() should also be
called to unlock it: "It is the responsibility of the application to
recover the state so it can be reused."

Change-Id: I45d3e2e68c3b06779f3acb1e908dbec0c6a39297


[ROCm/amdsmi commit: 06b9232a56]
2024-07-18 20:43:21 -05:00
Bill(Shuzhou) Liu 3fc94657d9 Remove const to avoid compile error
Fix the compile error

Change-Id: I422b606b2b969b418c2e77b47a3afad0cfc732a1


[ROCm/amdsmi commit: 33dab0c232]
2024-07-18 18:15:43 -04:00
Maisam Arif df6b8386cf Fix amd-smi event from reading NONE event type
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I7acf91eb682b3f0873ca34a98191eafd3925a344


[ROCm/amdsmi commit: 8f15c22606]
2024-07-18 17:54:08 -04:00
Maisam Arif 244587525a Corrected passthrough platform logic
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ibbc4f5dd6300efd16f26efe17bc68eb8c22ed8be


[ROCm/amdsmi commit: b5f9e6a91d]
2024-07-18 17:54:02 -04:00
Maisam Arif ad3ba88ba5 [SWDEV-474474] - Changed Monitor PCIE_REPLAY count to use gpu_metrics
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I4351a23e8412875bb4b23b30747ac6d0bf3d3c56


[ROCm/amdsmi commit: 5b7be3bf99]
2024-07-18 17:53:49 -04:00
Maisam Arif a7ea536524 [SWDEV-439701] Add missing parameter CLI error cases
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I8a6623ccdd7b16be320ea0f6f48b7b6cb3511983


[ROCm/amdsmi commit: 0fc779b14f]
2024-07-18 14:24:00 -04:00
Maisam Arif 0865293d27 [SWDEV-472641] Set file opening and writing encoding to utf-8
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ic5cdca41b588341f7894de72dfe3d949378f9a61


[ROCm/amdsmi commit: c83bcb7ac9]
2024-07-12 09:46:44 -04:00
Maisam Arif 5d50b79c93 Whitespace
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I8335e617670a471a97bf54886b3221b6222e507f


[ROCm/amdsmi commit: 2388ff7e3c]
2024-07-10 19:22:02 -05:00
Maisam Arif 3a7348925e Bump Version to 24.6.2.0
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ic389b6783514e88c43958ff5d3413a4c4a8a884f


[ROCm/amdsmi commit: 548938389d]
2024-07-10 19:15:17 -05:00
Charis Poag 870be058a7 [SWDEV-455442/SWDEV-464645] Add back voltage curve testing for MI300
Validation requires running tests for MI300 systems, this update
removes the exclusion for these systems.

Change-Id: Idacf3e8bf0bd569f1cfa6192af47993eb5440ee6


[ROCm/amdsmi commit: 7194aaebf3]
2024-07-08 14:24:26 -05:00
Maisam Arif 8462635270 Added dmon alias for 'amd-smi monitor'
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I4a787034bd7ab1a0d08d8cfdd038add5c35cdea4


[ROCm/amdsmi commit: 6e5c4b422a]
2024-07-02 11:05:59 -04:00
Maisam Arif 8c87907db9 Updated error code naming to be inline with Host
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I6c66640742a25361ad6399763ee442598ffb0ac6


[ROCm/amdsmi commit: 27cd092c6d]
2024-06-28 08:58:52 -05:00
Bill(Shuzhou) Liu a29f44019d Make the the devInfoTypesStrings.at(type) exception safe
Wrap it in a function to make it exception safe.

Change-Id: I29835993ae4fe2b7aa1a7027fab88c05ba89e6e3


[ROCm/amdsmi commit: 7a617e6ef2]
2024-06-26 08:33:44 -05:00
Maisam Arif a449323329 SWDEV-457854 - Unified BM error codes
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I5b232de3b598bd3146eb0528f61c628da93278d9


[ROCm/amdsmi commit: a3758f82dc]
2024-06-25 18:33:40 -05:00
Maisam Arif 4d4ccf4bde SWDEV-446724 - Version command human readable output file format fix
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I94de5b03355b503ade307f2a3881acd07266d6c7


[ROCm/amdsmi commit: 943c74b6ef]
2024-06-24 10:35:34 -05:00
Maisam Arif 6cefd4bc36 SWDEV-466302 - Changed blank processes to N/A & Updated Docs
Change-Id: I2d68430dda8036879f58b0f1dea5d2825b441179


[ROCm/amdsmi commit: 413c9ef6fe]
2024-06-24 00:38:17 -04:00
Oliveira, Daniel 45652b301b fix: [SWDEV-466302] [rocm/amd_smi_lib]
Fixes `amdsmi_get_gpu_process_list` now requires sudo to access pid and memory information

Code changes related to the following:
  * amdsmi_get_gpu_process_list()
  * CLI

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


[ROCm/amdsmi commit: a20db864b8]
2024-06-24 00:38:17 -04:00
muthusamy 7793021ac5 amd-smi [CPU]: Added Support to get number of threads per core
Change-Id: I7e6500f3f53068a3483b64a54d78ac9e1d9cd183


[ROCm/amdsmi commit: 057d688b55]
2024-06-21 17:22:55 -04:00
Maisam Arif 3ef31b3ed0 SWDEV-435197 - Add process table to CLI monitor subcommand
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Ibe06f4a4be619ae9cba909c2474b0e482eeb87d5


[ROCm/amdsmi commit: 92f014059e]
2024-06-19 23:36:55 -05:00
Maisam Arif 5a62ef2b7c Bump Version to 24.6.1.0 and Update Changelog
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I88b8ad1341d7f1a2e14517db82979bb6b28575e8


[ROCm/amdsmi commit: a3497702cb]
2024-06-18 23:54:26 -05:00
Bill(Shuzhou) Liu f86ba0a7c4 Change the clean shader API to clean local data
To be align with the unified API.

Change-Id: I2819339fba6f528204cebd3e9605109e82cbc5b4


[ROCm/amdsmi commit: e3c63628e5]
2024-06-17 16:23:33 -05:00
Sam Wu 1323df0c6e [ROCDOC-593] Update Read the Docs documentation requirements
Change-Id: I48350a42a50f0e85d9f074295e27c20b4b66cdb4


[ROCm/amdsmi commit: 94cab382bf]
2024-06-17 16:54:59 -04:00
Bill(Shuzhou) Liu 47300adc0d Add return character when set the PM policy using sysfs
When set PM policy in sysfs, the driver expect a return character.

Change-Id: I83cddb3cdb14c226e6e856776176000eea33b251


[ROCm/amdsmi commit: 4441249ffa]
2024-06-13 11:02:13 -04:00
Dalibor Stanisavljevic a993473e13 Changed type to uint32_t oam_id due to header unification
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>
Change-Id: I351415f4a766ad6aa0c2e81adf8b416d066048ea


[ROCm/amdsmi commit: 80043adb81]
2024-06-13 05:12:55 -04:00
Maisam Arif 807ca0ad89 SWDEV-466598 - Fixed CLI process outputs
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I902e82b6e78311e99542b109435346889daa49fc


[ROCm/amdsmi commit: 9fb2c967de]
2024-06-08 18:31:08 -05:00
Maisam Arif 149cab5bc5 Update Python API README example code
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I5dbb2e3cdab31b41e6f502d3257fe899eed1ee97


[ROCm/amdsmi commit: f9bfb746fb]
2024-06-07 16:20:00 -04:00
Maisam Arif e154b3c89b Removed Throttle Status from CLI Tool
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I8eb8f30f821589003201d6d8bb96592ec5f8a483


[ROCm/amdsmi commit: 37c044696d]
2024-06-07 15:19:48 -05:00
Maisam Arif 15b61aad44 Updated Changelog
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I1b2feca549931fa5f51c80022d6a5be3727d3261


[ROCm/amdsmi commit: 936451e286]
2024-06-06 15:02:20 -05:00
Maisam Arif 99f0468803 Corrected voltage curve cli output in N/A case
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I77e0888d94ba489eb4820cdd6c20e9f7de04241f


[ROCm/amdsmi commit: 2197a393f4]
2024-06-06 15:55:22 -04:00
Galantsev, Dmitrii e6a2a8db60 update_wrapper.sh - Fix grep command
Change-Id: I497fd0d1ac28adc0975b3ab0ea74ce30a9f84f29
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 23614524ac]
2024-06-06 00:17:13 -04:00
Bill(Shuzhou) Liu b517f3c214 Change the name of clear sram to run cleaner shader
The function is to clean the local data in LDS/GPRs. The clear sram
is misleading.

Change-Id: I0385e6d6348602fe0f347d17e48ed8983f7ceb87


[ROCm/amdsmi commit: 4cf59c4edb]
2024-06-05 12:07:39 -05:00
Maisam Arif 5e32624382 Bump Version to 24.6.0.0 and Update Changelog for 6.2.0
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: I7f20094514cbfa32e40a6e4da36785d94839768c


[ROCm/amdsmi commit: 68d8c1ab46]
2024-05-31 03:05:42 -05:00
Maisam Arif 7dfe4276cc Use different sysfs for soc_pstate and xmgi_plpd
The sysfs is changed to use the pm_policy folder with multiple
dpm_policy files.

Change-Id: I40fac8de2d0cb127950d238b8196f6d2416778d0


[ROCm/amdsmi commit: e5d1ba4621]
2024-05-31 01:38:41 -04:00
Maisam Arif 58177acb0b SWDEV-461038 - Enabled Passthrough as BM for CLI Commands
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I1ae6a065f10ce580b45b79c0a8588853f5f304f7


[ROCm/amdsmi commit: 80eeff3dd4]
2024-05-30 15:47:14 -04:00
Maisam Arif d2719fa4f6 Temporary generator.py patch for amdsmi_bdf_t
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I93157127524b87e2e1445dcdc8588e62530bf68c


[ROCm/amdsmi commit: b39b39ef3c]
2024-05-30 15:35:38 -04:00
Dalibor Stanisavljevic 5153032416 SWDEV-457337 - Header aligment
Missing AMDSMI_STATUS prefix

Change-Id: I15d050a146c92f6897d48317d8fec51d046535d1
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>


[ROCm/amdsmi commit: 458dc8f180]
2024-05-30 15:35:38 -04:00
Maisam Arif 8bcf57fd99 Fixed None event being read in AmdSmiEventReader
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2141421a133c867a5c91d7d18b73141513f1868b


[ROCm/amdsmi commit: 3aa62b082a]
2024-05-30 03:28:00 -04:00
Maisam Arif 486db45f90 Moved --clear-sram-data to 'amd-smi reset'
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I46eaf7f887b15d6a8d8a31155bb3e448ef0ec04a


[ROCm/amdsmi commit: 927b9c644b]
2024-05-30 02:26:40 -05:00
Maisam Arif 4a3fb205dc Add Process Isolation and Clear SRAM to VM
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I7776e5b10efb2eea798e3e3d523ec5c01a162dc3


[ROCm/amdsmi commit: 3855fb2939]
2024-05-23 15:33:27 -04:00
Maisam Arif fe41e8f21c Header unificaiton fixes
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I84bb9a8121927980e4306a9db47ae04d7d03d85f


[ROCm/amdsmi commit: 3cf50dff0b]
2024-05-23 14:32:57 -05:00
Dalibor Stanisavljevic cdd24a7b0f SWDEV-457337 - Fix header alignment
Change-Id: I9f25f6c4f0d00c76b66d13162f30be11368f5b59
Signed-off-by: Dalibor Stanisavljevic <Dalibor.Stanisavljevic@amd.com>


[ROCm/amdsmi commit: 7b2463abe0]
2024-05-23 04:41:57 -04:00
Maisam Arif 914f5b2e3f Make product name empty when unable to find pciid
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: If2300bf2deb4fa099db695949bd4c74393dbbbfc


[ROCm/amdsmi commit: 1cee1baac2]
2024-05-21 02:19:19 -04:00
Charis Poag 312034409e SWDEV-462728 Add update-pciids to install + remove subsystem name
Added to install to update-pciids if there is network connection.
Removed subsystem name from outputting under model. Added TODO
to add later on.

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


[ROCm/amdsmi commit: c5da93ab90]
2024-05-20 12:03:31 -05:00
Galantsev, Dmitrii 825b37f367 Azure - Add rocm-ci.yml
Change-Id: I1086884fe70081822a79d0e7a814ceb81813d62c
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: a0bfa0e44e]
2024-05-15 12:53:43 -05:00
Maisam Arif 7480e4e728 Bump Version to 24.5.3.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I0d1ecddd650320287446a06cd8ce680c52a89342


[ROCm/amdsmi commit: 721e3ed3ea]
2024-05-15 04:28:27 -04:00
Roopa Malavally 584e10f58b Amdsmidocs reorg
Change-Id: I836fc341d2a3567f531ba753463e57cd4b9b6495
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: af225a6deb]
2024-05-15 04:26:41 -04:00
Maisam Arif bbcff5221d SWDEV-458102 - Updates to pp_od_clk_voltage parsing
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I650dae1a99856dcde914fe66917cf9111f3ce0e2


[ROCm/amdsmi commit: 7d999aa34c]
2024-05-15 03:18:24 -05:00
Maisam Arif 784fefcd54 Added #defines from amdsmi.h to python interface
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ic1a17d20f9f1f76e55813db8e2fe287279cb231e


[ROCm/amdsmi commit: 8f8d88416f]
2024-05-15 00:54:25 -05:00