Revert "amd/common: set vcn dec as hw decode as well"

This reverts commit 50d322be2f.

A previous patch breaks amdgpu on non-vcn decode systems,
but have to revert this first.
This commit is contained in:
Dave Airlie 2017-05-26 16:34:51 +10:00
parent 1dc1860602
commit ae1f32915b

View file

@ -248,8 +248,6 @@ bool ac_query_gpu_info(int fd, amdgpu_device_handle dev,
info->max_se = amdinfo->num_shader_engines;
info->max_sh_per_se = amdinfo->num_shader_arrays_per_engine;
info->has_hw_decode = uvd.available_rings != 0;
info->has_hw_decode =
(uvd.available_rings != 0) || (vcn_dec.available_rings != 0);
info->uvd_fw_version =
uvd.available_rings ? uvd_version : 0;
info->vce_fw_version =