ASIC & Board Static Information

ASIC & Board Static Information#

AMD SMI: ASIC & Board Static Information
ASIC & Board Static Information

Functions

amdsmi_status_t amdsmi_get_gpu_asic_info (amdsmi_processor_handle processor_handle, amdsmi_asic_info_t *info)
 Returns the ASIC information for the processor. More...
 
amdsmi_status_t amdsmi_get_gpu_vram_info (amdsmi_processor_handle processor_handle, amdsmi_vram_info_t *info)
 Returns vram info. More...
 
amdsmi_status_t amdsmi_get_power_cap_info (amdsmi_processor_handle processor_handle, uint32_t sensor_ind, amdsmi_power_cap_info_t *info)
 Returns the power caps as currently configured in the system. More...
 
amdsmi_status_t amdsmi_get_pcie_info (amdsmi_processor_handle processor_handle, amdsmi_pcie_info_t *info)
 Returns the PCIe info for the GPU. More...
 
amdsmi_status_t amdsmi_get_fb_layout (amdsmi_processor_handle processor_handle, amdsmi_pf_fb_info_t *info)
 Returns the framebuffer info for the ASIC. More...
 

Detailed Description

Function Documentation

◆ amdsmi_get_gpu_asic_info()

amdsmi_status_t amdsmi_get_gpu_asic_info ( amdsmi_processor_handle  processor_handle,
amdsmi_asic_info_t info 
)

Returns the ASIC information for the processor.

Parameters
[in]processor_handlePF of a processor for which to query
[out]infoReference to static asic information structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_gpu_vram_info()

amdsmi_status_t amdsmi_get_gpu_vram_info ( amdsmi_processor_handle  processor_handle,
amdsmi_vram_info_t info 
)

Returns vram info.

Parameters
[in]processor_handlePF of a processor for which to query
[out]infoReference to vram info structure Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_power_cap_info()

amdsmi_status_t amdsmi_get_power_cap_info ( amdsmi_processor_handle  processor_handle,
uint32_t  sensor_ind,
amdsmi_power_cap_info_t info 
)

Returns the power caps as currently configured in the system.

Parameters
[in]processor_handlePF of a processor for which to query
[in]sensor_inda 0-based sensor index. Normally, this will be 0. If a processor has more than one sensor, it could be greater than 0. Parameter sensor_ind is unused on
Platform:
host.
Parameters
[out]infoReference to power caps information structure. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_pcie_info()

amdsmi_status_t amdsmi_get_pcie_info ( amdsmi_processor_handle  processor_handle,
amdsmi_pcie_info_t info 
)

Returns the PCIe info for the GPU.

Parameters
[in]processor_handlePF of a processor for which to query
[out]infoReference to the PCIe information returned by the library. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail

◆ amdsmi_get_fb_layout()

amdsmi_status_t amdsmi_get_fb_layout ( amdsmi_processor_handle  processor_handle,
amdsmi_pf_fb_info_t info 
)

Returns the framebuffer info for the ASIC.

Parameters
[in]processor_handlePF of a processor for which to query
[out]infoReference to framebuffer info. Must be allocated by user.
Returns
amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail