drm/amdgpu: handle VCN instances when harvesting (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Aug 2021 15:22:20 +0000 (11:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Aug 2021 14:34:25 +0000 (10:34 -0400)
commit59066d0083d2e0f2daba9cf839011f7154c5e2b2
tree9034bf27cb27270727095eec1db0fc457ae2dae6
parent6940db0fd1bed864de7bd21202e4716455f12204
drm/amdgpu: handle VCN instances when harvesting (v2)

There may be multiple instances and only one is harvested.

v2: fix typo in commit message

Fixes: 83a0b8639185 ("drm/amdgpu: add judgement when add ip blocks (v2)")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1673
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c