diff options
author | Leo Liu <[email protected]> | 2017-04-17 12:14:00 -0400 |
---|---|---|
committer | Leo Liu <[email protected]> | 2017-05-25 11:40:20 -0400 |
commit | c23ffafc509e0240e04cdd4227a51397bef26d66 (patch) | |
tree | 304a71b2184a141b784bb98980be8bff789c8a27 /src/amd | |
parent | 34f7cf49c8a8a900c2a9a2e197041e2d211dccd6 (diff) |
radeon: rename has_uvd info to has_hw_decode
Signed-off-by: Leo Liu <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/amd')
-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; |