From: Christian König Date: Wed, 27 Aug 2014 13:21:53 +0000 (+0200) Subject: drm/radeon: wake up all fences on manual reset X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f0d970b4fd05cb7af89307bb17689c18c835d739;p=openwrt%2Fstaging%2Fblogic.git drm/radeon: wake up all fences on manual reset Wake up all fences when we manually trigger a reset. Signed-off-by: Christian König Reviewed-by: Maarten Lankhorst Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/radeon/radeon_fence.c b/drivers/gpu/drm/radeon/radeon_fence.c index 913787085dfa..5bd837afb939 100644 --- a/drivers/gpu/drm/radeon/radeon_fence.c +++ b/drivers/gpu/drm/radeon/radeon_fence.c @@ -833,6 +833,7 @@ static int radeon_debugfs_gpu_reset(struct seq_file *m, void *data) down_read(&rdev->exclusive_lock); seq_printf(m, "%d\n", rdev->needs_reset); rdev->needs_reset = true; + wake_up_all(&rdev->fence_queue); up_read(&rdev->exclusive_lock); return 0;