>From a13af3d0bff9e093160da63f22c6b44e436aa570 Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Fri, 4 Nov 2011 13:41:37 -0400 Subject: [PATCH] drm/radeon/kms: make sure GPU is idle and working at end of resume This might hide some GPU lockup issue deadlock on resume. Signed-off-by: Jerome Glisse --- 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