aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2020-08-28 11:42:44 -0400
committerAlex Deucher <[email protected]>2020-10-05 15:15:28 -0400
commit8bb3aa1a833f316374d5331005d7d7d2c648c0ac (patch)
treed44ce1ca86d3dbd227245cfe5ece5a5c5348cb37
parent8447675327f8305aeaeebbd9e570303a219bb44d (diff)
drm/amdgpu: IP discovery table is not ready yet for VG
Fallback to legacy path for now. Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c4
1 files changed, 4 insertions, 0 deletions
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) {