/*
* Check whether seamless boot is supported.
*
- * So far we only support seamless boot on select ASICs.
- * If everything goes well, we may consider expanding
- * seamless boot to other ASICs.
+ * So far we only support seamless boot on DCE 3.0 or later.
+ * If users report that it works on older ASICS as well, we may
+ * loosen this.
*/
bool amdgpu_device_seamless_boot_supported(struct amdgpu_device *adev)
{
if (adev->mman.keep_stolen_vga_memory)
return false;
- switch (adev->ip_versions[DCE_HWIP][0]) {
- case IP_VERSION(3, 0, 1):
- return true;
- default:
- break;
- }
-
- return false;
+ return adev->ip_versions[DCE_HWIP][0] >= IP_VERSION(3, 0, 0);
}
/*