rmh 2014-02-12 13:55:30 +00:00
parent 11ec5c94e7
commit b7969843d1
2 changed files with 12 additions and 0 deletions

View File

@ -3012,6 +3012,12 @@ int r600_init(struct radeon_device *rdev)
rdev->accel_working = false;
}
/* Don't start up if the ucode is missing. */
if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) {
DRM_ERROR("radeon: ucode required for R600+.\n");
return -EINVAL;
}
return 0;
}

View File

@ -1186,6 +1186,12 @@ int rv770_init(struct radeon_device *rdev)
rdev->accel_working = false;
}
/* Don't start up if the ucode is missing. */
if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) {
DRM_ERROR("radeon: ucode required for R600+.\n");
return -EINVAL;
}
return 0;
}