]> www.infradead.org Git - users/jedix/linux-maple.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)
commite8ac9e93b492e281e6051aac65024b580017f850
tree32e26fa46d69d45d0ff8e74cdc7209fc9659df1b
parent33c6bd989d5e483b6197f5b6a53c81f8a8f6a215
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: 1b592d00b4ac83 ("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