mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
ac/gpu: drop duplicated code line.
has_hw_decode is assigned twice. Pointed out by coverity. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
9cce302951
commit
95c0591087
1 changed files with 0 additions and 1 deletions
|
|
@ -249,7 +249,6 @@ 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_hw_decode = uvd.available_rings != 0;
|
||||
info->has_hw_decode =
|
||||
(uvd.available_rings != 0) || (vcn_dec.available_rings != 0);
|
||||
info->uvd_fw_version =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue