SWDEV-445664 - Aligned metric --clock with Host
Change-Id: Ib4dc372aed61f6301680ac746eccf448e9d0ed00 Signed-off-by: Maisam Arif <maisarif@amd.com>
このコミットが含まれているのは:
@@ -2155,7 +2155,7 @@ Output: Dictionary with fields
|
||||
`indep_throttle_status` | ASIC independent throttle status (see drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h for bit flags) |
|
||||
`current_socket_power` | Current socket power (also known as instant socket power) | W
|
||||
`vcn_activity` | List of VCN encode/decode engine utilization per AID | %
|
||||
`gfxclk_lock_status` | Clock lock status. Each bit corresponds to clock instance. |
|
||||
`gfxclk_lock_status` | Clock lock status. Bits 0:7 correspond to each gfx clock engine instance. Bits 0:5 for APU/AID devices |
|
||||
`xgmi_link_width` | XGMI bus width | lanes
|
||||
`xgmi_link_speed` | XGMI bitrate | GB/s
|
||||
`pcie_bandwidth_acc` | PCIe accumulated bandwidth | GB/s
|
||||
|
||||
@@ -3519,7 +3519,7 @@ def amdsmi_get_gpu_metrics_info(
|
||||
if gpu_metrics_output[metric] == 0xFFFF:
|
||||
gpu_metrics_output[metric] = "N/A"
|
||||
|
||||
uint_32_metrics = ['gfx_activity_acc','mem_activity_acc', 'pcie_nak_sent_count_acc', 'pcie_nak_rcvd_count_acc']
|
||||
uint_32_metrics = ['gfx_activity_acc','mem_activity_acc', 'pcie_nak_sent_count_acc', 'pcie_nak_rcvd_count_acc', 'gfxclk_lock_status']
|
||||
for metric in uint_32_metrics:
|
||||
if gpu_metrics_output[metric] == 0xFFFFFFFF:
|
||||
gpu_metrics_output[metric] = "N/A"
|
||||
@@ -3533,7 +3533,7 @@ def amdsmi_get_gpu_metrics_info(
|
||||
gpu_metrics_output[metric] = "N/A"
|
||||
|
||||
# Custom validation for metrics in a bool format
|
||||
uint_32_bool_metrics = ['throttle_status', 'gfxclk_lock_status']
|
||||
uint_32_bool_metrics = ['throttle_status']
|
||||
for metric in uint_32_bool_metrics:
|
||||
if gpu_metrics_output[metric] == 0xFFFFFFFF:
|
||||
gpu_metrics_output[metric] = "N/A"
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする