summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.c
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-04-17 12:14:00 -0400
committerLeo Liu <[email protected]>2017-05-25 11:40:20 -0400
commitc23ffafc509e0240e04cdd4227a51397bef26d66 (patch)
tree304a71b2184a141b784bb98980be8bff789c8a27 /src/amd/common/ac_gpu_info.c
parent34f7cf49c8a8a900c2a9a2e197041e2d211dccd6 (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/common/ac_gpu_info.c')
-rw-r--r--src/amd/common/ac_gpu_info.c2
1 files changed, 1 insertions, 1 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 =