drm/amdgpu: IP discovery table is not ready yet for VG
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Aug 2020 15:42:44 +0000 (11:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:15:28 +0000 (15:15 -0400)
Fallback to legacy path for now.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index fa72f940ea795d92c1d622aae5f5995b8b7b9dba..6ca5888dcf2fbd6a2d5baabd3cc51973847d17d0 100644 (file)
@@ -449,6 +449,10 @@ static int nv_reg_base_init(struct amdgpu_device *adev)
 {
        int r;
 
+       /* IP discovery table is not available yet */
+       if (adev->asic_type == CHIP_VANGOGH)
+               goto legacy_init;
+
        if (amdgpu_discovery) {
                r = amdgpu_discovery_reg_base_init(adev);
                if (r) {