Abort when firmware isn't present in R600+ models.
More details at: http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux/debian/patches/bugfix/all/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch?revision=20909&view=co Reviewed by: dumbbell MFC after: 1 week
This commit is contained in:
parent
ca001f0b39
commit
4139f4a0c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261497
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user