From 8bb3aa1a833f316374d5331005d7d7d2c648c0ac Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 28 Aug 2020 11:42:44 -0400 Subject: [PATCH] drm/amdgpu: IP discovery table is not ready yet for VG Fallback to legacy path for now. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/nv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index fa72f940ea79..6ca5888dcf2f 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -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) { -- 2.34.1