diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-18 14:35:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-18 14:35:21 +0000 |
commit | 33c4b41a8393394ada80807e90d16aa355ec9286 (patch) | |
tree | 3809650e69aebb5f60175e2361fddf1c7ddd9175 /sys | |
parent | 5ab69dd0535deb5307a201b5f1eb2d4167f54183 (diff) |
the radeon suspend routine looks hairy, and feels like it should run
under DVACT_QUIESCE. And yes, it works, so let's go with that.
ok mlarkin jsg
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/radeon/radeon_kms.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index a60d2ad5b94..8f81216616d 100644 --- a/sys/dev/pci/drm/radeon/radeon_kms.c +++ b/sys/dev/pci/drm/radeon/radeon_kms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radeon_kms.c,v 1.6 2013/10/18 12:34:52 deraadt Exp $ */ +/* $OpenBSD: radeon_kms.c,v 1.7 2013/10/18 14:35:20 deraadt Exp $ */ /* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. @@ -712,9 +712,11 @@ radeondrm_activate_kms(struct device *arg, int act) struct radeon_device *rdev = (struct radeon_device *)arg; switch (act) { - case DVACT_SUSPEND: + case DVACT_QUIESCE: radeon_suspend_kms(rdev->ddev); break; + case DVACT_SUSPEND: + break; case DVACT_RESUME: radeon_resume_kms(rdev->ddev); break; |