Add revision to --showhw

Code changes related to the following:
  * Added 'rsmi_dev_revision_get()' related code
  * Test code
  * Functional tests

Change-Id: I8c2097c65384a028c8c8437b717d05d52fe45250
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>
이 커밋은 다음에 포함됨:
Oliveira, Daniel
2023-07-17 22:39:08 -05:00
부모 8fe848d10e
커밋 573620f586
11개의 변경된 파일96개의 추가작업 그리고 8개의 파일을 삭제
+15
파일 보기
@@ -1088,6 +1088,21 @@ rsmi_status_t rsmi_num_monitor_devices(uint32_t *num_devices);
*/
rsmi_status_t rsmi_dev_id_get(uint32_t dv_ind, uint16_t *id);
/**
* @brief Get the device revision associated with the device
*
* @details Given a device index @p dv_ind and a pointer to a uint32_t to
* which the revision will be written
*
* @param[in] dv_ind a device index
*
* @param[inout] revision a pointer to uint32_t to which the device revision
* will be written
*
* @retval ::RSMI_STATUS_SUCCESS is returned upon successful call.
*
*/
rsmi_status_t rsmi_dev_revision_get(uint32_t dv_ind, uint16_t *revision);
/**
* @brief Get the SKU for a desired device associated with the device with
+1
파일 보기
@@ -100,6 +100,7 @@ enum DevInfoTypes {
kDevOverDriveLevel,
kDevMemOverDriveLevel,
kDevDevID,
kDevDevRevID,
kDevDevProdName,
kDevDevProdNum,
kDevVendorID,