drm/amdgpu/sriov : Add sriov detection for sienna_cichlid
authorshaoyunl <shaoyun.liu@amd.com>
Mon, 27 Apr 2020 15:53:00 +0000 (11:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:13 +0000 (01:59 -0400)
This is a regression due to the rebase , add sienna_cichlid sriov detection back

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c

index f3b38c9e04ca09d86db6c6a514c4508a18c73308..bab9286021a7a4a15dad19909478ef15f929671c 100644 (file)
@@ -321,6 +321,7 @@ void amdgpu_detect_virtualization(struct amdgpu_device *adev)
        case CHIP_VEGA20:
        case CHIP_NAVI10:
        case CHIP_NAVI12:
+       case CHIP_SIENNA_CICHLID:
        case CHIP_ARCTURUS:
                reg = RREG32(mmRCC_IOV_FUNC_IDENTIFIER);
                break;