]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn3.0: handle harvesting in firmware setup
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 15:08:05 +0000 (11:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Oct 2021 03:38:41 +0000 (23:38 -0400)
commit3db040bf06f02b6fd6da9ffe794af78a35999b52
tree32e26fa46d69d45d0ff8e74cdc7209fc9659df1b
parentaf948bcd4255e371e9de4d518a2905ed2641816e
drm/amdgpu/vcn3.0: handle harvesting in firmware setup

Only enable firmware for the instance that is enabled.

v2: use AMDGPU_UCODE_ID_VCN + i

Fixes: d680b2aa2d9bdb ("drm/amdgpu/vcn: remove manual instance setting")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1743
Reviewed-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c