Skip to content

Commit 6638391

Browse files
Peng Ju Zhoualexdeucher
authored andcommitted
drm/amdgpu: Enable second VCN for certain Navy Flounder.
Certain Navy Flounder cards have 2 VCNs, enable it. Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 63ad537 commit 6638391

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,8 @@ void amdgpu_discovery_harvest_ip(struct amdgpu_device *adev)
550550
}
551551
/* some IP discovery tables on Navy Flounder don't have this set correctly */
552552
if ((adev->ip_versions[UVD_HWIP][1] == IP_VERSION(3, 0, 1)) &&
553-
(adev->ip_versions[GC_HWIP][0] == IP_VERSION(10, 3, 2)))
553+
(adev->ip_versions[GC_HWIP][0] == IP_VERSION(10, 3, 2)) &&
554+
(adev->pdev->revision != 0xFF))
554555
adev->vcn.harvest_config |= AMDGPU_VCN_HARVEST_VCN1;
555556
if (vcn_harvest_count == adev->vcn.num_vcn_inst) {
556557
adev->harvest_ip_mask |= AMD_HARVEST_IP_VCN_MASK;

0 commit comments

Comments
 (0)