Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
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
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 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
Sam Wu e8917791e8 Update RTD config to use Python 3.10 and rocm-docs-core 1.1.1
Change-Id: Icfd12dd44e8779dbf95a1f1e9277f9227ff816f6


[ROCm/amdsmi commit: a37b0a3ffe]
2024-05-05 23:59:13 -04:00
Maisam Arif 95642995be Bump Version to 24.5.2.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2f51ed93a356e55156983c56bac293a5d7d3b5c1


[ROCm/amdsmi commit: 051d5a4d42]
2024-05-02 02:53:48 -04:00
Maisam Arif e7814472bf Updated Sphinx to include Changelog
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I858d0579ab0e8ba9f228373b6d31dfd3088703ae


[ROCm/amdsmi commit: e81051a724]
2024-04-23 04:48:42 -05:00
Maisam Arif 552a34f7d5 Bump Version to 24.5.1.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I842e223b78f337a39098f652fa6e7ef51948fbaf


[ROCm/amdsmi commit: 092908daee]
2024-04-05 02:31:08 -05:00
Maisam Arif dc0771d330 Bump Version to 24.5.0.0
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I2509c8c2df54f0c5e9376fc0a21c09adc74f0ea8


[ROCm/amdsmi commit: 9800156a7a]
2024-03-27 01:08:42 -05:00
Maisam Arif b390bbec7a Bump Version to 24.4.0.0 & Corrected argument checks for set subcommand
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I651f8ca652c764f30845503dd869f435f728d5ba


[ROCm/amdsmi commit: 69caba8727]
2024-02-23 20:47:19 -06:00
Maisam Arif aff2fc02c4 24.3.0 Version update
Change-Id: I936c896117ad64d06ea919a8b7bd6ba4cc388592
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: 61f8888488]
2024-02-15 17:21:24 -05:00
Deepak Mewar 57419ff3cc Updated amdsmi header for ESMI doxygen formatting
Referencing htttps://github.com/ROCm/amdsmi/pull/10

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


[ROCm/amdsmi commit: 34ccbb5d1b]
2024-02-14 02:03:05 -06:00
Bill(Shuzhou) Liu 7bcdf63c18 Add @platform doxygen alias
The @platform alias will describe which platform (for example,
gpu_baremetal or/and host) an API can be used.

The get_platform.py is a tool to compare APIs in different platforms.

Change-Id: I902bc4fea048269eace6e9f3f4a8e93f3adb7f87


[ROCm/amdsmi commit: 86d025daaa]
2024-02-07 07:28:38 -05:00
Maisam Arif 7e831b1992 24.2.0 Version update
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ied7c24d63ca38c2e5ea5eca6b411e0156f61a403


[ROCm/amdsmi commit: c400a22d4d]
2024-01-24 11:13:02 -06:00
Maisam Arif 9eef868334 24.1.0 Version update
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ibfe92d199b10dc48ece85dfdeda1041f5ea98626


[ROCm/amdsmi commit: c48c989bbc]
2024-01-24 12:09:48 -05:00
Sam Wu 643042695d SWDEV-425457 - Correct typo in link to ESMI Library README
Change-Id: Ia16ba0175b0cd3d4a38bab71eb0f1281878d81d2


[ROCm/amdsmi commit: 2ef675b9db]
2023-11-10 18:23:53 -05:00
Galantsev, Dmitrii 1128c1f246 DOCS - Fix 'failed to reach any of the inventories'
Change-Id: I7edd1fad17bd0f3e0946a6712410cf6549afc729
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: fc02ebc5f2]
2023-11-03 03:59:48 -04:00
Galantsev, Dmitrii e5d0ba249d Merge rocmsmi/amd-staging into amd-dev 20231103
Change-Id: Ie70ab54a63b25649b6b9d30620c5546dc66cd766
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 513dd8a445]
2023-11-03 02:55:02 -05:00
Maisam Arif 5b6d22b24e SWDEV-425457 - Updated Sphinx docs to include ESMI
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ie7669c9f94703e5c5cdc65314cbf30e8b587d0f1


[ROCm/amdsmi commit: f061aa4be5]
2023-11-02 17:39:56 -04:00
Sam Wu 8dfded3dc4 Update rocm-docs
Change-Id: I30633c9cd29bc58b0c48086d5f493204f3d6ffd8
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 1de63ce506]
2023-10-18 14:09:26 -05:00
Maisam Arif 0bddd17717 Updated READMEs & Versioning for 6.0 Release
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Idadece3c1022ecba4291b96ddbe23112e27394de


[ROCm/amdsmi commit: 5018a57b62]
2023-10-16 16:57:49 -05:00
Maisam Arif d0656df4ca Updated tool & lib versions & README.md
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ic41a36bcfa988ce9c8304157593012752857e919


[ROCm/amdsmi commit: 25b055014d]
2023-09-25 02:02:22 -05:00
Galantsev, Dmitrii 43591c22cf Merge remote-tracking branch 'rocmsmi/amd-staging' into HEAD
Change-Id: I65ed7f3a0d1b6e58bc8377932d7c39db21d1b422


[ROCm/amdsmi commit: 5c41319c83]
2023-09-21 23:43:20 -05:00
Sam Wu baf688b5ec fix toc to point to correct doxysphinx output path
update doc requirements; rocm-docs-core to 0.24.1

Change-Id: I78257d476a8bc47fd1a4ee03aa3db1a430ed116f


[ROCm/amdsmi commit: 7b32ea614b]
2023-09-18 09:07:01 -06:00
Sam Wu f340c5ca5b update documentation requirements and dependabot configuration
Change-Id: I652872286c5975d770abb97513469f4527807d7f


[ROCm/amdsmi commit: 18ef862886]
2023-08-14 13:13:57 -06:00
Maisam Arif 907fcc53a1 Updated READMEs
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Idf34bc431184414a17c3cb50c06543151ce3cb56


[ROCm/amdsmi commit: a13d5be933]
2023-08-01 14:28:33 -04:00
Charis Poag 50a5e05798 Merge branch 'amd-dev' into change-895251-1
Change-Id: I778bda482973b292d6de1b3f266619cbc852c2f5


[ROCm/amdsmi commit: 98c607c8fd]
2023-07-24 17:23:31 -05:00
Sirb, Corina a43c2f1a71 Changed output font and text size
Change-Id: I4f544781dc6be581585737c129b5e986cc05b09f


[ROCm/amdsmi commit: 0fa1d1e068]
2023-07-21 10:57:08 -04:00
Charis Poag 9fbf58a0c9 Merge 'rocm-smi/amd-staging' into 'amd-smi/amd-dev'
Signed-off-by: Charis Poag <Charis.Poag@amd.com>
Change-Id: Id35c9807c45a965c968fb430e3ce4f3c7069c210


[ROCm/amdsmi commit: afa174c655]
2023-07-19 18:46:28 -05:00
Maisam Arif b634f8420b Changed RPM dependencies to suggestions
Change-Id: I3d2918cc1f86733aaee41f86e1619bd22316398b
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>


[ROCm/amdsmi commit: b6d7570bd4]
2023-06-22 11:44:28 -05:00
Maisam Arif 5ecabf2276 CMAKE: Changed dependency to suggestion for centos
Updated pyproject.toml to depend on clang via pip
	Changed python38 dependency to a suggestion for rpm builds
Change-Id: Idf3bd94aafaf715f600dead0a3a9cb95cff29368
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>


[ROCm/amdsmi commit: 0a1e486214]
2023-06-15 00:51:45 -05:00
Sam Wu 602130e212 Sphinx Documentation Setup
Added README links to Python library and CLI tool
Get correct version number from header file
Updated base README with sphinx documentation steps

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


[ROCm/amdsmi commit: 7104b6fe31]
2023-06-07 09:47:37 -05:00
Sam Wu 505a8bc3c4 add configurations for sphinx documentation
Change-Id: I5672348aab0f20d0bfc4dd1efcfecdf4324342d6


[ROCm/amdsmi commit: c5e06b4040]
2023-05-30 16:08:54 -06:00
Sam Wu 7e26f8ada1 sphinx documentation
ref: https://github.com/RadeonOpenCompute/rocm_smi_lib/pull/119

fix formatting in docs/index.md

Change-Id: I940ef8147a40bd3b702aa591bd56557a870621fb


[ROCm/amdsmi commit: ed74bc6eca]
2023-05-11 10:41:45 -04:00
Dalibor Stanisavljevic b48024d883 SWDEV-370223 - Change the name of the header to amdsmi.h
Change dev to device_handle throughout the file
Change the pcie_info pcie_speed field type to uint32_t
Add AMDSMI prefix before amdsmi_mm_ip enum

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


[ROCm/amdsmi commit: b4b761d02f]
2022-12-08 13:34:34 +01:00
Bill(Shuzhou) Liu d944c4e11b Update the document
The README.md is updated for amdsmi

Change-Id: Ic027476d9f6b62e8972793e78db28b12644036ea


[ROCm/amdsmi commit: 93bc47a5c3]
2022-10-20 09:25:02 -05:00
Bill(Shuzhou) Liu d83e3a8b6e Restructure the folder
Move rocm_smi related function to rocm_smi folder. Move amd_smi to
top level include/ and src/ folder. Remove obsolte oam folder.
Change the CMakeLists.txt to update folder locations.

Change-Id: I52e6be739e49f3b0545865f25364787f5985e9c3


[ROCm/amdsmi commit: 0c91ef919d]
2022-10-20 09:23:51 -05:00
Chris Freehill 9e57932639 Refactor rsmi to support oam
Change-Id: Idc524e01ba06eb5c8d1682becaf5bf8ced5bffcf


[ROCm/amdsmi commit: 6594f8f58b]
2020-06-22 18:51:46 -05:00
Chris Freehill b30200cd48 Update XGMI perf counter test to show utilization
Also:
* When destroying a counter, make sure to stop the counter first
* In the test, do not stop (disable) the counter before
  reading it.
* Clean up some whitespace in other tests
* Re-add manual pdf file

Change-Id: I0786ef3a994ca568299c77e44f092af8943ac33d


[ROCm/amdsmi commit: f946ea37ef]
2020-06-10 12:49:49 -04:00
Chris Freehill 0394347ef5 Update README doc. build instructions
* Also, remove dependency of manual pdf on the README
file; they are independent of each other.

Change-Id: I1ab8c8c9adf6b78e5b4aab86ecdf4c46f3a6bf63


[ROCm/amdsmi commit: bdf22c1c9e]
2020-05-21 09:10:08 -04:00
Chris Freehill b1c550f82d Add RSMI ref manual to packages
Also,
* remove extraneous test files
* fix Doxygen docs. issues
* fix whitespace issues

Change-Id: I9b58b0d68bd125a34f4fe0dc84d609c7b0b6e30e


[ROCm/amdsmi commit: 8ced9c986a]
2020-05-18 23:40:38 -04:00
Chris Freehill b816c4a68b Fix README example error
Change-Id: Ib0124642cea34dcbfae0ea3bbe8ffaf09116bede


[ROCm/amdsmi commit: f8d623cb44]
2020-05-15 12:09:05 -04:00
Chris Freehill 735b0aec7d Documentation update
Change-Id: I646cf3d2fd6064295937f7e727076532894d3514


[ROCm/amdsmi commit: 7abe6dc1b2]
2020-03-27 14:08:19 -05:00
Chris Freehill 07c74cbe38 Correct rsmitst build instructions
Change-Id: Ia7dbdd7a489d235c6003badb79f2d0808e18143b


[ROCm/amdsmi commit: a482394263]
2020-03-02 16:29:10 -05:00
Chris Freehill 4c34034ec9 Use default value for version when git tags not present
Also, documentation typo correction.

Change-Id: I7fe4de05d3b8fb808a980862a09a9be32ed32bf5


[ROCm/amdsmi commit: fe4f7ed4a1]
2019-12-19 08:32:38 -06:00
Chris Freehill 5c62352033 Correct README Markdown formatting
Change-Id: Id63618fc7fa7fa7cdc68bcd451cbe89ef2c04469


[ROCm/amdsmi commit: ee13e85265]
2019-10-17 08:38:50 -05:00
Chris Freehill cae8ad4321 Support checking for specific device-getter api support
For device-getter functions, allow users to specify a nullptr
for the provided buffer. In those cases, the function will return
RSMI_STATUS_NOT_SUPPORTED if the hardware or system software does
not support the function. If the function is supported, then
RSMI_STATUS_INVALID_ARGS will be returned, unless a different
error is encountered.

Additionally, tests and documentation were updated to reflect
this change.

Change-Id: Ie7db3a4c8c66af97ebd7ee1e3b95cd331ace9d9c


[ROCm/amdsmi commit: 68d25e82fd]
2019-10-05 15:55:18 -05:00
Chris Freehill 948b82ed1a Add functions that tell what capabilities are supported
The new functions added in this commit allow a caller to tell up
front what functions, function variants and monitors are
supported.

Also,
* fixed a few documentation/formatting issues
* fixed a process_info test issue

Change-Id: I2184ab1a4a6898f847e791f273e2185d556e78e9


[ROCm/amdsmi commit: 551b15182b]
2019-09-23 13:30:47 -05:00