summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/radeon')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c
index 75702aafd11..10dca3c6acf 100644
--- a/sys/dev/pci/drm/radeon/radeon_kms.c
+++ b/sys/dev/pci/drm/radeon/radeon_kms.c
@@ -874,7 +874,7 @@ radeondrm_activate_kms(struct device *self, int act)
struct radeon_device *rdev = (struct radeon_device *)self;
int rv = 0;
- if (rdev->ddev == NULL)
+ if (rdev->ddev == NULL || radeon_fatal_error)
return (0);
switch (act) {