Commit 63352b7f authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu: Use IP discovery to drive setting IP blocks by default

Drive the asic setup from the IP discovery table rather than
hardcoded settings based on asic type.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5db9d065
......@@ -2164,8 +2164,10 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)
return r;
break;
default:
/* FIXME: not supported yet */
return -EINVAL;
r = amdgpu_discovery_set_ip_blocks(adev);
if (r)
return r;
break;
}
amdgpu_amdkfd_device_probe(adev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment