mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
ac/gpu_info: fix printing radeon_info after adding VPE
Fixes: 3ec397819e - amd: add new hardware ip for vpe
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26307>
This commit is contained in:
parent
11fcd58957
commit
2f281b39ab
1 changed files with 2 additions and 1 deletions
|
|
@ -1701,7 +1701,7 @@ void ac_print_gpu_info(const struct radeon_info *info, FILE *f)
|
|||
fprintf(f, " pcie_bandwidth = %1.1f GB/s\n", info->pcie_bandwidth_mbps / 1024.0);
|
||||
fprintf(f, " clock_crystal_freq = %i KHz\n", info->clock_crystal_freq);
|
||||
|
||||
const char *ip_string[] = {
|
||||
const char *ip_string[AMD_NUM_IP_TYPES] = {
|
||||
[AMD_IP_GFX] = "GFX",
|
||||
[AMD_IP_COMPUTE] = "COMP",
|
||||
[AMD_IP_SDMA] = "SDMA",
|
||||
|
|
@ -1711,6 +1711,7 @@ void ac_print_gpu_info(const struct radeon_info *info, FILE *f)
|
|||
[AMD_IP_VCN_DEC] = "VCN_DEC",
|
||||
[AMD_IP_VCN_ENC] = (info->vcn_ip_version >= VCN_4_0_0) ? "VCN" : "VCN_ENC",
|
||||
[AMD_IP_VCN_JPEG] = "VCN_JPG",
|
||||
[AMD_IP_VPE] = "VPE",
|
||||
};
|
||||
|
||||
for (unsigned i = 0; i < AMD_NUM_IP_TYPES; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue