diff options
Diffstat (limited to 'src/amd/common')
-rw-r--r-- | src/amd/common/ac_gpu_info.c | 2 | ||||
-rw-r--r-- | src/amd/common/ac_gpu_info.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 0b4933e174b..56645c48632 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -241,7 +241,7 @@ bool ac_query_gpu_info(int fd, amdgpu_device_handle dev, info->max_shader_clock = amdinfo->max_engine_clk / 1000; info->max_se = amdinfo->num_shader_engines; info->max_sh_per_se = amdinfo->num_shader_arrays_per_engine; - info->has_uvd = uvd.available_rings != 0; + info->has_hw_decode = uvd.available_rings != 0; info->uvd_fw_version = uvd.available_rings ? uvd_version : 0; info->vce_fw_version = diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h index 3785eb4d164..3f7ade1a0bb 100644 --- a/src/amd/common/ac_gpu_info.h +++ b/src/amd/common/ac_gpu_info.h @@ -55,7 +55,7 @@ struct radeon_info { bool has_dedicated_vram; bool has_virtual_memory; bool gfx_ib_pad_with_type2; - bool has_uvd; + bool has_hw_decode; uint32_t num_sdma_rings; uint32_t num_compute_rings; uint32_t uvd_fw_version; |