[SWDEV-482949] Add CPU model name querying support (#33)

- Add support to check CPU vendor info which will be called by RDC to
discovery CPU information
- Move esmi headers declaration to impl/amd_smi_common.h
- remove duplicated amdsmi_cpu_util_t

---------

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Deepak Mewar <deepak.mewar@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: Deepak Mewar <deepak.mewar@amd.com>
Este commit está contenido en:
Yuan, Perry
2025-03-29 10:21:39 +08:00
cometido por GitHub
padre 13c222a103
commit 68e44c7f66
Se han modificado 10 ficheros con 244 adiciones y 21 borrados
+20
Ver fichero
@@ -5127,6 +5127,26 @@ except AmdSmiException as e:
print(e)
```
### amdsmi_get_cpu_model_name
Description: Get cpu model name.
Output: cpu model name
Exceptions that can be thrown by `amdsmi_get_cpu_model_name` function:
* `AmdSmiLibraryException`
Example:
```python
try:
cpu_model_name = amdsmi_get_cpu_model_name()
print(cpu_model_name)
except AmdSmiException as e:
print(e)
```
## No amdsmi_init APIs
### amdsmi_get_lib_version