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>
이 커밋은 다음에 포함됨:
Charis Poag 작성하고 Maisam Arif가 2024-05-20 12:03:31 -05:00를 커밋함
1 부모 a0bfa0e44e
커밋 c5da93ab90
3 파일이 변경됨
+11 -14

검색과 일치하는 파일 없음

+1 -14
파일 보기
@@ -424,19 +424,6 @@ amdsmi_status_t amdsmi_get_gpu_board_info(amdsmi_processor_handle processor_hand
<< "\n; info->product_name: |" << board_info->product_name << "|";
LOG_INFO(ss);
// Correct any missing details
if (board_info->model_number[0] == '\0') {
status = rsmi_wrapper(rsmi_dev_name_get, processor_handle, board_info->model_number,
AMDSMI_256_LENGTH);
if (status != AMDSMI_STATUS_SUCCESS) {
memset(board_info->model_number, 0,
AMDSMI_256_LENGTH * sizeof(board_info->model_number[0]));
}
ss << __PRETTY_FUNCTION__ << " | [rsmi_correction] board_info->model_number= |"
<< board_info->model_number << "|";
LOG_INFO(ss);
}
if (board_info->product_serial[0] == '\0') {
status = rsmi_wrapper(rsmi_dev_serial_number_get, processor_handle,
board_info->product_serial, AMDSMI_NORMAL_STRING_LENGTH);
@@ -450,7 +437,7 @@ amdsmi_status_t amdsmi_get_gpu_board_info(amdsmi_processor_handle processor_hand
}
if (board_info->product_name[0] == '\0') {
status = rsmi_wrapper(rsmi_dev_subsystem_name_get,
status = rsmi_wrapper(rsmi_dev_name_get,
processor_handle, board_info->product_name,
AMDSMI_256_LENGTH);
if (status != AMDSMI_STATUS_SUCCESS) {