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:38:10 +0000 (10:38 -0400)
commit7cbe08a930a132d84b4cf79953b00b074ec7a2a7
tree800262bbfe1ed063212a583a6018506d86a471eb
parent46dd2965bdd1c5a4f6499c73ff32e636fa8f9769
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c