drm/amdgpu: Fix harvest reporting of VCN
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 27 Feb 2023 10:37:39 +0000 (16:07 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:56:08 +0000 (09:56 -0400)
commit6a944ccbf5f5059de1a9b3d48971a50cb5857ebf
treeecc79338c5d5025a958a6bf5f8ee773384798d65
parentfd91d38b5275959a5b0804d4b4dbc5a4c0a8aac9
drm/amdgpu: Fix harvest reporting of VCN

Use VCN instance mask to check if an instance is harvested or not.

Signed-off-by: Lijo Lazar <lijo.lazar@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