[PATCH] drm/radeon/kms: make sure GPU is idle and working at end of resume
Jerome Glisse
jglisse at redhat.com
Fri Nov 4 10:41:37 PDT 2011
This might hide some GPU lockup issue deadlock on resume.
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
---
drivers/gpu/drm/radeon/radeon_device.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index c33bc91..1158e55 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -947,6 +947,7 @@ int radeon_resume_kms(struct drm_device *dev)
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);
}
+ radeon_fence_wait_last(rdev);
return 0;
}
--
1.7.6.4
--X1bOJ3K7DJ5YkBrT--
More information about the dri-devel
mailing list